Cloud API Overview > @adpt/cloud > k8s > RollingUpdateDeployment
k8s.RollingUpdateDeployment interface
Signature:
export interface RollingUpdateDeployment
Properties
Property | Type | Description |
---|---|---|
maxSurge | number | string | The maximum number of pods that can be scheduled above the desired number of pods.Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. |
maxUnavailable | number | string | The maximum number of pods that can be unavailable during the update.Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. |