apache / solr-operator

Official Kubernetes operator for Apache Solr
https://solr.apache.org/operator
Apache License 2.0
243 stars 111 forks source link

Make PodDisruptionBudget an optional feature #538

Closed HoustonPutman closed 1 year ago

HoustonPutman commented 1 year ago

The PDB was added in: https://github.com/apache/solr-operator/issues/471

Not all users are going to want to use a PodDisruptionBudget when running Solr. The feature should be able to be disabled/enabled via the SolrCloud CRD.

When looking at https://github.com/apache/solr-operator/issues/471, there are other options we might want to add like PDBs per-pod. So whatever field we add to the CRD should be expandable to customize other parts of the PDB creation/management.