mirror of https://github.com/easzlab/kubeasz.git
kube-proxy的metrics绑定非本地环回
parent
961be4724b
commit
ce0e0b06a9
|
@ -12,7 +12,8 @@ ExecStart={{ bin_dir }}/kube-proxy \
|
||||||
--hostname-override={{ inventory_hostname }} \
|
--hostname-override={{ inventory_hostname }} \
|
||||||
--kubeconfig=/etc/kubernetes/kube-proxy.kubeconfig \
|
--kubeconfig=/etc/kubernetes/kube-proxy.kubeconfig \
|
||||||
--logtostderr=true \
|
--logtostderr=true \
|
||||||
--proxy-mode={{ PROXY_MODE }}
|
--proxy-mode={{ PROXY_MODE }} \
|
||||||
|
--metrics-bind-address={{ inventory_hostname }}
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
LimitNOFILE=65536
|
LimitNOFILE=65536
|
||||||
|
|
Loading…
Reference in New Issue