kube-proxy的metrics绑定非本地环回

pull/975/head
forbxy 2021-01-21 17:48:18 +08:00 committed by jmgao
parent 961be4724b
commit ce0e0b06a9
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ ExecStart={{ bin_dir }}/kube-proxy \
--hostname-override={{ inventory_hostname }} \
--kubeconfig=/etc/kubernetes/kube-proxy.kubeconfig \
--logtostderr=true \
--proxy-mode={{ PROXY_MODE }}
--proxy-mode={{ PROXY_MODE }} \
--metrics-bind-address={{ inventory_hostname }}
Restart=always
RestartSec=5
LimitNOFILE=65536