From 2269531cc4025f5f31f4c36dfb4d08459f7a568c Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Sat, 21 Jan 2023 20:17:15 -0500 Subject: [PATCH] Improve postgres liveness probes Large databases cannot be cloned in time w/ current probes. This gives a bit more headroom at least. --- postgres/helm/postgres/Chart.yaml | 2 +- postgres/helm/postgres/values.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/postgres/helm/postgres/Chart.yaml b/postgres/helm/postgres/Chart.yaml index f1a310624..11f37daff 100644 --- a/postgres/helm/postgres/Chart.yaml +++ b/postgres/helm/postgres/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: postgres description: A Helm chart for deploying the zalando postgres operator type: application -version: 0.2.11 +version: 0.2.12 appVersion: "1.8.2" diff --git a/postgres/helm/postgres/values.yaml b/postgres/helm/postgres/values.yaml index 6a89a9f1f..33d864b1b 100644 --- a/postgres/helm/postgres/values.yaml +++ b/postgres/helm/postgres/values.yaml @@ -177,13 +177,13 @@ configKubernetes: watched_namespace: "*" # listen to all namespaces liveness_probe: - failureThreshold: 3 + failureThreshold: 6 httpGet: path: /readiness port: 8008 scheme: HTTP - initialDelaySeconds: 10 - periodSeconds: 10 + initialDelaySeconds: 15 + periodSeconds: 60 successThreshold: 1 timeoutSeconds: 5