Correct kubernetes example (#45)

resolves #44

Co-authored-by: mfoley <mfoley@manh.com>
This commit is contained in:
Michael Foleyandmfoley authored and GitHub committed 2020-04-27 17:07:46 -05:00
1 parent d6093e0cd6
commit da321b9a53
1 file changed
+24 -18
+24 -18
View File
@@ -38,24 +38,30 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: data name: data
livenessProbe: livenessProbe:
exec: exec:
command: command:
- /usr/local/bin/mc-monitor - /usr/local/bin/mc-monitor
- status-bedrock - status-bedrock
- --host localhost - --host
- --port 19132 - 127.0.0.1
initialDelaySeconds: 10 - --port
timeoutSeconds: 10 - "19132"
readinessProbe: initialDelaySeconds: 120
exec: timeoutSeconds: 10
command: failureThreshold: 10
- /usr/local/bin/mc-monitor readinessProbe:
- status-bedrock exec:
- --host localhost command:
- --port 19132 - /usr/local/bin/mc-monitor
initialDelaySeconds: 10 - status-bedrock
periodSeconds: 10 - --host
- 127.0.0.1
- --port
- "19132"
initialDelaySeconds: 120
periodSeconds: 10
failureThreshold: 10
volumes: volumes:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim: