Revert "kubectl: Make scaling smarter"

This commit is contained in:
Zach Loafman
2016-01-22 14:52:38 -08:00
parent 3df16731e2
commit 62726c4ab8
6 changed files with 335 additions and 585 deletions

View File

@@ -112,7 +112,7 @@ func JobHasDesiredParallelism(c ExtensionsInterface, job *extensions.Job) wait.C
}
// desired parallelism can be either the exact number, in which case return immediately
if job.Spec.Parallelism != nil && job.Status.Active == *job.Spec.Parallelism {
if job.Status.Active == *job.Spec.Parallelism {
return true, nil
}
// otherwise count successful