Setup Prometheus On Kubernetes Using Helm | Kubernetes Monitoring With Prometheus

Поделиться
HTML-код
  • Опубликовано: 19 окт 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/pro...
    --------------------------------------------------------------------------
    Prometheus playlist:
    • Prometheus
    -------------------------------------------------------------------------
    -------------------------------------------------------------------------
    commands used:
    helm repo add prometheus-community prometheus-com...
    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...
    =======================================
  • НаукаНаука

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

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

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

  • @AvinashaSharmaP
    @AvinashaSharmaP 2 дня назад +1

    Good One. You should have included how to add new monitors and how to monitor targets which are outside the cluster. May be a small set of VMs

  • @darcyneto8202
    @darcyneto8202 2 года назад +2

    Great content bro! Greetings from Brazil 🤝🇧🇷

  • @jongpark5477
    @jongpark5477 2 года назад +2

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

  • @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.

  • @trendingtech7906
    @trendingtech7906 Год назад +2

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

  • @RockyScenes
    @RockyScenes 7 дней назад

    If i am deploying prometheus on a real production build with aws am i still using nodeport?

    • @Thetips4you
      @Thetips4you  4 дня назад

      It depends on your infrastructure. You can use Load balancer as well to access through internet.

  • @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????

  • @leolin4048
    @leolin4048 Год назад

    Why you don't need to add storage class?

  • @shreysom2060
    @shreysom2060 3 месяца назад

    Great Tutorial

  • @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.

  • @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 .

  • @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.

  • @user-js7ud9du2y
    @user-js7ud9du2y 2 года назад +1

    excellent tutorial

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

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

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

      Are you getting any errors?

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

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

  • @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

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

    Thank you ❤

  • @janardhanakkalareddy5168
    @janardhanakkalareddy5168 2 года назад +1

    Awesome .. Thanking you

  • @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?

  • @Nishankkam
    @Nishankkam 2 года назад

    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  2 года назад

      What is the error message?

    • @Nishankkam
      @Nishankkam 2 года назад

      @@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?

  • @DevOpsPulse
    @DevOpsPulse 2 года назад +1

    Thank you

  • @Mr.Tharuntej
    @Mr.Tharuntej Месяц назад

    Im unable access on browser
    Everything is fine ports are open and all things are fine but am not able to login

    • @Thetips4you
      @Thetips4you  Месяц назад

      What is the error message?

    • @Mr.Tharuntej
      @Mr.Tharuntej Месяц назад

      @@Thetips4you site can't be reached

    • @Mr.Tharuntej
      @Mr.Tharuntej Месяц назад

      @@Thetips4you site can't be reached

    • @Mr.Tharuntej
      @Mr.Tharuntej Месяц назад

      ​@@Thetips4you site can't be reached

    • @Mr.Tharuntej
      @Mr.Tharuntej Месяц назад

      @@Thetips4you site can't be reached

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

    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  10 месяцев назад

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

    • @Mr.Tharuntej
      @Mr.Tharuntej Месяц назад

      Even after opening all the traffic
      I am unable to access the Prometheus and grafana from browser

  • @FandiKurnia
    @FandiKurnia 2 года назад

    How to modify prometheus.conf and re run it?

    • @Thetips4you
      @Thetips4you  2 года назад

      Edit the config file and run the Prometheus again.

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

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

  • @jitendrathota8931
    @jitendrathota8931 2 года назад +1

    Please do one video gitlab ci cd pipeline using openshift

  • @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.