Merge pull request #22332 from nikhiljindal/rollingUpdate

Resetting maxUnavailable for kubectl rolling update to 0
pull/6/head
Jeff Lowdermilk 2016-03-03 15:19:02 -08:00
commit 6682a6693c
1 changed files with 1 additions and 1 deletions

View File

@ -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 {