How to Monitor Kubernetes Cluster using Prometheus | setup Prometheus and Grafana on EKS using Helm

  Рет қаралды 20,137

DevOps Coach

DevOps Coach

Күн бұрын

www.coachdevops.com/2022/05/h...
What is Prometheus?
Prometheus is an open source monitoring tool
Provides out-of-the-box monitoring capabilities for the Kubernetes container orchestration platform. It can monitor servers and databases as well.
Collects and stores metrics as time-series data, recording information with a timestamp
It is based on pull and collects metrics from targets by scraping metrics HTTP endpoints.
What is Grafana?
Grafana is an open source visualization and analytics software.
Key components:
1. Prometheus server - Processes and stores metrics data
2. Alert Manager - Sends alerts to any systems/channels
3. Grafana - Visualize scraped data in UI
Installation Method
The are are many ways you can setup Prometheus and Grafana. You can install in following ways:
1. Create all configuration files of both Prometheus and Grafana and execute them in right order.
2. Prometheus Operator - to simplify and automate the configuration and management of the Prometheus monitoring stack running on a Kubernetes cluster
3. Helm chart (Recommended) - Using helm to install Prometheus Operator including Grafana
Why to use Helm?
Helm is a package manager for Kubernetes. Helm simplifies the installation of all components in one command. Install using Helm is recommended as you will not be missing any configuration steps and very efficient.

