diff --git a/roles/kube-node/templates/kube-proxy.service.j2 b/roles/kube-node/templates/kube-proxy.service.j2 index 0b47527..36c3bc7 100644 --- a/roles/kube-node/templates/kube-proxy.service.j2 +++ b/roles/kube-node/templates/kube-proxy.service.j2 @@ -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