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

Tired of using Kubectl? 😓

Experience hassle-free Kubernetes management with a powerful GUI.

Screenshot of Aptakube showing a list of pods from 2 clusters in a single view