Add mc-monitor to docker image to support healthchecks (#39)

This commit is contained in:
Michael Foley authored and GitHub committed 2020-04-21 17:26:25 -05:00
1 parent dab156f8c8
commit 60933c88b1
2 files changed
+24 -1

No files matched your search

+18
View File
@@ -38,6 +38,24 @@ spec:
volumeMounts:
- mountPath: /data
name: data
livenessProbe:
exec:
command:
- /usr/local/bin/mc-monitor
- status-bedrock
- --host localhost
- --port 19132
initialDelaySeconds: 10
timeoutSeconds: 10
readinessProbe:
exec:
command:
- /usr/local/bin/mc-monitor
- status-bedrock
- --host localhost
- --port 19132
initialDelaySeconds: 10
periodSeconds: 10
volumes:
- name: data
persistentVolumeClaim: