Interview Prep/Monitoring & Observability/Kubernetes monitoring and the Prometheus Operator

On kubeadm clusters, `kube-controller-manager` and `kube-scheduler` targets are `DOWN` with `connection refused`

IntermediateTroubleshootingKubernetes monitoring and the Prometheus Operator
Answer

Likely causes → They bind to 127.0.0.1 by default (--bind-address=127.0.0.1), so Prometheus can't reach them on the node IP.

Diagnose → grep bind-address /etc/kubernetes/manifests/kube-scheduler.yaml.

Fix → Set --bind-address=0.0.0.0 in the static pod manifests (ports 10259 and 10257, HTTPS), restricting access with firewall rules. Same for etcd metrics with --listen-metrics-urls=http://0.0.0.0:2381.

Prevent → Bake these flags into the cluster bootstrap.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Kubernetes monitoring and the Prometheus Operator