Merge "Readiness/Liveness probe for libvirt"

This commit is contained in:
Zuul 2019-04-05 00:55:38 +00:00 committed by Gerrit Code Review
commit 62b065cd9f

View File

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