[indico-web] Switch to httpGet for indico liveness probes



commit 459de47bff58c02a39496a1b3f76a211c53c6ae1
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Nov 28 11:00:56 2019 +0100

    Switch to httpGet for indico liveness probes

 oscp.yml | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/oscp.yml b/oscp.yml
index f99fc4c..7fe3702 100644
--- a/oscp.yml
+++ b/oscp.yml
@@ -136,17 +136,15 @@ objects:
           args:
           - ./opt/indico/run_indico.sh
           livenessProbe:
-            exec:
-              command:
-              - curl
-              - 127.0.0.1:59999/contact
+            httpGet:
+              path: /contact
+              port: 59999
             initialDelaySeconds: 120
             timeoutSeconds: 20
           readinessProbe:
-            exec:
-              command:
-              - curl
-              - 127.0.0.1:59999/contact
+            httpGet:
+              path: /contact
+              port: 59999
             initialDelaySeconds: 60
             timeoutSeconds: 20
           env:


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