Kubernetes Monitoring Made Easy with Prometheus | KodeKloud

Sdílet
Vložit
  • čas přidán 16. 05. 2024
  • Access the Labs: kode.wiki/PrometheusLabs_YT
    In this video, we'll cover everything you need to know about monitoring your Kubernetes cluster using Prometheus. We'll start by discussing what Kubernetes monitoring is and why it's important. From there, we'll dive into the details of how Prometheus works and how it can be used to monitor your Kubernetes environment. You'll learn about the various metrics and alerts that Prometheus provides, as well as best practices for setting up and configuring Prometheus for Kubernetes monitoring. Whether you're new to Kubernetes monitoring or an experienced pro, this video will give you the knowledge you need to effectively monitor your Kubernetes environment with Prometheus. So, join us and learn how to simplify your Kubernetes monitoring with Prometheus!
    These are the topics covered in this video:
    00:00 - Introduction
    01:45 - Kubernetes Monitoring using Prometheus
    07:00 - Access Free Labs
    07:24 - What is Helm?
    13:24 - Installing Helm & Prometheus Chart
    37:21 - Deploy Demo Application
    43:05 - Additional Scrape Configs
    46:15 - Service Monitors
    56:44 - Adding Rules
    59:41 - Alert manager Rules
    01:07:29 - Conclusion
    Want to view a clear path to becoming a DevOps Engineer? Visit our website - bit.ly/Kodekloud-YT
    We have various Learning Paths to help you choose your next step and shape your DevOps Career.
    Check out our learning paths at KodeKloud to get started:
    ► Linux: bit.ly/LinuxLearningPath
    ► DevOps Learning Path: bit.ly/DevOpsLearningPath-YT
    ► Docker: bit.ly/DockerLearningPath
    ► Kubernetes: bit.ly/KubernetesLearningPath
    ► Infrastructure as Code(IAC): bit.ly/IACLearningPath
    ► Programming: bit.ly/ProgrammingLearningPath
    #Kubernetes #prometheus #devops
    Those new to the Programming and DevOps world often find it challenging to start their journey due to the missing basic prerequisites. For example, issues with setting up a basic lab environment using VirtualBox, problems with networking, or trouble with working with the Linux CLI or text editors like vi editor. Sometimes there are issues with applications - like getting a sample application to work, problems with getting the dependencies to install correctly or trouble with getting a web server to communicate with a database server. Or, at other times, it's working with data formats like JSON or YAML.
    So we have identified a gap, and we believe that this is due to missing some of the basic prerequisites, such as knowing the basics of Linux, the basics of tools like VirtualBox, or knowing the basics of the most commonly used applications like Java, Python or NodeJS or web servers like Apache, NGINX etc. As a DevOps or Cloud Engineer, it is crucial to have these basics cleared. And that’s why we are helping you to bridge that gap!
    For more updates on courses and tips, follow us on:
    ► Website: kodekloud.com/
    ► LinkedIn: / kode. .
    ► Twitter: / kodekloud1
    ► Facebook: / kodekloudtra. .
    ► Instagram: / kodekloud
    ► Blog: kodekloud.com/blog/
  • Zábava

