From 55fca6793fb1481d6176f4aabcb0a4bca1c18ab0 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Wed, 7 Jun 2017 00:21:31 +0000 Subject: [PATCH] joomla: fix probes to properly query pod health (#1161) --- stable/joomla/templates/deployment.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/stable/joomla/templates/deployment.yaml b/stable/joomla/templates/deployment.yaml index 215f040b37..369944dd35 100644 --- a/stable/joomla/templates/deployment.yaml +++ b/stable/joomla/templates/deployment.yaml @@ -57,16 +57,18 @@ spec: containerPort: 443 livenessProbe: httpGet: - path: / + path: /index.php port: http initialDelaySeconds: 120 timeoutSeconds: 5 + failureThreshold: 6 readinessProbe: httpGet: - path: / + path: /index.php port: http - initialDelaySeconds: 5 - timeoutSeconds: 1 + initialDelaySeconds: 30 + timeoutSeconds: 3 + periodSeconds: 5 resources: {{ toYaml .Values.resources | indent 10 }} volumeMounts: