Open bihalu opened 1 year ago
add service monitor endpoint for kube-proxy. Prometheus target down --> http://192.168.178.54:30090/targets?search=&scrapePool=serviceMonitor%2Fkube-prometheus-stack%2Fkube-prometheus-stack-kube-proxy%2F0 Endpoint -> http://192.168.178.54:10249/metrics is only exposed to localhost ss -ntlp | grep 10249 LISTEN 0 4096 127.0.0.1:10249 0.0.0.0:* users:(("kube-proxy",pid=3898,fd=12))
Hotfix: edit configmap kube-proxy in namespace kube-system and set metricsBindAddress: "0.0.0.0" After that you need to restart kube-proxy-xyz pod
add service monitor endpoint for kube-proxy.
Prometheus target down --> http://192.168.178.54:30090/targets?search=&scrapePool=serviceMonitor%2Fkube-prometheus-stack%2Fkube-prometheus-stack-kube-proxy%2F0 Endpoint -> http://192.168.178.54:10249/metrics is only exposed to localhost ss -ntlp | grep 10249 LISTEN 0 4096 127.0.0.1:10249 0.0.0.0:* users:(("kube-proxy",pid=3898,fd=12))