mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Fix liveness probe for cilium operator (#6016)
This commit is contained in:
@@ -89,6 +89,11 @@ spec:
|
|||||||
name: cilium-operator
|
name: cilium-operator
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
{% if cilium_enable_ipv4 %}
|
||||||
|
host: 127.0.0.1
|
||||||
|
{% else %}
|
||||||
|
host: host: '[::1]'
|
||||||
|
{% endif %}
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: 9234
|
port: 9234
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
@@ -107,6 +112,7 @@ spec:
|
|||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
serviceAccount: cilium-operator
|
serviceAccount: cilium-operator
|
||||||
serviceAccountName: cilium-operator
|
serviceAccountName: cilium-operator
|
||||||
|
hostNetwork: true
|
||||||
volumes:
|
volumes:
|
||||||
# To read the etcd config stored in config maps
|
# To read the etcd config stored in config maps
|
||||||
- configMap:
|
- configMap:
|
||||||
|
|||||||
Reference in New Issue
Block a user