Fix liveness probe for cilium operator (#6016)

pull/6034/head
Qasim Sarfraz 2020-04-27 02:59:29 -04:00 committed by GitHub
parent d8345c5eae
commit 52edd4c9bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,11 @@ spec:
name: cilium-operator
livenessProbe:
httpGet:
{% if cilium_enable_ipv4 %}
host: 127.0.0.1
{% else %}
host: host: '[::1]'
{% endif %}
path: /healthz
port: 9234
scheme: HTTP
@ -107,6 +112,7 @@ spec:
restartPolicy: Always
serviceAccount: cilium-operator
serviceAccountName: cilium-operator
hostNetwork: true
volumes:
# To read the etcd config stored in config maps
- configMap: