parent
ca62c75bdf
commit
6a4ce96b7d
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,9 @@ kubelet_bind_address: "{{ ip | default('0.0.0.0') }}"
|
||||||
# resolv.conf to base dns config
|
# resolv.conf to base dns config
|
||||||
kube_resolv_conf: "/etc/resolv.conf"
|
kube_resolv_conf: "/etc/resolv.conf"
|
||||||
|
|
||||||
|
# bind address for kube-proxy health check
|
||||||
|
kube_proxy_healthz_bind_address: "127.0.0.1"
|
||||||
|
|
||||||
# Can be ipvs, iptables
|
# Can be ipvs, iptables
|
||||||
kube_proxy_mode: iptables
|
kube_proxy_mode: iptables
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
||||||
- --cluster-cidr={{ kube_pods_subnet }}
|
- --cluster-cidr={{ kube_pods_subnet }}
|
||||||
- --proxy-mode={{ kube_proxy_mode }}
|
- --proxy-mode={{ kube_proxy_mode }}
|
||||||
- --oom-score-adj=-998
|
- --oom-score-adj=-998
|
||||||
- --healthz-bind-address=127.0.0.1
|
- --healthz-bind-address={{ kube_proxy_healthz_bind_address }}
|
||||||
{% if kube_proxy_masquerade_all and kube_proxy_mode == "iptables" %}
|
{% if kube_proxy_masquerade_all and kube_proxy_mode == "iptables" %}
|
||||||
- --masquerade-all
|
- --masquerade-all
|
||||||
{% elif kube_proxy_mode == 'ipvs' %}
|
{% elif kube_proxy_mode == 'ipvs' %}
|
||||||
|
|
Loading…
Reference in a new issue