Skip to content

Commit

Permalink
removing endpoints for controller and scheduler
Browse files Browse the repository at this point in the history
... After upgrading to k3s 1.19 (from 1.18), the promethgeus target scraping for those two targets stopped wokring,

`Get "http://10.2.0.30:10252/metrics": dial tcp 10.2.0.30:10252: connect: connection refused`

Looking at k3s-io/k3s#425 (comment) suggests the endpoint approach should work.  Experimenting with removing the explicit endpoint callout to see if there is an improvement.

Signed-off-by: Jeff Billimek <jeff@billimek.com>
  • Loading branch information
billimek committed Nov 10, 2020
1 parent 63e87ed commit b4d2d69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions monitoring/kube-prometheus-stack/kube-prometheus-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,12 @@ spec:
enabled: false
kubeControllerManager:
enabled: true
endpoints:
- 10.2.0.30
# endpoints:
# - 10.2.0.30
kubeScheduler:
enabled: true
endpoints:
- 10.2.0.30
# endpoints:
# - 10.2.0.30
kubeProxy:
enabled: false
prometheus-node-exporter:
Expand Down

0 comments on commit b4d2d69

Please sign in to comment.