Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix PDB Behavior for Single-Instance PostgreSQL Deployments #2988

@vsamidurai

Description

@vsamidurai

When the controller deployed with enable_pod_disruption_budget, it applies the same configuration to all PostgreSQL deployments, including those with numberOfInstances = 1.
For single-instance PostgreSQL setups, this results in a PDB that requires at least one pod to be available at all times.
Because the deployment only has one pod, Kubernetes blocks node draining and node rotation operations, causing operational friction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions