Skip to content

Values in CRDs for liveness/readiness/startup probes not reflecting after Helm upgrade #583

@citiatish

Description

@citiatish

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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingchart( operator )Related to the operator (cloudnative-pg) chart

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions