From db12f5b748002b0482397366aaa504bce14af487 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Wed, 7 Jun 2017 00:22:56 +0000 Subject: [PATCH] dokuwiki: fix probes to properly query pod health (#1152) --- stable/dokuwiki/Chart.yaml | 2 +- stable/dokuwiki/templates/deployment.yaml | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/stable/dokuwiki/Chart.yaml b/stable/dokuwiki/Chart.yaml index 5c12ba6e1e..77e431bddc 100644 --- a/stable/dokuwiki/Chart.yaml +++ b/stable/dokuwiki/Chart.yaml @@ -1,5 +1,5 @@ name: dokuwiki -version: 0.1.4 +version: 0.1.5 description: DokuWiki is a standards-compliant, simple to use wiki optimized for creating documentation. It is targeted at developer teams, workgroups, and small companies. All data is stored in plain text files, so no database is required. keywords: - dokuwiki diff --git a/stable/dokuwiki/templates/deployment.yaml b/stable/dokuwiki/templates/deployment.yaml index b0002b6cf8..5576760758 100644 --- a/stable/dokuwiki/templates/deployment.yaml +++ b/stable/dokuwiki/templates/deployment.yaml @@ -38,16 +38,18 @@ spec: containerPort: 443 livenessProbe: httpGet: - path: / + path: /doku.php port: http initialDelaySeconds: 120 timeoutSeconds: 5 + failureThreshold: 6 readinessProbe: httpGet: - path: / + path: /doku.php port: http - initialDelaySeconds: 5 - timeoutSeconds: 1 + initialDelaySeconds: 30 + timeoutSeconds: 3 + periodSeconds: 5 resources: {{ toYaml .Values.resources | indent 10 }} volumeMounts: