added resources for init container (#6520)

* added resources for init container

* Bumped version

* removing blank lines for linting to pass
This commit is contained in:
Michael Gaida
2018-08-28 14:59:20 -07:00
committed by Lachlan Evenson
parent 9896fdffeb
commit 00345d2e29
3 changed files with 17 additions and 8 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: rabbitmq-ha
apiVersion: v1
appVersion: 3.7.4
version: 1.9.0
version: 1.9.1
description: Highly available RabbitMQ cluster, the open source message broker
software that implements the Advanced Message Queuing Protocol (AMQP).
keywords:
@@ -44,6 +44,8 @@ spec:
- name: copy-rabbitmq-config
image: busybox
command: ['sh', '-c', 'cp /configmap/* /etc/rabbitmq; rm -f /var/lib/rabbitmq/.erlang.cookie']
resources:
{{ toYaml .Values.initContainer.resources | indent 12 }}
volumeMounts:
- name: configmap
mountPath: /configmap
+14 -7
View File
@@ -218,13 +218,20 @@ updateStrategy: OnDelete
## rabbitmqMemoryHighWatermark = 0.4 * resources.limits.memory
##
resources: {}
# limits:
# cpu: 100m
# memory: 1Gi
# requests:
# cpu: 100m
# memory: 1Gi
# limits:
# cpu: 100mm
# memory: 1Gi
# requests:
# cpu: 100mm
# memory: 1Gi
initContainer: {}
# resources:
# limits:
# cpu: 100mm
# memory: 128Mi
# requests:
# cpu: 100mm
# memory: 128Mi
## Data Persistency
persistentVolume: