Add mc-monitor to docker image to support healthchecks (#39)
This commit is contained in:
1 parent
dab156f8c8
commit
60933c88b1
2 files changed
+24
-1
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user