minAvailable can be either an absolute number or a percentage. spec.minAvailable which is a description of the number of pods from that set that must still be available after the eviction, even in the absence of the evicted pod. lector to specify the set of pods to which it applies. PDBs can be used to protect a wide variety of workloads, including:
If it is not, the scheduler will not evict the pod. If the scheduler needs to evict a pod that is covered by a PDB, it will first check to make sure that the minAvailable requirement is still met. Which K8 resources can be used with PodDisruptionBudget To achieve this, you create a Pod Disruption Budget for the application. You want to ensure that, during maintenance or scaling activities, at least a certain number of Pods remain running to maintain the application’s availability. Imagine you have a critical application running in your Kubernetes cluster with multiple replicas to ensure redundancy. List of all kubectl commands to work with poddisruptionbudgets.
Which K8 resources can be used with PodDisruptionBudget.