apache / solr-operator

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

Disabling PodDisruptionBudgets for both zk pods and solr pods #699

Closed crptz closed 3 weeks ago

crptz commented 2 months ago

Hello everyone,

Docs specify that I can disable PodDisruptionBudgets by just setting availability.podDisruptionBudget.enabled = false

This disables only the Solr PodDisruptionBudgets and not the zk PodDisruptionBudgets.

If we read further on docs I can see we have: zk.provided.maxUnavailableReplicas with default value to 1

but there is no available value to specify to disable the PDB for zk.

Also changing the value of zk.provided.maxUnavailableReplicas it doesn't work either. I set the value to 0 and it doesn't change anything.

So how can I disable the PDB for zk?

Cheers

HoustonPutman commented 3 weeks ago

Have you checked with the zookeeper operator that they give an option to disable it?

crptz commented 3 weeks ago

sorry for my ignorance but are you referring to these values?

They don't mention anything about podDisruptionBudget.

HoustonPutman commented 3 weeks ago

It would actually be the zookeeper chart values but I don't see it there either. If the zookeeper operator doesn't give the ability to disable podDistruptionBudgets for zk clusters, there's really nothing we can do to help unfortunately.