Add nova-libvirt upgrade\restart requirments

We need hostPID and shared cgroups mount to be able to
restart libvirt pod without killing the running VMs

Change-Id: Iaa18741cd361d285e2642698e8ab43e03cc8374a
Depends-On: I25963490faf3f17b3eb1752ce2ae0ec2ae531d93
This commit is contained in:
Proskurin Kirill
2016-10-20 17:40:46 +00:00
parent 8e8c41971f
commit 82b8b1f1aa

View File

@@ -1,6 +1,7 @@
service:
name: nova-libvirt
host-net: true
hostPID: true
daemonset: true
containers:
- name: nova-libvirt
@@ -22,6 +23,9 @@ service:
- name: libvirt
type: host
path: /var/lib/libvirt
- name: cgroup
type: host
path: /sys/fs/cgroup
pre:
- name: nova-libvirt-bootstrap
command: /tmp/nova-libvirt-bootstrap.sh