ReadinessProbe for OVS-DB Pod
This implementation is to add readiness probe to ovs-db pod. The goal is to check if the db.sock is connected by executing ovs-vsctl command to list the Open_vswitch configuration table. Change-Id: Idd4382d95d07ffff94a30bcb7ac132b88e9d6de1
This commit is contained in:
parent
cb021c2124
commit
7c7d7eb7dd
@ -52,6 +52,15 @@ spec:
|
||||
- name: openvswitch-db
|
||||
{{ tuple $envAll "openvswitch_db_server" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||
{{ tuple $envAll $envAll.Values.pod.resources.ovs.db | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /usr/bin/ovs-vsctl
|
||||
- list
|
||||
- Open_Vswitch
|
||||
initialDelaySeconds: 90
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
livenessProbe:
|
||||
|
Loading…
Reference in New Issue
Block a user