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

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • 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.
  • Auta a dopravní prostředky

Komentáře • 65

  • @kaokakelvin6202
    @kaokakelvin6202 Před rokem +4

    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 Před rokem +1

    the best video ever on monitoring tutorial, thank you 😊

  • @hussainahmad6718
    @hussainahmad6718 Před rokem

    Thanks for uploading the video. Its really helpful.

  • @syed6752
    @syed6752 Před 2 lety +1

    This is so helpful, easy learning. Thanks

  • @nandolambrusco
    @nandolambrusco Před rokem +1

    Thank you! Really good explained.

  • @TheMRivan32
    @TheMRivan32 Před rokem +1

    Thanks a lot, Great job

  • @mike4485
    @mike4485 Před 2 lety +1

    Thank you ..Appreciate it !!

  • @GN-fv5ek
    @GN-fv5ek Před rokem +1

    No doubt, directly liked it.....

  • @rohanrustagi7857
    @rohanrustagi7857 Před rokem +2

    thanks sir I just love your content. Its to the point and concise

  • @krishnaprasad5503
    @krishnaprasad5503 Před 2 lety +6

    No time waste, Very good explanation.

  • @mandeepmails
    @mandeepmails Před rokem +1

    Nice video. Good content.

  • @99north52
    @99north52 Před rokem

    thank you so much sir,... you made my day.. you explain it in so simple way and evrythings working so fine..thanks again Sir

  • @jithinbabu838
    @jithinbabu838 Před 2 lety +1

    Great video .. please make video for setup the mail alert’s from cluster

  • @onigashima24h
    @onigashima24h Před 5 měsíci +1

    great job sir

  • @aruns9695
    @aruns9695 Před 11 měsíci +1

    Thanks brother

  • @avivlevi1055
    @avivlevi1055 Před 2 lety +1

    Hi thank you very much for the video , Is the chart including persistent volumes to keep the data save ?

  • @pjj7466
    @pjj7466 Před 2 lety +1

    wonderfull sir...

  • @gilmaslima
    @gilmaslima Před rokem +1

    Thank you

  • @shubhamgoel223
    @shubhamgoel223 Před rokem

    Thanks you,
    I am facing one issue with the metrics,
    prometheus is not scraping the metrics of pods deployed in custom namespaces,,

  • @himanshumahajan596
    @himanshumahajan596 Před 12 dny

    I have eks cluster with public private combination , pods data is not coming nor total cpu / memory is updating on graphs

  • @sukantachatterjee137
    @sukantachatterjee137 Před rokem +1

    don't we need to install metrics server in EKS before setup prometheus and grafana? please clarify anyone

  • @suchithreddy733
    @suchithreddy733 Před 6 měsíci

    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?

  • @aravindb2971
    @aravindb2971 Před rokem +1

    why we're giving 12740 ? what is an alternate for that via json?

  • @bramhanaiduaelem714
    @bramhanaiduaelem714 Před rokem +1

    Can you please steps how to integrate with ingress for both Prometheus and grafana

  • @MTanvir99
    @MTanvir99 Před 8 měsíci

    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?

  • @tirushv9681
    @tirushv9681 Před 9 měsíci

    After changing it to loadbalancer type will it create new ALB other than using application ALB?

  • @premierde
    @premierde Před rokem +1

    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.

  • @sunkamvenkatesh1086
    @sunkamvenkatesh1086 Před 8 měsíci

    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

  • @kedarnath_grandhe
    @kedarnath_grandhe Před 2 lety +4

    Can you please make a video on "Deploying Kubernetes application on EKS via Helm using Jenkins pipeline"?

    • @emmarose9466
      @emmarose9466 Před rokem +1

      Great suggestions! Will love to see that

    • @DevOpsCoach
      @DevOpsCoach  Před rokem +2

      Folks - here is the video for deploying applications into EKS using helm and Jenkins pipeline. czcams.com/video/Ojb9Rh0BcvA/video.html

  • @harishsolanki3834
    @harishsolanki3834 Před rokem +2

    no time pass....on the point explation 😄

  • @sadanandkothari214
    @sadanandkothari214 Před 2 lety

    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  Před 2 lety

      you welcome. please look at the playlists i have created in my channel home page.

  • @khushi-mf5de
    @khushi-mf5de Před rokem

    How do we find the id...like 12740 and 3119? Are these predefined Id or we need to create it?

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

      yes..grafana.com/grafana/dashboards/12740-kubernetes-monitoring/

  • @abidmehmood1150
    @abidmehmood1150 Před rokem

    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 Před rokem

      expose the sevice using kubectl to type load balancer and take note of port

  • @realhimanshu7531
    @realhimanshu7531 Před 2 lety

    I have edited both SVC of Prometheus after edit external IP is showing pending.
    Why

    • @dwiphazra3998
      @dwiphazra3998 Před rokem

      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 Před 6 měsíci

    From where you took that number to export

    • @DevOpsCoach
      @DevOpsCoach  Před 5 měsíci

      grafana.com/grafana/dashboards/
      search for the dashboard and pick up the ID

  • @ImrazahmedKhan
    @ImrazahmedKhan Před měsícem

    after installing prometheus some of the pods are in pending state why?

    • @DevOpsCoach
      @DevOpsCoach  Před měsícem

      How did you install Prometheus? using helm? by following the steps in my website?

  • @user-hb7nb5wr9b
    @user-hb7nb5wr9b Před 3 měsíci

    Hello sir, how can I get more codes such as 12740,3119 etc?

    • @DevOpsCoach
      @DevOpsCoach  Před 3 měsíci

      grafana.com/grafana/dashboards/?search=kubernetes

  • @madiwalappalagali2752

    for grafana the user name and password which was given its not working @Devops coach

    • @DevOpsCoach
      @DevOpsCoach  Před rokem

      make sure you try the right load balancer URL for Grafana. user name/password is correct as per the steps