Commit Graph

23571 Commits (458eb5284abd6933c620ba8ea383032f225e0885)

Author SHA1 Message Date
Tim Hockin 9a75794fd6 slightly better logs in service e2e 2016-01-22 16:12:02 -08:00
Isaac Hollander McCreery 21e3776de6 Change wording about experimental API 2016-01-22 16:03:08 -08:00
Chao Xu bc2a9736dc remove duplicated tests 2016-01-22 15:40:42 -08:00
David Oppenheimer a8e742f462 Add time logging to runReplicationControllerTest to help debug
timeouts in the future.
2016-01-22 15:32:20 -08:00
Isaac Hollander McCreery 9477bc08a5 Use INSTANCE_PREFIX to prefix uploaded binaries in GCE, fixes #8705 2016-01-22 15:27:33 -08:00
Zach Loafman 6397b781ac Merge pull request #20030 from kubernetes/revert-18169-smarter-scaling
Revert "kubectl: Make scaling smarter"
2016-01-22 15:07:26 -08:00
Zach Loafman 0791de15e3 Merge pull request #20007 from smarterclayton/ipallocrace
19848: Retry service IP repair on conflict
2016-01-22 15:02:05 -08: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
Zach Loafman 62726c4ab8 Revert "kubectl: Make scaling smarter" 2016-01-22 14:52:38 -08:00
Mike Danese 0fdaa41c5e cluster/gce: fix unbound variable 2016-01-22 14:42:32 -08:00
Zach Loafman 3df16731e2 Merge pull request #19994 from zmerlynn/cross-version
build: Use Go version in cross image tag
2016-01-22 14:32:14 -08:00
Justin Santa Barbara 88eeec4f13 GCE: Register the PersistentVolumeLabel admission controller 2016-01-22 17:16:39 -05:00
Justin Santa Barbara 1276675512 Ubernetes-Lite: Error if a PD name is ambiguous
We don't cope well if a PD is in multiple zones, but this is actually
fairly easy to detect.  This is probably justified purely on the basis
that we never want to delete the wrong volume (DeleteDisk), but also
because this means that we now warn on creation if a disk is in multiple
zones (with the labeling admission controller).

This also means that with the scheduling predicate in place, that many
of our volume problems "go away" in practice: you still can't create or
delete a volume when it is ambiguous, but thereafter the volume will be
labeled with the zone, that will match it only to nodes with the same
zone, and then we query for the volume in that zone when we
attach/detach it.
2016-01-22 17:16:38 -05:00
Justin Santa Barbara 900567288b Ubernetes Lite: Label volumes with zone information
When volumes are labeled, they will only be scheduled onto nodes in the
same zone.
2016-01-22 17:16:31 -05:00
Eric Tune 3a15a374ba Merge pull request #19447 from Clarifai/ecr
Add ECR credential provider
2016-01-22 13:52:08 -08:00
Nikhil Jindal 471f24c96a Merge pull request #19883 from nikhiljindal/federatedServerExample
Adding an example for an independent apiserver
2016-01-22 13:43:05 -08:00
Ken Robertson fff8a7c371 kubelet: Update engine version parsing to handle semantic versioning
This updates the dockertools.dockerVersion to use a semantic versioning
library to more gracefully support engine versions which include
additional version fields.

Previously, go-dockerclient's APIVersion struct was use which only
handles plain numeric x.y.z version strings. With #19675, the library
was now used on the Docker engine string, however it is possible for the
engine string to include include additional information for beta, rc, or
distro specific builds.

This PR also enables the TestDockerRuntimeVersion test which was
previously just a FIXME and updates it to pass, and be used to test the
version string that cause #20005.

This negates the need for fsouza/go-dockerclient#451, since even with
that change, if a user was running Docker 1.10.0-rc1, this would cause
the kubelet to report it as simply 1.10.0.
2016-01-22 13:18:52 -08:00
Dawn Chen 138f18cc92 Move test (Pods should not back-off restarting a container on LivenessProbe failure)
out of flaky test.

For last 100+ runs, the test never fail in kubernetes-e2e-gce-flaky build.
The only exception is build 10313, but the failure is caused by previous
flaky test, not this one itself.
2016-01-22 13:04:57 -08:00
Rudi Chiarito bc0dd97a70 ECR credential provider 2016-01-22 15:03:25 -05:00
Rudi Chiarito aa5e3ab4ca Add ECR dependencies and refresh Godeps 2016-01-22 15:03:25 -05:00
nikhiljindal 0ab152ddf2 Adding an example apiserver 2016-01-22 11:52:16 -08:00
Zach Loafman 07c304b43d build: Use Go version in cross image tag
The new tag format is cross-<go version>-<cross version>, starting
with cross-1.5.3-1.

Also bump the image we pre-pull / warn-on to 1.5.3

