From e64b321720ab2e44d08876b345affd2c4e3e6fb7 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Thu, 10 Jan 2019 12:37:52 +0530 Subject: [PATCH] Enable lvmetad and udev within the GD2 container --- deploy/templates/gcs-manifests/gcs-gd2.yml.j2 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/deploy/templates/gcs-manifests/gcs-gd2.yml.j2 b/deploy/templates/gcs-manifests/gcs-gd2.yml.j2 index 524d82f..65b7326 100644 --- a/deploy/templates/gcs-manifests/gcs-gd2.yml.j2 +++ b/deploy/templates/gcs-manifests/gcs-gd2.yml.j2 @@ -64,8 +64,16 @@ spec: - name: gluster-cgroup mountPath: "/sys/fs/cgroup" readOnly: true + - name: gluster-run + mountPath: "/run" - name: gluster-lvm mountPath: "/run/lvm" + - name: gluster-lvm-lvmetad + mountPath: "/run/lvm/lvmetad.socket" + - name: gluster-udev + mountPath: "/run/udev" + - name: gluster-udev-control + mountPath: "/run/udev/control" - name: gluster-kmods mountPath: "/usr/lib/modules" readOnly: true @@ -80,9 +88,20 @@ spec: - name: gluster-cgroup hostPath: path: "/sys/fs/cgroup" + - name: gluster-run + emptyDir: {} - name: gluster-lvm hostPath: path: "/run/lvm" + - name: gluster-lvm-lvmetad + hostPath: + path: "/run/lvm/lvmetad.socket" + - name: gluster-udev + hostPath: + path: "/run/udev" + - name: gluster-udev-control + hostPath: + path: "/run/udev/control" - name: gluster-kmods hostPath: path: "/usr/lib/modules"