Add liveness Delay for slow systems. Correct README chart parameters

This commit is contained in:
Rob Parker
2017-09-14 11:02:58 +01:00
parent a22637b043
commit 78ec896c03
4 changed files with 37 additions and 28 deletions

View File

@@ -40,7 +40,7 @@ spec:
containers:
- name: qmgr
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 1414
env:
@@ -56,9 +56,9 @@ spec:
# Set liveness probe to determine if the queue manager is running
livenessProbe:
exec:
command:
command:
- chkmqhealthy
initialDelaySeconds: 60
initialDelaySeconds: {{ .Values.livenessDelay }}
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 1
@@ -92,5 +92,5 @@ spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: {{ .Values.data.persistence.size | quote }}
storage: {{ .Values.data.persistence.size | quote }}
{{- end }}