From a7667604c71db82ec4a1c2bd06bb179eea9431a1 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sat, 10 Jun 2023 08:51:56 +0100 Subject: [PATCH] Added startup probe to nextcloud Signed-off-by: Marcus Noble --- manifests/nextcloud_chart/manifest.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/manifests/nextcloud_chart/manifest.yaml b/manifests/nextcloud_chart/manifest.yaml index 28a04be..c92d83e 100644 --- a/manifests/nextcloud_chart/manifest.yaml +++ b/manifests/nextcloud_chart/manifest.yaml @@ -282,6 +282,16 @@ spec: timeoutSeconds: 5 successThreshold: 1 failureThreshold: 3 + # Cover case where upgrade is being performed + startupProbe: + httpGet: + path: /status.php + port: http + httpHeaders: + - name: Host + value: "nextcloud.cluster.fun" + failureThreshold: 30 + periodSeconds: 10 resources: requests: memory: 450Mi