prometheus监控k8s kube-proxy target down

prometheus target down
prometheus监控k8s kube-proxy target down_第1张图片
修改配置

kubectl edit cm/kube-proxy -n kube-system
metricsBindAddress: "0.0.0.0:10249"

删除 kube-proxy pod 使之重启应用配置

kubectl delete pod --force `kubectl get pod -n kube-system |grep kube-proxy|awk '{print $1}'` -n kube-system

你可能感兴趣的:(Kubernetes,kubernetes)