kubeslice / worker-operator

Kubeslice Worker Operator Opensource Repository: The KubeSlice Worker Operator is a Kubernetes operator that manages the lifecycle of KubeSlice worker clusters.
Apache License 2.0
58 stars 19 forks source link

Add PodDisruptionBudget for operator #292

Closed Rahul-D78 closed 9 months ago

Rahul-D78 commented 10 months ago

Ensure the service interruption is limited when its pods need to be rescheduled such as:

https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#voluntary-and-involuntary-disruptions

PodDisruptionBudgets are used to provide detailed information to the kube-scheduler about how many pods in a collection can be available or unavailable at given time. For more info, see the docs at https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets

Rahul-D78 commented 9 months ago

Not required since currently we have a single replica of operator.