Пікірлер: 64
@krishnaprasad5503
@krishnaprasad5503 Жыл бұрын
No time waste, Very good explanation.
@DevOpsCoach
@DevOpsCoach Жыл бұрын
thank you Krishna
@kaokakelvin6202
@kaokakelvin6202 Жыл бұрын
just an addition, to get the namespace to be saved in the current context config, use 'aws eks --region update-kubeconfig --name ' , that way you wont have to add it everytime you run a command
@bharath4195
@bharath4195 Жыл бұрын
the best video ever on monitoring tutorial, thank you 😊
@DevOpsCoach
@DevOpsCoach Жыл бұрын
You welcome, glad you liked it
@syed6752
@syed6752 2 жыл бұрын
This is so helpful, easy learning. Thanks
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Thank you 🙏
@hussainahmad6718
@hussainahmad6718 Жыл бұрын
Thanks for uploading the video. Its really helpful.
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Glad it was helpful!
@nandolambrusco
@nandolambrusco Жыл бұрын
Thank you! Really good explained.
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Glad you enjoyed it! thank you Marco!
@99north52
@99north52 Жыл бұрын
thank you so much sir,... you made my day.. you explain it in so simple way and evrythings working so fine..thanks again Sir
@DevOpsCoach
@DevOpsCoach Жыл бұрын
You are most welcome
@rohanrustagi7857
@rohanrustagi7857 Жыл бұрын
thanks sir I just love your content. Its to the point and concise
@DevOpsCoach
@DevOpsCoach Жыл бұрын
I appreciate that!
@GN-fv5ek
@GN-fv5ek Жыл бұрын
No doubt, directly liked it.....
@DevOpsCoach
@DevOpsCoach Жыл бұрын
thank you!
@mandeepmails
@mandeepmails Жыл бұрын
Nice video. Good content.
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Glad you enjoyed it
@mike4485
@mike4485 2 жыл бұрын
Thank you ..Appreciate it !!
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
You're welcome!
@TheMRivan32
@TheMRivan32 Жыл бұрын
Thanks a lot, Great job
@DevOpsCoach
@DevOpsCoach Жыл бұрын
You welcome Ivan
@onigashima24h
@onigashima24h 4 ай бұрын
great job sir
@DevOpsCoach
@DevOpsCoach 4 ай бұрын
thank you!
@jithinbabu838
@jithinbabu838 2 жыл бұрын
Great video .. please make video for setup the mail alert’s from cluster
@pjj7466
@pjj7466 2 жыл бұрын
wonderfull sir...
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Glad you liked it!
@avivlevi1055
@avivlevi1055 Жыл бұрын
Hi thank you very much for the video , Is the chart including persistent volumes to keep the data save ?
@aruns9695
@aruns9695 10 ай бұрын
Thanks brother
@DevOpsCoach
@DevOpsCoach 10 ай бұрын
You welcome 🙏
@gilmaslima
@gilmaslima Жыл бұрын
Thank you
@DevOpsCoach
@DevOpsCoach Жыл бұрын
You're welcome Gilmar!
@shubhamgoel223
@shubhamgoel223 Жыл бұрын
Thanks you, I am facing one issue with the metrics, prometheus is not scraping the metrics of pods deployed in custom namespaces,,
@MTanvir99
@MTanvir99 7 ай бұрын
Thanks for the tutorial. What will be the steps if I want to setup Prometheus & Grafana in AWS Fargate? Is this will work on Fargate also?
@sukantachatterjee137
@sukantachatterjee137 Жыл бұрын
don't we need to install metrics server in EKS before setup prometheus and grafana? please clarify anyone
@bramhanaiduaelem714
@bramhanaiduaelem714 Жыл бұрын
Can you please steps how to integrate with ingress for both Prometheus and grafana
@suchithreddy733
@suchithreddy733 6 ай бұрын
that was so helpful video sir, thanks for that but I am not able to see the cpu and memory utilization of my cluser, anyone know how to fix it?
@premierde
@premierde Жыл бұрын
Nice👏 why not one LB Ip for various svc, why not via Ingress-Nginx or other ingress controller? LB on public cloud is expensive call ? already here 2 LB ip is consumed?. Can you use one Ingress controller and one LB, for this Prometheus Stack & show whether it works or not?, Also that ingress controller can also be utilized my multiple services.
@tirushv9681
@tirushv9681 9 ай бұрын
After changing it to loadbalancer type will it create new ALB other than using application ALB?
@kedarnath_grandhe
@kedarnath_grandhe Жыл бұрын
Can you please make a video on "Deploying Kubernetes application on EKS via Helm using Jenkins pipeline"?
@emmarose9466
@emmarose9466 Жыл бұрын
Great suggestions! Will love to see that
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Folks - here is the video for deploying applications into EKS using helm and Jenkins pipeline. kzbin.info/www/bejne/hZvFaoWeZaeWrKM
@aravindb2971
@aravindb2971 Жыл бұрын
why we're giving 12740 ? what is an alternate for that via json?
@sadanandkothari214
@sadanandkothari214 2 жыл бұрын
Great Sir😍😘, Do you please provide what sequence need to go through these devops videos. like linux then shell script then git then aws etc...?
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
you welcome. please look at the playlists i have created in my channel home page.
@harishsolanki3834
@harishsolanki3834 Жыл бұрын
no time pass....on the point explation 😄
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Thank you so much 😊
@sunkamvenkatesh1086
@sunkamvenkatesh1086 7 ай бұрын
Hii sir My spring boot applications (admin portal and ecommerce) deployed into GKE with helm charts , now I want to configure Prometheus and grafana . Please help me how to setup this
@khushi-mf5de
@khushi-mf5de Жыл бұрын
How do we find the id...like 12740 and 3119? Are these predefined Id or we need to create it?
@DevOpsCoach
@DevOpsCoach Жыл бұрын
yes..grafana.com/grafana/dashboards/12740-kubernetes-monitoring/
@abidmehmood1150
@abidmehmood1150 Жыл бұрын
Hi, I'm able to setup monitoring using your method, but I'm not getting external ip (url ) on ec2. can you explain what could be an issue?
@kaokakelvin6202
@kaokakelvin6202 Жыл бұрын
expose the sevice using kubectl to type load balancer and take note of port
@realhimanshu7531
@realhimanshu7531 Жыл бұрын
I have edited both SVC of Prometheus after edit external IP is showing pending. Why
@dwiphazra3998
@dwiphazra3998 Жыл бұрын
Because you are using local machine... Use a cloud provider to expose your pods via loadbalancer... Or you can also use node port service to expose in your local machine ...
@learnwithsid118
@learnwithsid118 5 ай бұрын
From where you took that number to export
@DevOpsCoach
@DevOpsCoach 4 ай бұрын
grafana.com/grafana/dashboards/ search for the dashboard and pick up the ID
@ImrazahmedKhan
@ImrazahmedKhan Ай бұрын
after installing prometheus some of the pods are in pending state why?
@DevOpsCoach
@DevOpsCoach 29 күн бұрын
How did you install Prometheus? using helm? by following the steps in my website?
@user-hb7nb5wr9b
@user-hb7nb5wr9b 3 ай бұрын
Hello sir, how can I get more codes such as 12740,3119 etc?
@DevOpsCoach
@DevOpsCoach 3 ай бұрын
grafana.com/grafana/dashboards/?search=kubernetes
@madiwalappalagali2752
@madiwalappalagali2752 Жыл бұрын
for grafana the user name and password which was given its not working @Devops coach
@DevOpsCoach
@DevOpsCoach Жыл бұрын
make sure you try the right load balancer URL for Grafana. user name/password is correct as per the steps
How to Monitor a Kubernetes Cluster in 2022 with Prometheus & Grafana
18:09
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 21 МЛН
Чай будешь? #чайбудешь
00:14
ПАРОДИИ НА ИЗВЕСТНЫЕ ТРЕКИ
Рет қаралды 2,8 МЛН
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
00:53
How To Install Prometheus And Grafana On Docker
22:24
Tech Tutorials - David McKone
Рет қаралды 13 М.
Introduction to the Prometheus Monitoring System | Key Concepts and Features
10:38
Prometheus Monitoring with Julius | PromLabs
Рет қаралды 43 М.
Делай ПРАВИЛЬНО #дневник #стройка #excavator ✔
0:13
ДНЕВНИК ЭКСКАВАТОРЩИКА
Рет қаралды 1 МЛН
IT S SUPRAAA 🔱💪🔱 إنها السوبرا
0:12
KHALED FAHMI
Рет қаралды 4 МЛН
Vợ ơi dậy chạy phụ anh. #nutaixe #daukeo #container #chinatruck #chinese #truckgirl
1:01