Commit 5c735ee6 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #18616 from mqliang/MaxUnavailable

Auto commit by PR queue bot
parents 9b03cffc 9d21b6dc
...@@ -332,7 +332,7 @@ func RunRollingUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, arg ...@@ -332,7 +332,7 @@ func RunRollingUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, arg
Interval: interval, Interval: interval,
Timeout: timeout, Timeout: timeout,
CleanupPolicy: updateCleanupPolicy, CleanupPolicy: updateCleanupPolicy,
MaxUnavailable: intstr.FromInt(0), MaxUnavailable: intstr.FromInt(1),
MaxSurge: intstr.FromInt(1), MaxSurge: intstr.FromInt(1),
} }
if rollback { if rollback {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment