kubernetes/pkg/controller
Eric Tune 53ee76fe1a Support Work Queue jobs with variable parallelism
When job.spec.completions is nil, only
one task needs to succeed for the job to succeed,
and parallelism can be scaled freely during runtime.

Added tests.

Release Note:

This causes two minor changes to the API.

First, unset parallelism previously was defaulted to be
equal to completions.  Now it always defaults to 1 if unset.

Second, having parallelism=N and completions unset would previously
be defaulted to 1 completion and N parallelism.
(this is not something we expect people to do, though)
Now, no defaulting occurs in that case, and the job's
behavior is different (any completion causes success).
2016-01-22 14:57:51 -08:00
..
daemon create and delete concurrently 2015-12-26 21:30:31 +08:00
deployment Merge pull request #19733 from janetkuo/flaky-deployment-recreate 2016-01-21 10:23:21 -08:00
endpoint Merge pull request #19630 from mikedanese/fix-test 2016-01-22 11:08:27 -08:00
framework Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
gc Merge pull request #19790 from mqliang/podgc-event 2016-01-21 13:54:12 -08:00
job Support Work Queue jobs with variable parallelism 2016-01-22 14:57:51 -08:00
namespace update StatusDetails to handle Groups 2015-12-17 09:14:12 -05:00
node Merge pull request #19580 from WeixuZhuang/node 2016-01-21 10:34:19 -08:00
persistentvolume Merge pull request #18877 from markturansky/fix_18830 2016-01-21 15:06:46 -08:00
podautoscaler Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
replication test: make ValidateCount throw an error instead of a log 2016-01-19 15:59:32 -08:00
resourcequota Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
route Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
service Merge pull request #16067 from smarterclayton/backoff_conflict 2016-01-22 10:23:19 -08:00
serviceaccount Update service account tokens controller to use client.RetryOnConflict 2016-01-20 22:58:17 -05:00
controller_utils.go Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
controller_utils_test.go Replace to tag 2016-01-15 15:07:21 +08:00
doc.go Refactor package controller 2015-07-29 09:54:35 -07:00