Pod Disruption Budget
Appears in
.Values.podDisruptionBudget
Naming scheme
$FullName-$podDisruptionBudgetName(release-name-chart-name-podDisruptionBudgetName)
podDisruptionBudget
Create Pod Disruption Budget objects
| Key | podDisruptionBudget | 
| Type | map | 
| Required | ❌ | 
Helm tpl | ❌ | 
| Default | {} | 
Example
podDisruptionBudget: {}$name
Define Pod Disruption Budget
| Key | podDisruptionBudget.$name | 
| Type | map | 
| Required | ✅ | 
Helm tpl | ❌ | 
| Default | {} | 
Example
podDisruptionBudget:  pdb-name: {}enabled
Enables or Disables the Pod Disruption Budget
| Key | podDisruptionBudget.$name.enabled | 
| Type | bool | 
| Required | ✅ | 
Helm tpl | ✅ | 
| Default | false | 
Example
podDisruptionBudget:  pdb-name:    enabled: truenamespace
Define the namespace for this object
| Key | podDisruptionBudget.$name.namespace | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
podDisruptionBudget:  pdb-name:    namespace: some-namespacelabels
Additional labels for Pod Disruption Budget
| Key | podDisruptionBudget.$name.labels | 
| Type | map | 
| Required | ❌ | 
Helm tpl | ✅ (On value only) | 
| Default | {} | 
Example
podDisruptionBudget:  pdb-name:    labels:      key: valueannotations
Additional annotations for Pod Disruption Budget
| Key | podDisruptionBudget.$name.annotations | 
| Type | map | 
| Required | ❌ | 
Helm tpl | ✅ (On value only) | 
| Default | {} | 
Example
podDisruptionBudget:  pdb-name:    annotations:      key: valueminAvailable
Define the minAvailable.
| Key | podDisruptionBudget.$name.minAvailable | 
| Type | int or string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
podDisruptionBudget:  pdb-name:    minAvailable: 1maxUnavailable
Define the maxUnavailable.
| Key | podDisruptionBudget.$name.maxUnavailable | 
| Type | int or string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
podDisruptionBudget:  pdb-name:    maxUnavailable: 1unhealthyPodEvictionPolicy
Define the unhealthyPodEvictionPolicy
| Key | podDisruptionBudget.$name.unhealthyPodEvictionPolicy | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Valid Values:
IfHealthyBudgetAlwaysAllow
Example
podDisruptionBudget:  pdb-name:    unhealthyPodEvictionPolicy: IfHealthyBudgetFull Examples
podDisruptionBudget:  pdb-name:    enabled: true    labels:      key: value      keytpl: "{{ .Values.some.value }}"    annotations:      key: value      keytpl: "{{ .Values.some.value }}"    minAvailable: 1    maxUnavailable: 1    unhealthyPodEvictionPolicy: IfHealthyBudget
  other-pdb-name:    enabled: true    namespace: some-namespace    minAvailable: 1