diff --git a/charts/matrix-stack/source/postgres.yaml.j2 b/charts/matrix-stack/source/postgres.yaml.j2 index 27027b32..fe5c6924 100644 --- a/charts/matrix-stack/source/postgres.yaml.j2 +++ b/charts/matrix-stack/source/postgres.yaml.j2 @@ -1,5 +1,5 @@ {# -Copyright 2024 New Vector Ltd +Copyright 2024-2025 New Vector Ltd SPDX-License-Identifier: AGPL-3.0-only #} @@ -32,6 +32,6 @@ essPasswords: {{- sub_schema_values.serviceMonitors() }} {{- sub_schema_values.tolerations() }} {{- sub_schema_values.topologySpreadConstraints() }} -{{- sub_schema_values.probe("liveness", initialDelaySeconds=45, timeoutSeconds=2) }} -{{- sub_schema_values.probe("readiness", initialDelaySeconds=15, timeoutSeconds=2) }} -{{- sub_schema_values.probe("startup") }} +{{- sub_schema_values.probe("liveness", timeoutSeconds=2) }} +{{- sub_schema_values.probe("readiness", timeoutSeconds=2) }} +{{- sub_schema_values.probe("startup", failureThreshold=8) }} diff --git a/charts/matrix-stack/values.yaml b/charts/matrix-stack/values.yaml index 76edb7ea..fd7ae8f6 100644 --- a/charts/matrix-stack/values.yaml +++ b/charts/matrix-stack/values.yaml @@ -1919,7 +1919,7 @@ postgres: failureThreshold: 3 ## Number of seconds after the container has started before the probe starts - initialDelaySeconds: 45 + initialDelaySeconds: 0 ## How often (in seconds) to perform the probe periodSeconds: 10 @@ -1935,7 +1935,7 @@ postgres: failureThreshold: 3 ## Number of seconds after the container has started before the probe starts - initialDelaySeconds: 15 + initialDelaySeconds: 0 ## How often (in seconds) to perform the probe periodSeconds: 10 @@ -1948,7 +1948,7 @@ postgres: ## Configuration of the thresholds and frequencies of the startupProbe startupProbe: ## How many consecutive failures for the probe to be considered failed - failureThreshold: 3 + failureThreshold: 8 ## Number of seconds after the container has started before the probe starts initialDelaySeconds: 0