Readiness/Liveness probe for libvirt
Adding the check "virsh list" to accomplish readiness/liveness probe for libvirt Change-Id: I5f16c0a83327d9350b968a3f9b2588df1d76fb30
This commit is contained in:
parent
8673bdda53
commit
dfe3dddb31
@ -125,6 +125,18 @@ spec:
|
||||
- name: LIBVIRT_CEPH_CINDER_SECRET_UUID
|
||||
value: "{{ .Values.conf.ceph.cinder.secret_uuid }}"
|
||||
{{ end }}
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- bash
|
||||
- -c
|
||||
- /usr/bin/virsh list
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- bash
|
||||
- -c
|
||||
- /usr/bin/virsh list
|
||||
command:
|
||||
- /tmp/libvirt.sh
|
||||
lifecycle:
|
||||
|
Loading…
x
Reference in New Issue
Block a user