mirror of https://github.com/k3s-io/k3s
Merge pull request #22332 from nikhiljindal/rollingUpdate
Resetting maxUnavailable for kubectl rolling update to 0pull/6/head
commit
6682a6693c
|
@ -332,7 +332,7 @@ func RunRollingUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, arg
|
|||
Interval: interval,
|
||||
Timeout: timeout,
|
||||
CleanupPolicy: updateCleanupPolicy,
|
||||
MaxUnavailable: intstr.FromInt(1),
|
||||
MaxUnavailable: intstr.FromInt(0),
|
||||
MaxSurge: intstr.FromInt(1),
|
||||
}
|
||||
if rollback {
|
||||
|
|
Loading…
Reference in New Issue