Project 5: Setup Monitoring and Alerting on Kubernetes | Prometheus and Grafana Tutorial

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 45

  • @awssoorinje747
    @awssoorinje747 11 месяцев назад +2

    Sir, Thank you once again for your invaluable assistance. The session was extremely beneficial. It would have been even more advantageous to see the lab executed in an AWS environment

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  11 месяцев назад

      Hello Buddy, Thank you for your support and feedback. As mentioned in the video, I have used all the opensource tools and their implementation is standard across the cloud platform.You can use the same steps to implement this project in Azure or AWS as well. Let me know if you are facing any issues, happy to help :)

  • @ervispojana118
    @ervispojana118 5 месяцев назад +1

    Great Work --- It would be great to have a PLATFORM-OPS course. With tools like : Kubernetes, ELK, Prometheus Grafana, Troubleshooting, AWS, Splunk, Dynatrace.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  5 месяцев назад

      Thank you for the suggestions. Currently I am working on the CKA series which will have 40+ videos, once I am done with that, I will try to create more videos on the topics you have suggested. Thank you once again.

  • @sudheersen8227
    @sudheersen8227 7 месяцев назад +2

    continue sir❤❤

  • @debillion
    @debillion 4 месяца назад +1

    I like the way you teach. Do you have a full course on prometheus and Grafana?

  • @awssoorinje747
    @awssoorinje747 10 месяцев назад +1

    Dear Sir, Thanks a lot, next video please.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  10 месяцев назад

      I am currently focusing on Azure DevOps series, will resume this one once I complet ethe Azure DevOps one.

  • @shm8296
    @shm8296 9 месяцев назад +1

    can we use this method in production or in the company, any vulnerability issues will face in future ?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  9 месяцев назад

      Many enterprises uses managed version of Prometheus and Grafana so that they do not have to worry about security patching, upgrades, server maintenance and other administrative task. Google also has a managed offering called GMP ( Google Managed Prometheus). I hope that answered your question

  • @DevOpsGuru814
    @DevOpsGuru814 4 месяца назад +1

    Hi Piyush,
    I would like to know does the same works on EKS since you are gcp. Any reason why did you try the chart from bitnami not from official grafana repo i mean prometheus stack repo.
    It would be much appreciated if you add the video for enabling loki also on same cluster and get the log on grafana

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  4 месяца назад

      Hello, The manifest that we use, its built for Kubernetes that means any kubernetes cluster running anywhere could be cloud GKE/AKS/EKS or on-premises. The application code could have some dependency issues but other than, manifests are standard and follow the same pattern. I'd add the loki integration to my todo list, will do it soon.

  • @dr.hemantchauhan2613
    @dr.hemantchauhan2613 11 месяцев назад +1

    Excellent 🎉

  • @olympusbiz9583
    @olympusbiz9583 9 месяцев назад +3

    20:00 slack integration

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  9 месяцев назад

      Thank you for sharing this

    • @olympusbiz9583
      @olympusbiz9583 9 месяцев назад +1

      I've installed kube-prometheus-stack, it's successfully settled.
      Now I want to create alerts, do I need to configure my slack details in values.yaml file or else.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  9 месяцев назад

      You need to follow the below steps:
      kubectl create secret generic alertmanager-slack-webhook --from-literal webhookURL=SLACK_WEBHOOK_URL
      kubectl apply -f extras/prometheus/oss/alertmanagerconfig.yaml

    • @olympusbiz9583
      @olympusbiz9583 9 месяцев назад

      Okay great, can you let me know please how can I add and remove alerts from the chart.

  • @JITHUR-h8r
    @JITHUR-h8r 7 месяцев назад +1

    Hi, I have managed prometheus in my production env , how to add this prometheus as datasource in grafana

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  7 месяцев назад

      Hello, which cloud are you using? Adding the datasource is same for opensource and managed prometheus. Here's the Grafana installation guide: cloud.google.com/stackdriver/docs/managed-prometheus/query#grafana-deploy

  • @prasannakumar2633
    @prasannakumar2633 10 месяцев назад +1

    Thankyou

  • @Nikhil-go6dq
    @Nikhil-go6dq 2 месяца назад

    Can I setup prometheus on my GCP VM to monitor GKE cluster or we need to setup prometheus in cluster only?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 месяца назад

      If you setup in the cluster itself it be a better choice. If you do that in a VM, then it will be a single point of failure, if the instance goes down the prometheus will go down with it, issues with scaling and everything. Then you have to use an autoscaling group(in AWS) or MIG(in GCP) or VMSS(in Azure), it will be a costly and complex solution. That is why Kubernetes will be the right choice if you already have apps runnning on kubernetes.

  • @ravireddy270
    @ravireddy270 4 месяца назад

    Hi piyush I just completed all the tutorials regarding Azure Devops, and through udemy I completed all the courses regarding kuberntes too..I can able to clear interview but during the client round I faced a question about how many kuberntes clusters you are using in your current project.. Please provide a rough answer to these for future reference.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  4 месяца назад

      Hello Ravi, Thank you for reaching out. The number of kubernetes cluster you use is dependent on the number of projects you are handling and number of environments you have access to.
      For example, if you are an ops person, you would have the access to all the non-dev clusters. UAT, Prod, Pre-prod etc
      If you are a developer, you would only have access to the dev clusters.
      You can form your answer accordingly.

    • @ravireddy270
      @ravireddy270 4 месяца назад

      @@TechTutorialswithPiyush yeah Piyush...I don't have experience with kuberntes in real time, can I answer it as 4 clusters regarding the Dev environment.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  4 месяца назад

      @@ravireddy270 your call, but prepare your next answer, why 4 clusters for dev?

  • @fikreteren7783
    @fikreteren7783 6 месяцев назад +1

    Is GKE Autopilot still restricted or is it possible to see the data?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  6 месяцев назад

      Hey, What type of data are we talking about? you mean Node details?
      If we are using Kubernetes on our On premises server we get access to everything and we manage everything on our own including control plane., worker nodes, workloads etc.
      If you dont want to manage the control plane ourself, we use a managed Kubernetes service such as GKE standard which will give us access to our worker nodes and workloads however, if you dont want to manage your worker nodes, you use GKE Autopilot in which you can focus on your workload and control plane + worker nodes are managed by GKE. I hope this answered your question.

  • @QuangPham-bc7lc
    @QuangPham-bc7lc 10 месяцев назад +1

    can i ask why the number of nodes is 4.78 but not 4 or 5 or any natural number?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  9 месяцев назад

      Hello, Can you provide some context? Was it there in the video? Can you pinpoint the timestamp?

  • @techienitish407
    @techienitish407 11 месяцев назад +1

    hi piyush pls give the link of hashnode for EKS tutorial..... thanks

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  11 месяцев назад

      Thank you for reminding me, just added the link in the description. Here as well
      devo.hashnode.dev/comprehensive-aws-eks-cluster-monitoring-with-prometheus-grafanaand-efk-stack-10weeksofcloudops

  • @39vignesh.m35
    @39vignesh.m35 7 месяцев назад +1

    how to alert mail instead of webhook

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  7 месяцев назад

      You need to add smtp details in alert manager yaml instead of webhook

    • @39vignesh.m35
      @39vignesh.m35 7 месяцев назад +1

      @@TechTutorialswithPiyush tnx

    • @39vignesh.m35
      @39vignesh.m35 7 месяцев назад

      sir can i use servicemonitor instead of probe for monitor endpoint

  • @DevNnamsi
    @DevNnamsi 10 месяцев назад

    Please how can we connect I love you videos and would love a paid course if any

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  10 месяцев назад +1

      I dont do paid training but you can reach out to me over Discord or Linkedin for any guidance,

    • @DevNnamsi
      @DevNnamsi 10 месяцев назад

      @@TechTutorialswithPiyush Alright sending you a message soon