Setup Prometheus On Kubernetes Using Helm | Kubernetes Monitoring With Prometheus

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • How to Setup Prometheus Monitoring On Kubernetes Cluster ? How to deploy Prometheus in Kubernetes cluster? In this video we are going to see Kubernetes Monitoring With Prometheus using Helm.
    Reference link: github.com/prometheus-communi...
    --------------------------------------------------------------------------
    Prometheus playlist:
    • Prometheus
    -------------------------------------------------------------------------
    -------------------------------------------------------------------------
    commands used:
    helm repo add prometheus-community prometheus-community.github.i...
    helm install prometheus prometheus-community/prometheus
    kubectl expose service prometheus-server --type=NodePort --target-port=9090 --name=prometheus-server-ext
    minikube service prometheus-server-ext
    -------------------------------------------------------------------------
    =======================================
    Follow me @:
    / thetips4you
    / thetips4you
    / thetipsforyou
    www.thetips4you.com
    =======================================
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 52

  • @computersindia
    @computersindia 4 หลายเดือนก่อน +2

    Thanks for the excellent tutorial for Prometheus with Helm in Kubernetes!!

    • @Thetips4you
      @Thetips4you  4 หลายเดือนก่อน

      You are welcome

  • @jongpark5477
    @jongpark5477 2 ปีที่แล้ว +1

    it is well presented and appreciated for your effort and time. looking forward to seeing another good one. thanks

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Thank you for your support.

  • @darcyneto8202
    @darcyneto8202 2 ปีที่แล้ว +2

    Great content bro! Greetings from Brazil 🤝🇧🇷

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Thank you so much bro.

  • @janardhanakkalareddy5168
    @janardhanakkalareddy5168 2 ปีที่แล้ว +1

    Awesome .. Thanking you

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      You are welcome my friend.

  • @user-js7ud9du2y
    @user-js7ud9du2y ปีที่แล้ว +1

    excellent tutorial

  • @trendingtech7906
    @trendingtech7906 ปีที่แล้ว +2

    Hello Sir, i am running prometheus in aks cluster , please guide me how can i expose it externally via ingress. Thanks

  • @reneshmlal2809
    @reneshmlal2809 2 หลายเดือนก่อน +1

    Thank you ❤

    • @Thetips4you
      @Thetips4you  2 หลายเดือนก่อน

      You are welcome.

  • @DevOpsPulse
    @DevOpsPulse ปีที่แล้ว +1

    Thank you

  • @janardhanakkalareddy5168
    @janardhanakkalareddy5168 2 ปีที่แล้ว +2

    we are expecting more videos from you.. like (microservices application) ELK monitoring tools

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +2

      Sure. Please check the playlist I do have some ELK videos.

  • @leolin4048
    @leolin4048 ปีที่แล้ว

    Why you don't need to add storage class?

  • @avivlevi1055
    @avivlevi1055 2 ปีที่แล้ว

    Hi Thank you for the video, does the halm chart include PV's for each deployment ?, or its my responsibility to create them.

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +1

      It should be created as part of helm. You can have a look on the charts in github link.

    • @MrTchc123
      @MrTchc123 2 ปีที่แล้ว

      @@Thetips4you Thank you for the replay i saw that now , Do you know why the grafana not showing data on the nodes ? like cpu and disk space ? I see the dashboard like your video .

  • @arsbkhan
    @arsbkhan 3 หลายเดือนก่อน

    Could u do a video of OpenTelemetry and Prometheus on Azure Kubernetes

    • @Thetips4you
      @Thetips4you  3 หลายเดือนก่อน

      I will check on this.

  • @coreyalbright3508
    @coreyalbright3508 2 หลายเดือนก่อน

    to skip the lecture and head into the actual install go to 8:12

  • @nabilpurkar
    @nabilpurkar 2 ปีที่แล้ว +1

    can we add external vm services endpoint on kubernetes Prometheus for monitoring?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Yes, a if you can add them through some exporters.

  • @anjalishreya9890
    @anjalishreya9890 ปีที่แล้ว

    Hello Sir,
    Can you please tell me how we can import data from Grafana into CSV or can you please make video on it or any blog .please let me know if you have any idea on this.

    • @Thetips4you
      @Thetips4you  ปีที่แล้ว

      Data from Grafana Or CSV as data source to Grafana?

  • @siabdulmalik
    @siabdulmalik ปีที่แล้ว

    sir, why my pods in alart-manager and promotheus-server are pending?
    I have following that your instructions but still same.

    • @Thetips4you
      @Thetips4you  ปีที่แล้ว

      Check logs or describe the pods to see why it is in pending status.

  • @vikaspandey1051
    @vikaspandey1051 2 ปีที่แล้ว +1

    I am not able to access. The link from minikube service --all of grafana and prometheus is not open in browser. What's the issue????????????

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      What error you are getting?

    • @vikaspandey1051
      @vikaspandey1051 2 ปีที่แล้ว +2

      @@Thetips4you I perform all your steps on different cloud platforms, AWS, Azure, GCP. All are having the same issue. When I copy the link to the browser it doesn't show any Prometheus page or grafana page. It shows "This site can’t be reached", and "localhost refused to connect." I tried all things but no gain. Will you please help me????

  • @MrLyasine
    @MrLyasine ปีที่แล้ว

    I tried to install Prometheus using helm but I have always pods in pending state, because of the missing PV and PVCs are missing storage, I notice that I have a default storage class set.
    Any clue ?

    • @Thetips4you
      @Thetips4you  ปีที่แล้ว

      How are you running your k8s cluster? Did you checked for latest helm chart?

    • @MrLyasine
      @MrLyasine ปีที่แล้ว

      @@Thetips4you yes I checked the latest chart

    • @MrLyasine
      @MrLyasine ปีที่แล้ว

      @@Thetips4you the issue is in default provisioning which is not enabled

  • @Nishankkam
    @Nishankkam ปีที่แล้ว

    Hi,
    Great content.
    I am installing this on aks, but it is giving error of being deployed on windows node, i have to deploy to linux node.
    Can you please help

    • @Thetips4you
      @Thetips4you  ปีที่แล้ว

      What is the error message?

    • @Nishankkam
      @Nishankkam ปีที่แล้ว

      @@Thetips4you MountVolume.Setup failed for "kube-api-access-zb5qp" : chown c:\var\lib\kubelet\pods\...... : not supported by windows
      I would like deploy this on a linux agent and not windows.
      I extracted the tar in .cache and in the extracted folder values.yaml file I mentioned node selector as linux but still same result.
      Can you please help?

  • @daysbeforejudgementday3493
    @daysbeforejudgementday3493 3 หลายเดือนก่อน

    Using minkube it not give url for "prometheus-server-ext"
    Please guide

    • @Thetips4you
      @Thetips4you  3 หลายเดือนก่อน

      Are you getting any errors?

  • @jitendrathota8931
    @jitendrathota8931 2 ปีที่แล้ว +1

    Please do one video gitlab ci cd pipeline using openshift

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Sure. Will consider it.

  • @rohanshingmode9563
    @rohanshingmode9563 7 หลายเดือนก่อน

    Hii sir , I am using ec2 machine on that I use t2.medium and Ubuntu ami I download minikube , kubectl and using docker driver and perform all the command for Prometheus but when I put on browser the ip with port number the page is not showing anything please check this error if anyone resolve try to answer me that would help me ....😢😢

    • @Thetips4you
      @Thetips4you  7 หลายเดือนก่อน

      Did you open the rules to access the machine from the outside network?

  • @FandiKurnia
    @FandiKurnia 2 ปีที่แล้ว

    How to modify prometheus.conf and re run it?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Edit the config file and run the Prometheus again.

  • @AdeolaAlabi-hl3ex
    @AdeolaAlabi-hl3ex ปีที่แล้ว

    Hello tips4you Can you explain why I get this error message? Do I need to create a PV ?
    "Normal FailedBinding 2s (x5 over 59s) persistentvolume-controller no persistent volumes available for this claim and no storage class is set" As you can see from the output below, prometheus Pod and its PVC are in pending state. Please can you help out here?
    🐳 master-k8s ~ $ k get pvc
    prometheus-server Pending 14m
    storage-prometheus-alertmanager-0 Pending 3h49m
    storage-prometheus-release-alertmanager-0 Pending 5h59m
    🐳 master-k8s ~ $ kgp
    NAME READY STATUS RESTARTS AGE
    prometheus-alertmanager-0 0/1 Pending 0 3h49m
    prometheus-kube-state-metrics-7c668ff876-g6rll 1/1 Running 0 3h49m
    prometheus-prometheus-node-exporter-k7fvn 1/1 Running 0 3h49m
    prometheus-prometheus-node-exporter-ncd82 1/1 Running 0 3h49m
    prometheus-prometheus-node-exporter-vjgmt 1/1 Running 0 3h49m
    prometheus-prometheus-pushgateway-57d6d7494c-v267z 1/1 Running 0 3h49m
    prometheus-server-74c69b74f5-xh5s5 0/2 Pending 0 3h49m

    • @anilbhuvan1116
      @anilbhuvan1116 ปีที่แล้ว

      I have the same issue, if you have the solution, please let me know.