Giter VIP home page Giter VIP logo

Comments (9)

bibinwilson avatar bibinwilson commented on August 10, 2024

@hkailantzis the cluster roles are probably not applied properly. The Prometheus deployment needs read access to all cluster components to get the metrics.

from kubernetes-prometheus.

hkailantzis avatar hkailantzis commented on August 10, 2024

thanks for your reply. Well, I used the cluserRole.yaml file from this repo, but not sure what might be the problem. yaml file is applied.[UPDATE]. I removed the blocks with "annotation_prometheus" from the config map yaml file, as shown in the official example page:
https://github.com/prometheus/prometheus/blob/master/documentation/examples/prometheus-kubernetes.yml,
and now I have some pods showing up (7/31 up) and some service endpoints (8/27 up). Most errors are "404 page not found" and only two "connection refused".

from kubernetes-prometheus.

devopscube avatar devopscube commented on August 10, 2024

Closing this as the configs are working..

from kubernetes-prometheus.

phong-ho avatar phong-ho commented on August 10, 2024

@hkailantzis the cluster roles are probably not applied properly. The Prometheus deployment needs read access to all cluster components to get the metrics.

Hi
How can we check it ?

from kubernetes-prometheus.

bibinwilson avatar bibinwilson commented on August 10, 2024

@phong-ho is the issue resolved?

from kubernetes-prometheus.

phong-ho avatar phong-ho commented on August 10, 2024

@bibinwilson not yet, Can you give me a hint to troubleshoot the configuration ?
annotation_prometheus is used in Prometheus and Alertmanager which they cause the problem of Connection refused.
Have you checked it on your system yet ?

from kubernetes-prometheus.

jbmcfarlin31 avatar jbmcfarlin31 commented on August 10, 2024

Hi, I just cloned this repo and deployed it into my kubernetes repo and I am also seeing the connect: connection refused error on my kubernetes-service-endpoints target.

from kubernetes-prometheus.

bibinwilson avatar bibinwilson commented on August 10, 2024

Hi, I just cloned this repo and deployed it into my kubernetes repo and I am also seeing the connect: connection refused error on my kubernetes-service-endpoints target.

@jbmcfarlin31 please refer #3 (comment)

from kubernetes-prometheus.

jbmcfarlin31 avatar jbmcfarlin31 commented on August 10, 2024

@bibinwilson I actually got this to work by changing the image of prometheus to their latest stable one. I went to version 2.11.1 and the problem went away. Not sure if that helps at all.

from kubernetes-prometheus.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.