Pod Disruption Budget configuration
Scope: How to configure KOBIL Shift services for specific PDB / Pod Disruption Budget configuration
Pod Disruption Budget feature as a standard feature for Kubernetes runtime is supported by specific (additional configuration) edit to the KOBIL Shift metaconfig values.yaml.
Please find the KOBIL Shift metaconfig "values.yaml" covering the initial configuration advise as follows:
------- default per KOBIL Shift service -----------
# -- Configuration of pod disruption budget.
# Set `pod.disruptionBudget.enabled: true` and `global.podDisruptionBudget.enabled: true` to enable.
# The parameters `minAvailable` (defining the minimum number/percentage of pods that should remain scheduled)
# and `maxUnavailable` (defining the Maximum number/percentage of pods that may be made unavailable)
# cannot both be set. Additional annotations can be added using object `annotations`.
# (https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/).
disruptionBudget:
enabled: true
annotations: {}
minAvailable: 1
maxUnavailable: ""