policy/v1 ยท Namespaced Resource
PodDisruptionBudget
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
Looking for some examples?
There are 2 examples of PodDisruptionBudget that you can use as a starting point to create your own.
apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: pdb-pricing-calculator namespace: pricing spec: maxUnavailable: '20%' # 20% of the pods can be unavailable at any given time selector: matchLabels: app: pricing-calculator # The pods that this PDB will apply to