Merge "Liveness probes for OpenVSwitch daemons."

This commit is contained in:
Zuul 2019-01-29 23:06:07 +00:00 committed by Gerrit Code Review
commit a6aabe0feb
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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