podDisruptionBudget¶
Pods do not disappear until someone (a person or a controller) destroys them, or there is an unavoidable hardware or system software error.
See Best Practices for more information on voluntary and involuntary disruptions.
podDisruptionBudget
value in Kubedeploy allows you to define budgets for voluntary disruptions.
Note
By default podDisruptionBudget
is undefined.
Create podDisruptionBudget with multiple replicas
values.yaml | |
---|---|
In the example configuration above, we ensure that our Pod has 3 replicas at normal runtime. Configured PodDisruptionBudget requires that at least 2 replicas are always available during any voluntary disruptions.
Info
To learn more about Pod disruptions and PodDisruptionBudgets, please refer to the official documentation.
See also: