summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2017-10-16 12:57:42 -0500
committerJose A. Rivera <jarrpa@redhat.com>2017-11-08 08:43:42 -0600
commit9b05d632cc263790e619b841684dd05ed8deea88 (patch)
tree3fa0d61a5ff48eae12f89046b110949aed2feb99 /roles
parent196891f1a71fa0f0c74404af773d53ede517025a (diff)
downloadopenshift-9b05d632cc263790e619b841684dd05ed8deea88.tar.gz
openshift-9b05d632cc263790e619b841684dd05ed8deea88.tar.bz2
openshift-9b05d632cc263790e619b841684dd05ed8deea88.tar.xz
openshift-9b05d632cc263790e619b841684dd05ed8deea88.zip
GlusterFS: Specify resource requests
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_storage_glusterfs/files/v3.7/glusterfs-template.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/openshift_storage_glusterfs/files/v3.7/glusterfs-template.yml b/roles/openshift_storage_glusterfs/files/v3.7/glusterfs-template.yml
index 8c5e1ded3..a5962f623 100644
--- a/roles/openshift_storage_glusterfs/files/v3.7/glusterfs-template.yml
+++ b/roles/openshift_storage_glusterfs/files/v3.7/glusterfs-template.yml
@@ -35,6 +35,10 @@ objects:
- name: glusterfs
image: ${IMAGE_NAME}:${IMAGE_VERSION}
imagePullPolicy: IfNotPresent
+ resources:
+ requests:
+ memory: 100Mi
+ cpu: 100m
volumeMounts:
- name: glusterfs-heketi
mountPath: "/var/lib/heketi"
@@ -83,7 +87,6 @@ objects:
periodSeconds: 25
successThreshold: 1
failureThreshold: 15
- resources: {}
terminationMessagePath: "/dev/termination-log"
volumes:
- name: glusterfs-heketi