Commit Graph

15 Commits (8060e9c5eb436c0523eafaec40666f4c239d02a2)

Author SHA1 Message Date
Eric Tune 095a85e76e Update docs and examples to batch/v1 Job
Documented manualSelector field.

Documented that you do not need to provide a selector
or unique labels with batch/v1 Job.

Updated all Job examples to apiVersion: batch/v1

Updated all Job examples to use generated selectors.
2016-02-25 09:28:07 -08:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
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
Brendan Burns 4ca66d2aef Merge pull request #18047 from caesarxuchao/munger-tag-new
Stop munger produce the link to a release version doc if it doesn't exit in the release branch
2015-12-22 10:35:20 -08:00
Ed Costello f968c593e3 Copy edits for typos 2015-12-22 09:30:48 -05:00
Chao Xu 2b2f285777 run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
Eric Tune 319ebc40ba Document several patterns for using Job. 2015-12-10 15:54:23 -08:00
Tim Hockin dab591b629 Run update-gendocs 2015-11-13 13:57:57 -08:00
feihujiang ef0239a08b Delete the simple-yaml.md example 2015-11-12 13:48:52 +08:00
Abhi Shah a254fdc062 Merge pull request #15814 from soltysh/job_doc
Update job user-guide doc to reflect recent changes to .spec.selector
2015-10-24 14:18:10 -07:00
nikhiljindal 72914fd81b Updating documentation to reflect the latest status of extension resources 2015-10-21 13:03:33 -07:00
Maciej Szulik 57c546fccb Update job user-guide doc to reflect recent changes to .spec.selector 2015-10-17 12:32:01 +02:00
Eric Tune ca6c950b89 Doc: apigroups, alpha, beta, experimental/v1alpha1 2015-10-14 09:06:05 -07:00
Chao Xu cd98de5188 fix verify-generated-deep-copies.sh 2015-10-09 16:08:52 -07:00
Eric Tune bf9e93250e Job and DaemonSet documentation. 2015-09-24 17:51:25 -07:00