Pod Disruption Budget
Appears in
Section titled “Appears in”.Values.podDisruptionBudget
Naming scheme
Section titled “Naming scheme”$FullName-$podDisruptionBudgetName
(release-name-chart-name-podDisruptionBudgetName)
podDisruptionBudget
Section titled “podDisruptionBudget”Create Pod Disruption Budget objects
Key | podDisruptionBudget |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
podDisruptionBudget: {}
Define Pod Disruption Budget
Key | podDisruptionBudget.$name |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
podDisruptionBudget: pdb-name: {}
enabled
Section titled “enabled”Enables or Disables the Pod Disruption Budget
Key | podDisruptionBudget.$name.enabled |
Type | bool |
Required | ✅ |
Helm tpl | ✅ |
Default | false |
Example
podDisruptionBudget: pdb-name: enabled: true
namespace
Section titled “namespace”Define the namespace for this object
Key | podDisruptionBudget.$name.namespace |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
podDisruptionBudget: pdb-name: namespace: some-namespace
labels
Section titled “labels”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: value
annotations
Section titled “annotations”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: value
minAvailable
Section titled “minAvailable”Define the minAvailable.
Key | podDisruptionBudget.$name.minAvailable |
Type | int or string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
podDisruptionBudget: pdb-name: minAvailable: 1
maxUnavailable
Section titled “maxUnavailable”Define the maxUnavailable.
Key | podDisruptionBudget.$name.maxUnavailable |
Type | int or string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
podDisruptionBudget: pdb-name: maxUnavailable: 1
unhealthyPodEvictionPolicy
Section titled “unhealthyPodEvictionPolicy”Define the unhealthyPodEvictionPolicy
Key | podDisruptionBudget.$name.unhealthyPodEvictionPolicy |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Valid Values:
IfHealthyBudget
AlwaysAllow
Example
podDisruptionBudget: pdb-name: unhealthyPodEvictionPolicy: IfHealthyBudget
Full Examples
Section titled “Full 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