-
Notifications
You must be signed in to change notification settings - Fork 197
Description
We are trying to update the default failureThreshold, initialDelaySeconds and timeoutSeconds for the liveness, readiness, and startup probes in our CloudNativePG setup.
Here is the relevant section in crds.yaml we've updated:
probes:
description: |-
The configuration of the probes to be injected
in the PostgreSQL Pods.
properties:
liveness:
description: The liveness probe configuration
properties:
failureThreshold:
description: |-
Minimum consecutive failures for the probe to be considered failed after having succeeded.
Defaults to 3. Minimum value is 1.
format: int32
type: integer
default: 6
However, after upgrading the Helm chart, the new values are not reflected in the deployed Pods. The probes still show the old/default value of failureThreshold: 3.
Example pod details:
Liveness: http-get https://:8000/healthz delay=0s timeout=5s period=10s #success=1 #failure=3
Readiness: http-get https://:8000/readyz delay=0s timeout=5s period=10s #success=1 #failure=3
Startup: http-get https://:8000/healthz delay=0s timeout=5s period=10s #success=1 #failure=360
We’d like to understand:
• Is updating crds.yaml the correct approach to change default probe behavior?
• If yes, is there an additional step needed for these changes to take effect?
• Or is there an override that should be applied elsewhere (e.g. in a custom resource or chart values)?