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

`kube-proxy` target shows `connection refused` on port 10249

BeginnerTroubleshootingKubernetes monitoring and the Prometheus Operator
Answer

Likely causes → kube-proxy's metricsBindAddress defaults to 127.0.0.1:10249.

Diagnose → kubectl -n kube-system get cm kube-proxy -o yaml | grep metricsBindAddress.

Fix → Set metricsBindAddress: 0.0.0.0:10249 and restart the kube-proxy DaemonSet.

Prevent → Include it in cluster config.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Kubernetes monitoring and the Prometheus Operator