Skip to content

rollingUpdate

Rolling update options. Only valid when strategy is RollingUpdate. Both the shorthand keys (surge/unavailable) and the upstream Kubernetes keys (maxSurge/maxUnavailable) are accepted. When both are set, the Kubernetes key takes priority. The shorthand keys are deprecated and Will be removed in v6.0.

object

PropertyTypeRequiredDefaultDescription
maxSurgeinteger / stringNo-Maximum number of pods that can be created over the desir…
maxUnavailableinteger / stringNo-Maximum number of pods that can be unavailable during the…
surgeinteger / stringNo-Deprecated: use maxSurge instead. Will be removed in v6…
unavailableinteger / stringNo-Deprecated: use maxUnavailable instead. Will be removed…

Maximum number of pods that can be created over the desired replicas during the update.

Maximum number of pods that can be unavailable during the update.

Deprecated: use maxSurge instead. Will be removed in v6.0. Maximum number of pods that can be created over the desired replicas during the update.

Deprecated: use maxUnavailable instead. Will be removed in v6.0. Maximum number of pods that can be unavailable during the update.