From da321b9a539f764040eaba6dcdf51bb761341326 Mon Sep 17 00:00:00 2001 From: Michael Foley Date: Mon, 27 Apr 2020 18:07:46 -0400 Subject: [PATCH] Correct kubernetes example (#45) resolves #44 Co-authored-by: mfoley --- examples/kubernetes.yml | 42 +++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/examples/kubernetes.yml b/examples/kubernetes.yml index d946275..cb0b823 100644 --- a/examples/kubernetes.yml +++ b/examples/kubernetes.yml @@ -38,24 +38,30 @@ 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 + livenessProbe: + exec: + command: + - /usr/local/bin/mc-monitor + - status-bedrock + - --host + - 127.0.0.1 + - --port + - "19132" + initialDelaySeconds: 120 + timeoutSeconds: 10 + failureThreshold: 10 + readinessProbe: + exec: + command: + - /usr/local/bin/mc-monitor + - status-bedrock + - --host + - 127.0.0.1 + - --port + - "19132" + initialDelaySeconds: 120 + periodSeconds: 10 + failureThreshold: 10 volumes: - name: data persistentVolumeClaim: