Setup Prometheus Monitoring on Kubernetes using Helm and Prometheus Operator | Part 1

preview_player
Показать описание

Learn how to setup Prometheus Monitoring and Grafana on Kubernetes cluster using Helm chart for Prometheus Operator

NOTE: Prometheus Operator shown in video is Deprecated. See the git repo for new operator installation and other relevant commands:

Demo Part 1: Setup Prometheus Monitoring with Helm chart for Prometheus Operator (this video)

In the demo I show you the third way. We will easily deploy Prometheus and Grafana using Helm chart for Prometheus Operator and I walk you through the different components, which were created. So that you have a good understanding 💡 of what they are and what they do.

Used versions in the demo:
► helm version: v3.2.1
► prometheus-operator: v0.38.1

In general there are 3 ways to do the setup:
1. Create all the configuration files yourself 👩🏻‍💻
This way is pretty inefficient and it's a lot of effort.
2. Using a Kubernetes Operator 😎
In this option you would go and find an operator for Prometheus and deploy it in the cluster using the configuration files of the operator. It is more efficient.
3. Using Helm chart to deploy the Prometheus Operator 🚀
This is the most efficient way. Prometheus Operator has a Helm chart that is maintained by the Helm community. You can use this Helm chart to deploy the operator.
So, Helm will do the initial setup. Operator will then manage the running Prometheus setup

#prometheusmonitoring #kubernetes #devops #techworldwithnana

▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro
0:05 - Recap Prometheus architecture
0:52 - How to deploy all the parts into K8s cluster - 3 options
3:10 - Setup with Prometheus Operator using Helm
4:10 - Understand what components were created and what they do?
10:00 - What's inside Prometheus Operator?
19:13 - Access Grafana UI
23:30 - Access Prometheus UI
24:52 - Summarize

▬▬▬▬▬▬ Useful Links 🔗 ▬▬▬▬▬▬

▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬

▬▬▬▬▬▬ Courses & Bootcamp & Ebooks 🚀 ▬▬▬▬▬▬

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Рекомендации по теме
Комментарии
Автор


Used versions in the demo:
► helm version: v3.2.1
► prometheus-operator: v0.38.1


▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro
0:05 - Recap Prometheus architecture
0:52 - How to deploy all the parts into K8s cluster - 3 options
3:10 - Setup with Prometheus Operator using Helm
4:10 - Understand what components were created and what they do?
10:00 - What's inside Prometheus, Operator?
19:13 - Access Grafana UI
23:30 - Access Prometheus UI
24:52 - Summarize

TechWorldwithNana
Автор

The most thoughtful, in-depth yet concise explanation of how Prometheus is! Great work!

vitusyu
Автор

What an amazing video; I especially love the parts where you go beyond just installing like showing what the pods created are actually used for.

Kudos also for the time spent in showing the different Grafana dashboards automatically created!

purDvotion
Автор

I have been working on making a monitoring service by myself for Kubernetes worker nodes using Kafka and other setups (which I will suggest for the new learners that don't go on that route). Then one of my friends recommended me to get out of the exhausting approach and go for Prometheus setup with some visualizing tool Grafana, etc. for monitoring service purpose. After a week of searching, I always got the lengthy and exhausting tutorials of creating all lengthy configuration files by yourself which Nana is 100% absolutely right for if you miss one step, it can potentially lose your very precious time. This second method is intuitively very good. I will definitely try it out. Looking forward to good results

shahzeb
Автор

Thanks for the help Nana - you are a great teacher!

BTW, here's the current helm command: helm install p1
On WSL2 use: helm install p1 --set

NR-btyz
Автор

Amazingly clear for operator and Prometheus deployment in minikube
Question:
* why the port-forward is done in deployment for grafana, while it is on pod for prometheus ui
Comments:
* it will be good to state the version u demoed like helm/3.2.4, prometheus-operator/9.1.0, so users can repeat your exercise with the same version when needed
* copy/paste command, it will be good to have related blog (even just git repo) with your each video, so we can copy paste for some commands.
Well done! i like your series, short and clear introduction with demos

larrycaiyu
Автор

20:00 you can also create a port-forward for a service, not only a deployment or pod ... i prefer services because its unlikely the service name changes and so its more likely to still works when you reuse the command from your history

ReneHoffmann
Автор

Dear Nana, please make tutorial, how to setup Istio in Kubernetes, and how all that works. Your tutorials are super clear and professional. Thank you 🙏🏼

polmaksim
Автор

Nana, really learning a lot with these videos related to k8s. Please consider adding tutorials on istio and spinnaker.

abdulhaqq
Автор

love you thank you for keeping your videos up to date! The fact you added new GitHub repo to a non-depricated version amazes me you saved me enough time to leave you a positive comment. Thanks again!

Jam-htky
Автор

Really appreciate your effort (Y). Just saw this one and the theoretical one and they are great and very helpful. Keep the great work (Y)

Haithamn
Автор

One of the best K8S channel tutorials keep it up

abdellatifjerdaoui
Автор

Finally my 20% project is completed. Please make video specific to grafana and how to write it's ini file like configuring SMTP etc

ankitagarwal
Автор

As always, terrific video! Thank you so much for doing what you do! FYI: The helm chart was renamed and the links have changed.


reddog
Автор

How amazing you are. Everything was clear. I understood the concept. We are lucky you are sharing your knowledge

Alex-rhyt
Автор

Nana, fantastic. The way you are explaining each concept is very much impressive. I am not finding words. Of all I like the way you pronounce each word and how you use your words in explaining these technology. I am a big fan. Thank you so much!

TheCkalyanaraman
Автор

Been waiting for this. Thank you very much. Love from ph

sakaiamlap
Автор

Awesome video, super informative. But, just wanted to point out you spelled initiale wrong at 3:08. Do not mean to nit pick. Just though you might want to know... But probably the best Helm/K8s video I have seen yet. Keep the awesome work coming!

gregphares
Автор

This is a great channel for all Devops content. Kudos for the effort in creating such an amazing content.

nerdydarkknight
Автор

This is very useful information to understand how to setup Prometheus /Grafana with Kubernetes. Thank you Nana for wonderful videos on your channel.

aireddy