Comments (9)
@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.
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.
Closing this as the configs are working..
from kubernetes-prometheus.
@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.
@phong-ho is the issue resolved?
from kubernetes-prometheus.
@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.
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.
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.
@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)
- testing yaml
- Service endpoint are not getting discovered. Required a config change in target configuration HOT 2
- kubernetes-service-endpoints - connection refused under targets HOT 1
- Setting up grafana on Kubernetes cluster HOT 2
- Upgrade Prometheus Image HOT 1
- Add kube state metrics endpoint to prometheus config
- how can we setup normal role and normal role binding for prometheus setup
- update apiVersion for prometheus-deployment.yaml HOT 1
- Adding Target to Prometheus using ConfigMap
- Prometheus Image update
- ...
- Prometheus service endpoint name can't resolve by coredns service HOT 1
- configmap incorrect format
- No graphs HOT 10
- Expose `kubernetes_pod_name` label to `kubernetes-service-endpoints` job.
- prometheus-service is down HOT 1
- Can I have a look at your prometheus.yml file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-prometheus.