From 9de8f4612ea539c3f9bae7865eb22be8767d06d5 Mon Sep 17 00:00:00 2001 From: Stuart Rowlands Date: Fri, 20 Oct 2023 06:53:13 +1000 Subject: [PATCH] More lenient probes. --- charts/drupal-nextjs/Chart.yaml | 2 +- charts/drupal-nextjs/templates/deployment.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/drupal-nextjs/Chart.yaml b/charts/drupal-nextjs/Chart.yaml index 7332aee..898e560 100644 --- a/charts/drupal-nextjs/Chart.yaml +++ b/charts/drupal-nextjs/Chart.yaml @@ -15,4 +15,4 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.29 +version: 0.1.30 diff --git a/charts/drupal-nextjs/templates/deployment.yaml b/charts/drupal-nextjs/templates/deployment.yaml index 0a2cfeb..412e5de 100644 --- a/charts/drupal-nextjs/templates/deployment.yaml +++ b/charts/drupal-nextjs/templates/deployment.yaml @@ -62,20 +62,20 @@ spec: protocol: TCP readinessProbe: failureThreshold: 30 - initialDelaySeconds: 2 + initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 tcpSocket: port: {{ .Values.images.drupal.port }} - timeoutSeconds: 1 + timeoutSeconds: 5 livenessProbe: failureThreshold: 3 - initialDelaySeconds: 2 + initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 tcpSocket: port: {{ .Values.images.drupal.port }} - timeoutSeconds: 1 + timeoutSeconds: 5 envFrom: - configMapRef: name: "{{ .Values.images.drupal.name }}-config-{{ .Values.appEnvironment }}"