浏览代码

Merge pull request #7831 from nixpanic/pr/glusterfs-modprobe

GlusterFS: enable modprobe in pods that manage bricks
Michael Gugino 7 年之前
父节点
当前提交
907d9424d4
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      roles/openshift_storage_glusterfs/files/glusterfs-template.yml

+ 6 - 0
roles/openshift_storage_glusterfs/files/glusterfs-template.yml

@@ -69,6 +69,9 @@ objects:
           - name: glusterfs-ssl
             mountPath: "/etc/ssl"
             readOnly: true
+          - name: kernel-modules
+            mountPath: "/usr/lib/modules"
+            readOnly: true
           - name: glusterfs-target
             mountPath: "/etc/target"
           securityContext:
@@ -127,6 +130,9 @@ objects:
         - name: glusterfs-ssl
           hostPath:
             path: "/etc/ssl"
+        - name: kernel-modules
+          hostPath:
+            path: "/usr/lib/modules"
         - name: glusterfs-target
           hostPath:
             path: "/etc/target"