Skip to content

psmdb-operator chart has no PodDisruptionBudget for the operator Deployment #942

Description

@guanchzhou

The psmdb-operator chart exposes replicaCount, nodeSelector, affinity, and tolerations, but it does not render a PodDisruptionBudget.

Scheduled backups run in the operator leader process (robfig/cron), not as Kubernetes CronJobs. A missed tick is not backfilled. Voluntary disruption of the only replica at the scheduled time skips that backup.

A PDB does not help when replicaCount is 1 and maxUnavailable is 1 (eviction of the only pod is still allowed). The useful combination is replicaCount >= 2 with maxUnavailable: 1.

Please add an optional podDisruptionBudget block, default disabled so replicaCount: 1 stays unchanged, documented in the README.

Related: percona/percona-server-mongodb-operator#2526

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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