Fixes #19990
2016-01-22 11:45:41 -08:00
Zach Loafman 0b00928c74 Merge pull request #19987 from gmarek/remove-test
Remove monitor_resources test
2016-01-22 11:10:06 -08:00
Zach Loafman b25d596a2b Merge pull request #19630 from mikedanese/fix-test
test: make ValidateCount throw an error instead of a log
2016-01-22 11:08:27 -08:00
Zach Loafman 7189db3701 Merge pull request #19396 from justinsb/aws_mountdevice
AWS: Use a strongly typed mountDevice
2016-01-22 11:04:23 -08:00
Daniel Smith 4fe0a18024 Accept both 'No events.' and 'Events:' 2016-01-22 10:56:14 -08:00
Clayton Coleman e2eb1b0dc4 19848: Retry service IP repair on conflict
Components can write services during startup, which results in the ip
allocator map being updated. Since core controllers *must* succeed for
the masters to start, we should retry a few times in order to pass.
2016-01-22 13:52:18 -05:00
Clayton Coleman 3262d8efd8 GENERATED: all 2016-01-22 13:27:28 -05:00
Clayton Coleman 4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Clayton Coleman 33085c0cf2 Update tests to handle codec changes 2016-01-22 13:27:26 -05:00
Clayton Coleman 2fd38a7dc0 Break kubectl from assuming details of codecs
Most of the logic related to type and kind retrieval belongs in the
codec, not in the various classes. Make it explicit that the codec
should handle these details.

Factory now returns a universal Decoder and a JSONEncoder to assist code
in kubectl that needs to specifically deal with JSON serialization
(apply, merge, patch, edit, jsonpath). Add comments to indicate the
serialization is explicit in those places. These methods decode to
internal and encode to the preferred API version as previous, although
in the future they may be changed.

React to removing Codec from version interfaces and RESTMapping by
passing it in to all the places that it is needed.
2016-01-22 13:27:26 -05:00
Clayton Coleman 181dc7c64c Update thirdpartyresourcecodec with new Decoder 2016-01-22 13:27:25 -05:00
Clayton Coleman fb4ea845f1 resource_printer was not leveraging runtime interfaces
In general, everything in kubectl/* needs to be ignorant of api/* unless
it deals with a concrete type - this change forces resource_printer to
accept interface abstractions (that are already part of kubectl).
2016-01-22 13:27:25 -05:00
Clayton Coleman efe88e0818 Update client library to react to changes in Decoding 2016-01-22 13:27:24 -05:00
Zach Loafman 4803b8a984 Merge pull request #18260 from erictune/indexed-job
Indexed job
2016-01-22 10:25:30 -08:00
Zach Loafman 68771fe26a Merge pull request #18169 from kargakis/smarter-scaling
kubectl: Make scaling smarter
2016-01-22 10:24:51 -08:00
Zach Loafman f3a638de31 Merge pull request #16067 from smarterclayton/backoff_conflict
Provide a RetryOnConflict helper for client libraries
2016-01-22 10:23:19 -08:00
Eric Tune e532129f85 Merge pull request #19717 from erictune/api-groups-doc
Mention some new api groups.
2016-01-22 10:06:39 -08:00
Eric Tune a99e151b90 Merge pull request #19962 from erictune/service-account-try-not-flaky
Promote ServiceAccount e2e out of [Flaky] status
2016-01-22 09:41:30 -08:00
Arsen Mamikonyan 8b5e9e2885 Change repository references to https://github.com/kubernetes/kubernetes 2016-01-22 10:23:14 -05:00
Zach Loafman ef77ce7147 Merge pull request #19985 from luxas/onedotfive
Up to golang 1.5.3
2016-01-22 07:21:06 -08:00
Zach Loafman a5f4f3b301 Merge pull request #16889 from vishh/disk-accounting
Proposal for disk accounting
2016-01-22 06:22:16 -08:00
gmarek 9ac68ecb77 Remove monitor_resources test 2016-01-22 13:38:33 +01:00
Marcin Wielgus 631b965384 Merge pull request #19968 from lavalamp/e2e-kubectl-proxy
e2e kubectl proxy test: Make future flake diagnosis possible
2016-01-22 12:50:06 +01:00
Piotr Szczesniak 7fea0ada4b Merge pull request #19984 from piosz/heapster-config-fix
Fixed syntax issue in Heapster config
2016-01-22 10:34:58 +01:00
Piotr Szczesniak e6f3e2893a Fixed syntax issue in Heapster config 2016-01-22 10:29:38 +01:00
YuviPanda 1751bcf1e1 Update hack/verify-flags/exceptions.txt 2016-01-22 00:19:01 -08:00
Eric Tune 3ac015887e Design doc for Indexed Jobs. 2016-01-22 00:04:47 -08:00
Lucas Käldström d26f4e1583 Up to golang 1.5.3 2016-01-22 08:21:52 +02:00
Clayton Coleman 24a7919002 Update clientcmd.Config to use new Decode methods 2016-01-22 01:10:23 -05:00