improbable-eng / etcd-cluster-operator

A controller to deploy and manage etcd clusters inside of Kubernetes
MIT License
128 stars 35 forks source link

Add support for PodDisruptionBudgets #186

Open cheahjs opened 4 years ago

cheahjs commented 4 years ago

The operator should add a PodDisruptionBudget by default such that cluster quorum is not lost.

For an initial version, adding a PDB with minAvailable set to (number of replicas/2)+1 should be sufficient. For future improvement, the operator could monitor the health of the etcd cluster and dynamically adjust the PDB.