Merge "Readiness/Liveness probe for libvirt"
This commit is contained in:
commit
62b065cd9f
@ -125,6 +125,18 @@ spec:
|
|||||||
- name: LIBVIRT_CEPH_CINDER_SECRET_UUID
|
- name: LIBVIRT_CEPH_CINDER_SECRET_UUID
|
||||||
value: "{{ .Values.conf.ceph.cinder.secret_uuid }}"
|
value: "{{ .Values.conf.ceph.cinder.secret_uuid }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
readinessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- /usr/bin/virsh list
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- /usr/bin/virsh list
|
||||||
command:
|
command:
|
||||||
- /tmp/libvirt.sh
|
- /tmp/libvirt.sh
|
||||||
lifecycle:
|
lifecycle:
|
||||||
|
Loading…
Reference in New Issue
Block a user