Prometheus Grafana dashboard for Kubernetes monitoring - Part 2
Vložit
- čas přidán 15. 06. 2024
- ▬▬▬▬▬▬ ⭐️ Instruction's Guides ⭐️ ▬▬▬▬▬▬
How to setup Prometheus, Grafana dashboard for Kubernetes monitoring on AWS? - jhooq.com/prometheous-k8s-aws...
Prometheus and Grafana are the two popular open-source tools for collecting and visualizing performance metrics. In this blog post, we are going to set up the Kubernetes cluster on AWS, later we are gonna set up the Prometheus server for collecting the performance metrics and Grafana.
Prometheus and Grafana are always a great combination when it comes to measuring the site reliability index. SREs (Software Reliability Engineers) heavily rely on Prometheus and Grafana because apart from collecting performance metrics, you can also set up some alerts, live views, and custom dashboards.
At the end of the session, you will have the Kubernetes cluster running on AWS and Prometheus, a Grafana dashboard for monitoring the Kubernetes cluster. Here are the key points that we will touch upon -
1. Install AWS CLI and eksctl
2. Setup AWS Credentials
3. Install kubectl
4. Install Helm chart
5. Create Kubernetes cluster in AWS using eksctl
6. Install Kubernetes Metrics Server
7. Install Prometheus
8. Install grafana
9. Import Grafana dashboard from Grafana Labs
10. Deploy a spring boot microservice and monitor it on Grafana
▬▬▬▬▬▬ ⭐️ 🕘Timestamps ⭐️ ▬▬▬▬▬▬
0:52 Install AWS CLI, eksctl and Setup AWS Credentials
8:06 Install kubectl
9:12 Install Helm chart
10:27 Create Kubernetes cluster in AWS using eksctl
15:40 Install Kubernetes Metrics Server
17:54 Install Prometheus
23:09 install grafana
29:42 Import Grafana dashboard from Grafana Labs
33:05 Deploy a spring boot microservice and monitor it on Grafana
To learn more on DevOps visit - jhooq.com/
For more official documentation refer to - grafana.com/docs/grafana-clou...
Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.
Video is copyrighted and can not be re-distributed on any platform.
#prometheus #grafana #kubernetes #cloud #devops - Věda a technologie
Have not found anywhere else such a clear explanation. Awesome video.
Glad it was helpful!
Promotheous and graphana setup very well explained. Thanks for creating video on this.
Great Job, Rahul, keep up the great work.
Very detailed and kudos to all the efforts you put in documentation and the video.Thanks a ton!!
You are welcome
Really this channel is the best channel because no words for you....🙏🙏🙏🙏
Thank you so much 😀
Rahul always on point with his presentation👌.
Glad you liked it
very nicely explained ..big fan of the way ur explainng n enlightnening us..thank you
Cheers keep following for more topics in future
Very nicely explained..... 🙏
Thanks sir...
Glad you liked it
oscar level explanation keep going.
Subscribed!!! You are awesome!
Glad yo liked it
It's great to learn with you bro
It’s my pleasure
Very useful. Thank you very much 👏
Glad it was helpful!
you all vedeos are awesome brother!!!!!!!!!!!!!!!!1
Thank you so much 😀
Subscribed
No doubt, content is really good.
you welcome
Great video, very detailed and straight to the point. Appreciate that so much. wanted to know if you can make videos of real world troubleshooting errors. What problems have you encountered using any of the DevOps tools and how you solved it.
You welcome
Very nice explanation.
Glad you liked it
Thankyou sir . Amazing video
Hi Rahul,
Very good Video.
But I have a personal question. In my current Environment we have 45 Pods running on AWS-EKS cluster.
We want to create to 45 Dashboards for all our PODS is this possible ? Can we monitor Pods individually using grafana and Prometheus.
Very well explained, I have seen both of your videos, one thing I don't understand so you will be running two instance of prometheus in your company, one is for linux hosts and another is for Kubernetes, can't we manage one prometheus application where we can see infra stats as wells as container stats?
Hi Rahul, thanks for your videos !!
a small request, i could see this video is specific to one data center. can you please make a video on multi-data center ?
coz I am looking at information regarding how to access a single grafana url to access the metrics for all the 3 DC's. i am not finding that information which is easily explained
I have question: what happens when we use two Prometheus application/server at different port or ip but uses same metric or target end point where it needs to scrape metrics. Will it able to scrape data as usual or will there be metrics missing or unusuality while scrapping data because of two Prometheus with same scrapping interval or different interval
Hi Raghu, can you make a video on alert manager?which was missing in content
Nice content Rahul. Out of conext question, which monitor you are using, I can see from the video , it is ultrawide. If yes, how convinent it is for devops work?
Yeah it is Samsung 34” monitor. It’s really good for devops workflow
Thanks for the video. But why there is no data for Memory, Cpu usage.. I also tried this same dashboard .. It says N/A. Also Is there any dashboard available to view namespace cpu and memory usage ?
Can we scape prometheus metrics from 2 different AKS clusters into 3rd AKS cluster?? If yes, do we need thanos in each cluster or we need thanos only in 3rd cluster where all the metrices will be collected? Do we need to install full-fledged prometheus in each cluster or operator will work?
Any reference document will be very helpful. Thanks for your help.
hi @Rahul wagh, nice session and have small doubt. Can we customize the dashboard on our own?
Yes you can even design your own dashboard also
Great video sir. Please show us alert manager also
Sure
Hello Rahul, Getting this error on my Primetheus-alertmanater-0 and prometheus-server pods
running PreBind plugin "VolumeBinding": binding volumes: provisioning failed for PVC "storage-prometheus-alertmanager-0"
can you help whats the exact issue and how to fix
Sir, i have a question that is when i apply this : kubectl get service -n grafana ; EXTERNAL IP does not show, so that i can access grafana
Hey bro, in terraform there is a concept called templatefile. If it's possible make a video on that.
can u also make a video on multi-cluster (2 datasource and one data aggregator) monitoring with grafana, prometheus and thanos?
How we can integrate prometheus & grafana to monitor a java application? Please do make a video on that. Thanks for the excellent video.
Well integrating prometheus and grafana with java application can not be explained into the comment sections. Probably it will need a whole session. So may be in future i will prepare something around it
Hi Rahul, Very nice videos and explanation , Can you please do some videos on istio service mesh , Why do we need this in kubernetes ?
I will add it to my list
Hi Rahul,
I imported my datasources and dashboard succesfully but on the dashboard, all components shown N/A, and nothing seems, how can i solve this, thanks.
Hi rahul,
While setting up Prometheus after giving get all -n prometheus still I'm getting error pod/prometheus-server 0/2 .. Status is pending. Can you help me how to overcome with that?
for the people having the problems with pods not starts check what kubernetes version you are running in the guide he is using version 1.22 i had 1.26 and that did not work after using the commands from the guide where the 1.22 version is defined it then would start the pods
nice explanation, can u make video on helm basics
Here is complete Helm Chart playlist which is already there on my channel - czcams.com/play/PL7iMyoQPMtANm_35XWjkNzDCcsw9vy01b.html
@@RahulWagh thank you for your videos, can you please make videos on Python+AWS sdk?
Hi Rahul Bhai, We need Grafana 9 version full a-z tutorial alerting and so on ..Let us know when you are sharing us the full lessons on this. No one is focused on the latest version series. Please do the needful and help the poor people who really need to learn
Hi I will add your suggestions to my todo list and hopefully will prepare something around it in future
hey rahul can make video on datadog and opentementory for k8s monitoring!
I will add it to my list of todo hope full i will prepare something when i have more time
❤❤❤❤❤❤
You are welcome
How we can integrate prometheus & grafana to monitor virtual server on citrix? thanks
Well it’s going to be really long topic to present everything may be in future i cam prepare something around this
@@RahulWagh hope soon😂😂
Will this live video be saved?
Yes the video will be there on my channel after the live session as well so that you can view it later