Skip to content
Snippets Groups Projects
Commit 42a0f462 authored by Andreas Krüger's avatar Andreas Krüger Committed by Matthew Mosesohn
Browse files

Add health check to kube proxy (#2356)

Adding health checking to kube proxy. Fixes #2308
parent d84ff06f
No related branches found
No related tags found
No related merge requests found
......@@ -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' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment