diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-02-12 11:53:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-12 11:53:43 -0800 |
commit | 31b0dff6385c48ebd3b3c306a2b53e9d9b63b744 (patch) | |
tree | 2d4487b72a7b1b7234359a04d8a9aad84e546414 /roles/openshift_storage_glusterfs/files/v3.6/glusterfs-template.yml | |
parent | 79a487da0a4eeb10776ad312debacf603189ef04 (diff) | |
parent | 27c60fa67aa0c62e48165a40c78223e264070e9a (diff) | |
download | openshift-31b0dff6385c48ebd3b3c306a2b53e9d9b63b744.tar.gz openshift-31b0dff6385c48ebd3b3c306a2b53e9d9b63b744.tar.bz2 openshift-31b0dff6385c48ebd3b3c306a2b53e9d9b63b744.tar.xz openshift-31b0dff6385c48ebd3b3c306a2b53e9d9b63b744.zip |
Merge pull request #7083 from SaravanaStorageNetwork/fix_templates
Automatic merge from submit-queue.
Backport changes for glusterfs and heketi template
Backport changes for glusterfs and heketi template
To avoid unknown parameter errors like GB_GLFS_LRU_COUNT and
HEKETI_FSTAB
Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
Diffstat (limited to 'roles/openshift_storage_glusterfs/files/v3.6/glusterfs-template.yml')
-rw-r--r-- | roles/openshift_storage_glusterfs/files/v3.6/glusterfs-template.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/roles/openshift_storage_glusterfs/files/v3.6/glusterfs-template.yml b/roles/openshift_storage_glusterfs/files/v3.6/glusterfs-template.yml index 8c5e1ded3..09850a2c2 100644 --- a/roles/openshift_storage_glusterfs/files/v3.6/glusterfs-template.yml +++ b/roles/openshift_storage_glusterfs/files/v3.6/glusterfs-template.yml @@ -35,6 +35,15 @@ objects: - name: glusterfs image: ${IMAGE_NAME}:${IMAGE_VERSION} imagePullPolicy: IfNotPresent + env: + - name: GB_GLFS_LRU_COUNT + value: "${GB_GLFS_LRU_COUNT}" + - name: TCMU_LOGDIR + value: "${TCMU_LOGDIR}" + resources: + requests: + memory: 100Mi + cpu: 100m volumeMounts: - name: glusterfs-heketi mountPath: "/var/lib/heketi" @@ -83,7 +92,6 @@ objects: periodSeconds: 25 successThreshold: 1 failureThreshold: 15 - resources: {} terminationMessagePath: "/dev/termination-log" volumes: - name: glusterfs-heketi @@ -134,3 +142,13 @@ parameters: displayName: GlusterFS cluster name description: A unique name to identify which heketi service manages this cluster, useful for running multiple heketi instances value: storage +- name: GB_GLFS_LRU_COUNT + displayName: Maximum number of block hosting volumes + description: This value is to set maximum number of block hosting volumes. + value: "15" + required: true +- name: TCMU_LOGDIR + displayName: Tcmu runner log directory + description: This value is to set tcmu runner log directory + value: "/var/log/glusterfs/gluster-block" + required: true |