-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Would there happen to be a way for the rollout-operator to enact on pods when a given pod label or annotation is applied to it?
The Kubernetes cluster that our Mimir statefulsets run on have a 15-day node cycling enforcement. Due to the PDB only allowing 1 maxDisruption for the entire fleet of a statefulset (for example, ingesters in zones 1, 2, and 3), cycling all nodes in a kubernetes cluster can take up to a week.
This means that the system is left exposed to any upstream failures that the cloud provider may experience while the node cycling is occurring.
The cycling mechanism can either utilize a PDB or apply an annotation to the Mimir statefulset pods to have another system cycle the pods onto a new node.
The question I have is whether the rollout-operator can enact on these annotations in order to safely delete the pods at a quicker rate (due to more than 1 pod in a zone can be deleted if all other zones are still up) than 1-by-1 with the current PDB enforcement.