Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions roles/openshift_storage_glusterfs/files/glusterfs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ objects:
image: ${IMAGE_NAME}
imagePullPolicy: IfNotPresent
env:
- name: GLUSTER_BLOCKD_STATUS_PROBE_ENABLE
value: "${GLUSTER_BLOCKD_STATUS_PROBE_ENABLE}"
- name: GB_GLFS_LRU_COUNT
value: "${GB_GLFS_LRU_COUNT}"
- name: TCMU_LOGDIR
Expand Down Expand Up @@ -86,7 +88,7 @@ objects:
command:
- "/bin/bash"
- "-c"
- systemctl status glusterd.service
- "if command -v /usr/local/bin/status-probe.sh; then /usr/local/bin/status-probe.sh readiness; else systemctl status glusterd.service; fi"
periodSeconds: 25
successThreshold: 1
failureThreshold: 50
Expand All @@ -97,7 +99,7 @@ objects:
command:
- "/bin/bash"
- "-c"
- systemctl status glusterd.service
- "if command -v /usr/local/bin/status-probe.sh; then /usr/local/bin/status-probe.sh liveness; else systemctl status glusterd.service; fi"
periodSeconds: 25
successThreshold: 1
failureThreshold: 50
Expand Down Expand Up @@ -147,6 +149,11 @@ parameters:
displayName: Daemonset Node Labels
description: Labels which define the daemonset node selector. Must contain at least one label of the format \'glusterfs=<CLUSTER_NAME>-host\'
value: '{ "glusterfs": "storage-host" }'
- name: GLUSTER_BLOCKD_STATUS_PROBE_ENABLE
displayName: Enable readiness/liveness probe for gluster-blockd
description: Setting the value to "1" enables the readiness/liveness probe for gluster-blockd.
value: "1"
required: false
- name: IMAGE_NAME
displayName: GlusterFS container image name
required: True
Expand Down