Commit Graph

30 Commits (458eb5284abd6933c620ba8ea383032f225e0885)

Author SHA1 Message Date
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
Paul Morie 394a7bb4d0 Regen for secrets in env 2016-01-18 12:32:32 -05:00
Paul Morie 17c8c8f9fc Regenerate for configMap in env 2016-01-14 10:40:56 -05:00
k8s-merge-robot c059dfdb9b Merge pull request #18712 from pmorie/config-kubectl
Auto commit by PR queue bot
2016-01-13 13:51:29 -08:00
Salvatore Dario Minonne 172d7ee32c to fix comment for apis.extensions.JobCondition 2016-01-11 11:07:50 +01:00
Paul Morie adc04924a0 Regenerate for ConfigMap in master/kubectl 2016-01-06 09:28:08 -05:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
Chakravarthy Nelluri fa76de79e5 Add support for flex volume. Flex volume adds support for thirdparty(vendor)
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Eric Tune 9afe694d73 Revert whitespace changes introduced by #17940.
This whitespace different is thought to be breaking
the build.

The differences in white space are hypothesized to happen
because trailing whitespace is chomped by some people's
editors but not others.

The trailing whitespace is enough of a difference to make
hack/verify-api-references-docs.sh think that the
docs are not different.

I think this is not caught by presubmits because different
versions of diff are doing different things with trailing
whitespace, even though `-Bw` flags are passed.
2015-12-17 16:10:55 -08:00
Eric Tune 1752cf22d4 Merge pull request #17940 from soltysh/job_deadline
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Maciej Szulik 327c104460 Added ActiveDeadlineSeconds to jobs, allowing failing a job after
exceeding allowed time.
2015-12-17 15:26:42 +01:00
deads2k 9fda7f1812 update StatusDetails to handle Groups 2015-12-17 09:14:12 -05:00
Paul Morie e757fac2f5 Regenerate for volume info changes 2015-12-14 14:19:51 -05:00
Anish Bhatt 6e46fa1fd4 Add support for open-iscsi transports.
This enables use of software or hardware transports viz. be2iscsi,
bnx2i, cxgb3i, cxgb4i, qla4xx, iser and ocs. The default transport
(tcp) happens to be called "default".

Use of non-default transports changes the disk path to the following format:
/dev/disk/by-path/pci-<pci_id>-ip-<portal>-iscsi-<iqn>-lun-<lun_id>
2015-12-08 17:28:06 -08:00
Salvatore Dario Minonne 80575c3093 renaming PodSelector to LabelSelector 2015-12-04 09:49:08 +01:00
Harry Zhang 70a9c0bf56 Add directory in GitRepo and updated tests.
Update validate and gitRepo

Update generated code
2015-12-02 00:20:38 +08:00
Clayton Coleman 61270f4534 Generated docs 2015-11-26 11:53:37 -05:00
Chao Xu 21d8ad3a36 escape $$ in asciidoc when generating api-reference pages 2015-11-23 14:47:17 -08:00
Tim St. Clair e4eff4bd6b Fix typo: s/recieve/receive/ 2015-11-19 19:23:40 -08:00
k8s-merge-robot da46dab080 Merge pull request #16940 from caesarxuchao/dont-update-api-reference
Auto commit by PR queue bot
2015-11-07 06:59:12 -08:00
Chao Xu 358221f9fd Don't update api-reference docs if the only changes are the timestamps 2015-11-06 11:37:22 -08:00
Tim St. Clair 1e88a682da Add liveness/readiness probe parameters
- PeriodSeconds - How often to probe
- SuccessThreshold - Number of successful probes to go from failure to success state
- FailureThreshold - Number of failing probes to go from success to failure state

This commit includes to changes in behavior:

1. InitialDelaySeconds now defaults to 10 seconds, rather than the
kubelet sync interval (although that also defaults to 10 seconds).
2. Prober only retries on probe error, not failure. To compensate, the
default FailureThreshold is set to the maxRetries, 3.
2015-11-06 10:46:40 -08:00
nikhiljindal 1c50f423d6 Running update-api-reference-docs 2015-11-04 14:54:10 -08:00
deads2k fd1c8e096a eliminate cross-namespace HPA escalation attack 2015-11-03 08:05:26 -05:00
Piotr Szczesniak 87c6d17d3a Fixed api reference docs 2015-10-26 10:18:39 +01:00
Paul Morie 3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Piotr Szczesniak 5cc0aa3b62 Fixed issue with generated docs 2015-10-22 12:55:10 +02:00
nikhiljindal fe26c8d86a Running update-api-reference-docs on HEAD to fix verify-api-reference-docs 2015-10-21 14:58:43 -07:00
nikhiljindal 8aa9591bb9 Running update-api-reference-docs script so that verify-api-reference-docs passes 2015-10-20 13:17:24 -07:00
Chao Xu 3881f4a85e update html, change directory 2015-10-16 11:30:11 -07:00