[nextcloud-web] Turn readiness and liveness probes into httpget ones



commit 5e3cb6e1225a3402b6d01a3fc59e9c9dc32a10c4
Author: Andrea Veri <averi redhat com>
Date:   Thu Mar 7 00:04:37 2019 +0100

    Turn readiness and liveness probes into httpget ones

 templates/nextcloud.yaml | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/templates/nextcloud.yaml b/templates/nextcloud.yaml
index 30bc136..7f6318e 100644
--- a/templates/nextcloud.yaml
+++ b/templates/nextcloud.yaml
@@ -158,23 +158,26 @@ objects:
           imagePullPolicy: Always
           livenessProbe:
             failureThreshold: 3
+            httpGet:
+              path: /robots.txt
+              port: 8443
+              scheme: HTTPS
             initialDelaySeconds: 1
             periodSeconds: 10
             successThreshold: 1
-            tcpSocket:
-              port: 8443
             timeoutSeconds: 1
           name: nginx
           ports:
           - containerPort: 8443
             protocol: TCP
           readinessProbe:
-            failureThreshold: 3
+            httpGet:
+              path: /robots.txt
+              port: 8443
+              scheme: HTTPS
             initialDelaySeconds: 1
             periodSeconds: 10
             successThreshold: 1
-            tcpSocket:
-              port: 8443
             timeoutSeconds: 1
           resources: {}
           terminationMessagePath: /dev/termination-log


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]