Komentáře • 89

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

    This is a golden video. I have read articles, blogs and documentation and this video has it all!

  • @Akshay-bc3et
    @Akshay-bc3et Před rokem +1

    This was a perfect refresher even for someone using Prometheus for years.

    • @KodeKloud
      @KodeKloud  Před rokem

      Thanks for watching our video and commending our work. Do subscribe to our channel and stay tuned for more. Cheers!

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

    Amazing, Amazing, Amazing!!! I went through alot of videos on youtube and udemy but this video answered almost all of my questions i had on prometheus. Thank you for making such wonderful video.

  • @cjr-en4wr
    @cjr-en4wr Před 29 dny

    by far the best guide I've seen - been struggling for a few days and this solved my problems in an hour!!!

  • @everythingcloudplatform
    @everythingcloudplatform Před 4 měsíci

    Great topic. Observability is truly an important piece of the puzzle for applications running in production.

  • @GilroyToledano
    @GilroyToledano Před 10 měsíci +5

    In the first 7 minutes, at the moment a point is presented, my questions in my head has been answered. This is a nicely done video. Thank you very much.

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

    Sanjeev, your DevOps videos have been an incredible source of knowledge and inspiration for me. Thank you for your dedication and expertise in sharing valuable insights. You are definitely one of the best instructors i follow, Keep up the fantastic work!

  • @Samuel-vo5wy
    @Samuel-vo5wy Před 11 měsíci +11

    You definitely need a lots of love and gratitude for all the work that you have done for us. How nicely you have presented the topics. I was struggling to learn the topics in no time and your video was the best shot that I made. Easy to understand the concepts. 🥰

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

      Hey, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @isi24.8
    @isi24.8 Před měsícem

    Very informative !! Thank you for the effort you put into making this

  • @imyashkale
    @imyashkale Před 4 měsíci

    Excellent Explanation ❤

  • @tusharkantisahu5649
    @tusharkantisahu5649 Před rokem +2

    Great Lecture.. Crystal clear explanation

  • @MrSuriyam
    @MrSuriyam Před 8 měsíci +2

    Hi Sanjeev Ty for taking the put together a concise course on a tough topic. Ty sir…Absolutely awesome.🎉

  • @abinduttagupta2680
    @abinduttagupta2680 Před 11 měsíci +2

    Excellent . Thank You . Would have loved some more deep dive on the alert manager part . But really helpful .

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

      Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!

  • @andherium
    @andherium Před 7 měsíci +1

    This was really helpful. Thanks

  • @thomas-sinkala
    @thomas-sinkala Před 9 měsíci +2

    I just want to say thank you. This is really helpful.

  • @sunilb4881
    @sunilb4881 Před 10 dny

    Excellent. However, one quick question. Where would be best option to enable grafana? either it could be in kube-prometheus-stack or loki-stack?

  • @chunji6489
    @chunji6489 Před 7 měsíci +1

    Thanks for the great video, which is very helpful for me. There is a minor issue at 13:06 of this video during prometheus installation. It is adding "Prometheus-community" to the helm-chart, while it is using "prometheus-community" on the helm installation command.

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

      Thank you so much for bringing this to our attention. We reported this right away to the relevant department.

  • @asifadam93
    @asifadam93 Před 2 měsíci

    Excellent video, keep it up bro

  • @madhurbhardwaj7284
    @madhurbhardwaj7284 Před 9 měsíci +1

    Excellent video and very nicely presented... thank you so much for valuable content.... can you please do one additional video to cover remotewrite with AWS AMP using same stack/chart

    • @KodeKloud
      @KodeKloud  Před 9 měsíci +1

      "Hey, thank you for watching our video. We will definitely look into your suggestions. Do subscribe and stay tuned for updates on our channel. Cheers :)
      "

  • @kuppusamyv8097
    @kuppusamyv8097 Před 9 měsíci +1

    Wonderful content.. thanks..

  • @ElnazHoseininia
    @ElnazHoseininia Před 21 dnem

    Hi, thank you for the helpful video. I did every steps but in Prometheus I can't see my target. Do you know what is the problem?

  • @sbbb-hz1ze
    @sbbb-hz1ze Před rokem +2

    excellent demo , really hats off to you

    • @KodeKloud
      @KodeKloud  Před rokem

      Thank you for the appreciation. You can check our videos related to DevOps and subscribe to our channel to stay updated with all the latest tools.

  • @user-cr4sp1sc6o
    @user-cr4sp1sc6o Před 9 měsíci

    Could you please share the Nodejs application code that you have used for this video?

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

    Thanks for the video. I have one doubt. Without helm how can we integrate Prometheus and grafana via azure pipelines.

  • @htooaungshine7718
    @htooaungshine7718 Před rokem +1

    Awesome !! a great demo

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

    Awesome thank you very much.

  • @felipeddds
    @felipeddds Před rokem +1

    Excellent

  • @jairunet
    @jairunet Před rokem +1

    Excellent demo, just curious, what theme are you using for your VScode? looks great and is friendly to code on. Keep up the amazing work!

    • @KodeKloud
      @KodeKloud  Před rokem +1

      Thank you for watching our videos, and making us a part of your growth. Your kind words, comments and support is what keeps us going every day! Hit the bell icon to never miss out on our content.

    • @samrybkin9184
      @samrybkin9184 Před rokem

      @@KodeKloud Hi if not secret what theme are you using for your VScode from this video?

    • @TheCrankyhenk
      @TheCrankyhenk Před rokem +2

      Dracula is the theme being used

    • @jairunet
      @jairunet Před rokem

      @@TheCrankyhenk thanks

    • @Ajju_vlogs_40
      @Ajju_vlogs_40 Před rokem

      @@KodeKloud i

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

    AWESOME.. AWESOME

  • @dewgodswill3718
    @dewgodswill3718 Před rokem +1

    did you deploy the cluster before installing the helm chart?

    • @KodeKloud
      @KodeKloud  Před rokem

      Yes, you need to have a cluster k8s and then configure Kubectl client correctly with your cluster before installing the application with helm

  • @Mo-yc3ho
    @Mo-yc3ho Před 10 měsíci

    Hi, I was wondering if we can use custom endpoints as per our choice in our application because you only mentioned /swagger-stats/metrics as an endpoint and there is no code to for this setup. Please let me know how to expose endpoints in our deployment of customized applications.

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

      Swagger-stats is a library and middleware for monitoring and collecting statistics from APIs built with the Swagger/OpenAPI specification. It provides detailed insights and metrics about API performance, usage patterns, errors, and more. Swagger-stats integrates with the Swagger specification and can be used with different frameworks and languages. So you only need to confgiure swagger-stats path. You can refer more to swaggerstats.io/

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

    Thanks for the tutoring. I was looking for Custom Notifications with Alert Manager’s Webhook Receiver in Kubernetes. I looked at your channel I couldn't find it. Have you created a tutorial about Custom Notifications with Alert Manager’s Webhook Receiver in Kubernetes? Thanks again.

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

      Hello, we are glad you found our video helpful. We will definitely look into your suggestions. Do subscribe and stay tuned for updates on our channel. Cheers :)

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

      Thanks looking forward to it@@KodeKloud

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

    Hello Sanjee, thank you for this video. I would like ask you two questions: 1. Which some CRDs are disable by default and its must be enable across values chart; all the prometheus version this is equal? and the second question; which is the difference between AlertManager and AlertManagerConfig?

    • @KodeKloud
      @KodeKloud  Před 2 měsíci

      You can check CRDs in values.yaml. As for AlertManager and AlertManagerConfig: AlertManager is a component of Prometheus responsible for handling alerts, including deduplication, grouping, and routing to receivers like email or Slack. On the other hand, AlertManagerConfig is a CRD in Kubernetes that provides a Kubernetes-native way to configure AlertManager, allowing you to specify alert routing, and receivers, and inhibit rules directly as Kubernetes resources.

  • @dex11514
    @dex11514 Před 10 měsíci +1

    Nice video, thx for all but i'd like to know where did you do all these diagrams. Thx in advance! :D

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

      Greetings! Thank you for your kind words. Spread the word by liking, sharing and subscribing to our channel! Cheers :).

  • @samuelude6858
    @samuelude6858 Před rokem +1

    Just to clear some doubt, In production environment, is it not a good practice to have Prometheus instance both running on a separate server and in the k8s cluster should in case the cluster go down then you can have something to look out to know what really caused that?

    • @KodeKloud
      @KodeKloud  Před rokem +1

      Hey, it depends on the demand and resources. If you have multiple clusters of Kubernetes and you want centralized management, you should deploy Prometheus separately. On the opposite, you only have a cluster with 3 Nodes (1 Master, 2 Workers), you will want to deploy Prometheus inside the Kubernetes cluster.

    • @tejasmorbagalharish5961
      @tejasmorbagalharish5961 Před 10 měsíci

      @@KodeKloud I have multiple k8s clusters and management cluster to deploy applications like argocd. Is it recommended deploying a centralized Prometheus operator on the management cluster or in each of the cluster ? Any recommendation/ best practice to follow for this scenario ?

  • @twizzoe
    @twizzoe Před rokem

    Awesome

    • @KodeKloud
      @KodeKloud  Před rokem

      Thanks for watching our video. Cheers!

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

    Do you have full manifest for web app?

  • @akashhr7955
    @akashhr7955 Před 4 měsíci

    can you please share the repo of the application you deployed in the video

  • @manojdonkada
    @manojdonkada Před 10 měsíci

    really good demo , where can i get access to the slides that you used for this course thanks

    • @KodeKloud
      @KodeKloud  Před 9 měsíci +1

      Thanks for appreciating our work.
      Please accept our apologies for not being able to share the slides.

  • @dark4igi
    @dark4igi Před rokem +1

    how to define pvc for timescaledb for prometheus?

    • @KodeKloud
      @KodeKloud  Před rokem

      Hey, please refer to this link: github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#persistent-volumes

  • @pankajchaurasiya8481
    @pankajchaurasiya8481 Před rokem

    Will it also help to monitor the kubernetes cert expiration ?

    • @KodeKloud
      @KodeKloud  Před 11 měsíci

      Hey you can refer to this link: github.com/amimof/node-cert-exporter

  • @akashhr305
    @akashhr305 Před 4 měsíci

    Can you pls share the source code link for the demo project you deployed

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

    Guys, where is a code for demo application?

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

    @KodeKloud after adding the rule its not visble in the ui of prometheus

    • @KodeKloud
      @KodeKloud  Před 7 měsíci +1

      "If a rule you added to Prometheus is not visible in the UI:
      - Check rule syntax and configuration.
      - Trigger a Prometheus configuration reload.
      - Verify the rule file path in Prometheus config.
      - Refresh the Prometheus UI."

    • @sagarhm2237
      @sagarhm2237 Před 7 měsíci

      @@KodeKloud sir based wat histogram values are used

  • @dark4igi
    @dark4igi Před rokem +1

    how to add ingressRoute traefik-ingress?

    • @KodeKloud
      @KodeKloud  Před rokem

      You can configure the ingress here:
      Prometheus: github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml#L2535
      Grafana: github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml#L783
      AlertManager: github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml#L261

  • @samipkc179
    @samipkc179 Před 11 měsíci

    18:30

    • @KodeKloud
      @KodeKloud  Před 10 měsíci

      Thanks for watching our video. Cheers!

  • @thusharajayamanna9254
    @thusharajayamanna9254 Před 8 měsíci +1

    Dude, this is awesome, but break it apart into smaller sessions.

    • @KodeKloud
      @KodeKloud  Před 7 měsíci

      Thank you for watching our videos, and making us a part of your growth. Your kind words, comments and support is what keeps us going every day! Hit the bell icon to never miss out on our content.