Liveness probes for OpenVSwitch daemons.
Uses ovs-vsctl for ovs-db Uses ovs-appctl for ovs-vswitchd as "ovs-vsctl show" does not talk to ovs-vswitchd. Change-Id: Ia0b84e3546ff1693676ca61370e1344d75b6e308
This commit is contained in:
parent
032740957e
commit
aef0ff7810
@ -54,6 +54,14 @@ spec:
|
||||
{{ tuple $envAll $envAll.Values.pod.resources.ovs.db | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /usr/bin/ovs-vsctl
|
||||
- show
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
command:
|
||||
- /tmp/openvswitch-db-server.sh
|
||||
- start
|
||||
|
@ -81,6 +81,14 @@ spec:
|
||||
command:
|
||||
- /usr/bin/ovs-vsctl
|
||||
- show
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /usr/bin/ovs-appctl
|
||||
- bond/list
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
command:
|
||||
- /tmp/openvswitch-vswitchd.sh
|
||||
- start
|
||||
|
Loading…
Reference in New Issue
Block a user