maxUnavailable
maxUnavailable is a parameter used in Kubernetes rollout strategies to limit disruption during updates. It specifies the maximum number of pods that can be unavailable during a rolling update, expressed as an absolute number or a percentage of the desired pod count.
In a Deployment or DaemonSet, maxUnavailable is configured under the RollingUpdate settings: spec.strategy.type must be RollingUpdate,
Effectively, during the update, Kubernetes will create new pods and terminate old ones within the limit set
Scope and considerations: StatefulSets use a different update mechanism (partition-based) and typically do not rely on
Examples: With 10 replicas and maxUnavailable: 2, at most two pods can be down at once. With