bihalu / kuba

Kubernetes on Alpine Linux
GNU General Public License v3.0
0 stars 0 forks source link

add service monitor endpoint for kube-proxy #1

Open bihalu opened 1 year ago

bihalu commented 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))

bihalu commented 1 year ago

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