Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The PDB doc gave an example of a custom PDB with `maxUnavailable: 2`. Unfortunately this can only work with a builtin controller selector (eg. matching a StatefulSet or a deployment). It does not do anything with our custom cluster name label selector. This commit changes it by relying on `minAvailable` instead, and gives more details about how the PDB is set to allow one Pod to be taken down only if the cluster health is green.
- Loading branch information