Comments (7)
Yes, Kubernetes is listed now as a target and in alerts π , so I'll update the docs too.
from kube-prometheus.
Same with KOPS 1.5.0-beta2, Kubernetes 1.4.8 (w prometheus-operator:v0.1.1)
from kube-prometheus.
Running ku -n kube-system create -f manifests/k8s/self-hosted/
updates to:
Alerts
K8SNodeDown (1 active)
K8SKubeletDown (1 active)
K8SKubeletNodeExporterDown (1 active)
K8SApiserverDown (1 active)
Targets
kube-controller-manager
Endpoint State Labels Last Scrape Error
http://10.101.91.106:10252/metrics
DOWN instance="10.101.91.106:10252" 11.231s ago context deadline exceeded
kube-dns
Endpoint State Labels Last Scrape Error
http://100.96.1.2:10054/metrics
UP instance="100.96.1.2:10054" 4.934s ago
http://100.96.1.2:10055/metrics
UP instance="100.96.1.2:10055" 3.823s ago
http://100.96.1.4:10054/metrics
UP instance="100.96.1.4:10054" 1.97s ago
http://100.96.1.4:10055/metrics
UP instance="100.96.1.4:10055" 12.165s ago
kube-scheduler
Endpoint State Labels Last Scrape Error
http://10.101.91.106:10251/metrics
DOWN instance="10.101.91.106:10251" 24.405s ago context deadline exceeded
kube-state-metrics
Endpoint State Labels Last Scrape Error
http://100.96.1.66:8080/metrics
UP instance="100.96.1.66:8080" 13.793s ago
kubelets
Endpoint State Labels Last Scrape Error
https://10.101.90.245:10250/metrics
UP instance="ip-10-101-90-245.ec2.internal" 13.104s ago
https://10.101.91.106:10250/metrics
DOWN instance="ip-10-101-91-106.ec2.internal" 13.514s ago context deadline exceeded
kubernetes
Endpoint State Labels Last Scrape Error
https://10.101.91.106:443/metrics
DOWN instance="10.101.91.106:443" 12.117s ago Get https://10.101.91.106:443/metrics: x509: certificate is valid for 100.64.0.1, not 10.101.91.106
node-exporter
Endpoint State Labels Last Scrape Error
http://10.101.90.245:9100/metrics
UP instance="10.101.90.245:9100" 1.398s ago
http://10.101.91.106:9100/metrics
DOWN instance="10.101.91.106:9100" 14.259s ago context deadline exceeded
prometheus
Endpoint State Labels Last Scrape Error
http://100.96.1.68:9090/metrics
UP instance="100.96.1.68:9090" 14.541s ago
from kube-prometheus.
Opening up 10250 and 9100 in the master SG to the nodes SG fixed the node exporter
and kubelets
communications errors. Then just have two errors:
K8SSchedulerDown (1 active)
K8SControllerManagerDown (1 active)
Running kubectl -n kube-system create -f manifests/k8s/self-hosted/
opening up ports again to master: 10252, 10251 leaves only one target error:
kubernetes
Endpoint State Labels Last Scrape Error
https://10.52.71.194:443/metrics
DOWN instance="10.52.71.194:443" 3.711s ago Get https://10.52.71.194:443/metrics: x509: certificate is valid for 100.64.0.1, not 10.52.71.194
and one alert:
K8SApiserverDown (1 active)
Related comment: #23 (comment)
from kube-prometheus.
Yeah that's correct, best would be to inspect the cert as described in #23 (comment) and set the serverName
to kubernetes
. In #33 I chose to ignore cert issues for now, however want to apply exactly what I mentioned to that, but wanted to get the general config generation in place first with #33. Could you maybe try out #33, and see if it works?
from kube-prometheus.
#33 tried out and feedback sent in Slack π
from kube-prometheus.
@dmcnaught can this be closed as the #49 is merged?
from kube-prometheus.
Related Issues (20)
- How to add and modify existing scrape_configs to existing kube-prometheus HOT 1
- done HOT 8
- Prometheus stack not respecting retention
- how to not use cpu requst & limit οΌ HOT 2
- Appears to be an issue with the Grafana grid.libsonnet HOT 3
- Support the Gateway API
- forgot grafana password,How can I changeit
- persistent volume monitor
- Decrease value of limit before "Namespace quota is going to be full. HOT 1
- Warning - 'bearerTokenFile' is deprecated HOT 1
- Request for Guidance on Deploying kube-prometheus Using ArgoCD HOT 1
- Easily configure arguments of node exporter
- kube-prometheus-release-0.13 δΈθ½δΈrancher εζΆι¨η½²ε HOT 1
- ./build.sh example.jsonnet HOT 2
- Error in grafonnet HOT 1
- upgrade node-exporter to v1.8.0 HOT 1
- Grafana not reachable after setup
- example dashboards use angular which is depreciated in grafana HOT 2
- kubernetes-system-kube-proxy rule group missing from manifests/kubernetesControlPlane-prometheusRule.yaml
- How to monitor nacos in k8s HOT 1
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 kube-prometheus.