|
|
@ -23,6 +23,16 @@ spec: |
|
|
|
requests: |
|
|
|
cpu: {{ kube_proxy_cpu_requests }} |
|
|
|
memory: {{ kube_proxy_memory_requests }} |
|
|
|
livenessProbe: |
|
|
|
httpGet: |
|
|
|
host: 127.0.0.1 |
|
|
|
path: /healthz |
|
|
|
port: 10256 |
|
|
|
failureThreshold: 8 |
|
|
|
initialDelaySeconds: 15 |
|
|
|
periodSeconds: 10 |
|
|
|
successThreshold: 1 |
|
|
|
timeoutSeconds: 15 |
|
|
|
command: |
|
|
|
- /hyperkube |
|
|
|
- proxy |
|
|
@ -32,6 +42,7 @@ spec: |
|
|
|
- --cluster-cidr={{ kube_pods_subnet }} |
|
|
|
- --proxy-mode={{ kube_proxy_mode }} |
|
|
|
- --oom-score-adj=-998 |
|
|
|
- --healthz-bind-address=127.0.0.1 |
|
|
|
{% if kube_proxy_masquerade_all and kube_proxy_mode == "iptables" %} |
|
|
|
- --masquerade-all |
|
|
|
{% elif kube_proxy_mode == 'ipvs' %} |
|
|
|