Skip to main content

Pod Disruption Budget (PDB)

In Kubernetes or Openshift you can set the Pod Disruption Budget for your application or microservice.(The podDisruptionBudget object)
This page explains you how.


1. In your manifest repository's main branch, you will find the values.yaml file, it showld be in the following folder structure [environment]/[project]/[application]

2. In the values.yaml file, search for the Additional Customizations section, you will find it like this:


## Additional Customizations #################################################

3. Bellow the section title, add the following configuration and change the values as you need:

  # - Pod Disruption Budget (PDB)
pdb:
# Enable PDB: true or false
enabled: false
minAvailable: 1
maxUnavailable: 1
#####

4. Commit and enjoy! ✨