Commit Graph

29632 Commits

Author SHA1 Message Date
Alex Mohr
60c2ab4995 Merge pull request #26356 from kubernetes/revert-25752-resource-limits
Revert "Add resource limits for master resources in density test"
2016-05-26 10:11:23 -07:00
Daniel Wang
5cd3c01bc5 GCI: Fix yaml search path 2016-05-26 10:10:37 -07:00
Marcin Wielgus
67d7676e0e Increase cluster resize timeout in e2e tests from 2 min to 5 min 2016-05-26 17:20:19 +02:00
Abhi Shah
965e8dce12 Merge pull request #26114 from ArtfulCoder/dnsport
Add dnsmasq as a DNS cache in kube-dns pod
2016-05-26 08:13:58 -07:00
Rudi Chiarito
ca8699e83e Fix long-standing bug in aws.stringSetToPointers
Instead of N pointers, we were returning N null pointers, followed by the real
thing. It's not clear why we didn't trip on this until now, maybe there is a
new server-side check for empty subnetID strings.
2016-05-26 10:56:37 -04:00
Wojciech Tyczynski
a2011cdf42 Revert "Add resource limits for master resources in density test" 2016-05-26 16:35:48 +02:00
k8s-merge-robot
d3d61851b2 Merge pull request #26263 from wojtek-t/fix_route_controller
Automatic merge from submit-queue

Limit concurrent route creations

Ref #26119 

This is supposed to improve 2 things:
- retry creating route in routecontroller in case of failure
- limit number of concurrent CreateRoute calls in flight.

We need something like that, because we have a limit of concurrent in-flight CreateRoute requests in GCE.

@gmarek @cjcullen
2016-05-26 07:16:42 -07:00
k8s-merge-robot
9aace460a7 Merge pull request #26262 from jsafrane/integration-error-checks
Automatic merge from submit-queue

Add error checks to volume integration tests

We need to know what's going on when a test fails, like in #26256
2016-05-26 06:15:19 -07:00
deads2k
a27d6ed5eb make admission plugins configurable based on external criteria 2016-05-26 09:12:17 -04:00
k8s-merge-robot
44de311c0a Merge pull request #24826 from caesarxuchao/autogenerate-1-3
Automatic merge from submit-queue

Add release_1_3 clientset in update-codegen

Add release_1_3 clientset in update-codegen to keep it update-to-date; update the generated clientset.
2016-05-26 05:21:32 -07:00
k8s-merge-robot
c58d0453dc Merge pull request #25752 from gmarek/resource-limits
Automatic merge from submit-queue

Add resource limits for master resources in density test

cc @jlowdermilk @fabioy
2016-05-26 04:25:44 -07:00
Wojciech Tyczynski
aa65a7974a Spread creating routes over time and retry on failures 2016-05-26 13:00:53 +02:00
k8s-merge-robot
98766f4548 Merge pull request #26301 from zmerlynn/wait_proper
Automatic merge from submit-queue

routecontroller: Add wait.NonSlidingUntil, use it

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]() Make sure the reconciliation loop kicks in again immediately if it
takes a loooooong time.
2016-05-26 03:29:21 -07:00
k8s-merge-robot
47a372bcbf Merge pull request #25955 from jsafrane/flake-op-timeout
Automatic merge from submit-queue

Increase goroutinemap unit test timeouts.

50ms is flaky in Jenkins. This makes the test to take at least 0.5s to check that things that should block and wait for something really do block and wait (was 100ms before).

Fixes #25825
2016-05-26 02:29:02 -07:00
k8s-merge-robot
6a1abc1505 Merge pull request #26001 from dchen1107/docker
Automatic merge from submit-queue

Attempt 2: Bump GCE containerVM to container-v1-3-v20160517 (Docker 1.11.1) again.

Workaround the issue of small root_maxkeys on the debian based container-vm image, and bump our image to the new alpha version for docker 1.11.1 validation. 

ref: #23397 #25893

cc/ @vishh @timstclair
2016-05-26 01:33:13 -07:00
k8s-merge-robot
bda0dc88aa Merge pull request #25457 from saad-ali/expectedStateOfWorldDataStructure
Automatic merge from submit-queue

Attach Detach Controller Business Logic

This PR adds the meat of the attach/detach controller proposed in #20262.

The PR splits the in-memory cache into a desired and actual state of the world.
2016-05-26 00:41:54 -07:00
k8s-merge-robot
bb38265400 Merge pull request #26238 from ihmccreery/mount-points
Automatic merge from submit-queue

GCI-backed masters mount srv/kubernetes and srv/sshproxy in the right place

Fixes #26235.

cc @andyzheng0831
2016-05-25 23:46:08 -07:00
k8s-merge-robot
079096aca5 Merge pull request #26321 from vishh/retry-pre-pull
Automatic merge from submit-queue

Retry image pulling 5 times before giving up in node e2e.

For #26203 & #26320
2016-05-25 23:46:04 -07:00
Shaya Potter
9dd9f2ad65 move common lables used outside of containr runtime out of dockertools
moved labels and their Get functions to types

aliases kubernetes/types import to kubetypes to use kubelet/types as types
2016-05-25 23:10:19 -07:00
Alex Mohr
e3404d32ff Merge pull request #26155 from kubernetes/sttts-flake-26126
Flake 26126: use framework.podStartTimeout for kubectl e2e test pod launch
2016-05-25 22:20:56 -07:00
k8s-merge-robot
34a640d6ba Merge pull request #25895 from mml/storePodNamespacer.List
Automatic merge from submit-queue

Refactor storePodsNamespacer.List()

This fixes a bug in the previous version where, when we fell back on a
brute force approach, we were still returning an error.

It also clarifies the flow control into 3 distinct cases.  The cases
don't share variables any more, which makes mistakes like the one
mentioned above harder.
2016-05-25 21:50:52 -07:00
Chao Xu
06bac1fcc7 remove deprecated generated typed clients 2016-05-25 21:26:00 -07:00
Chao Xu
44591bf6bf generated 2016-05-25 21:14:17 -07:00
Chao Xu
cc4ffe0714 add release_1_3 clientset in update-codegen 2016-05-25 21:14:16 -07:00
Erick Fejta
f4d07ddf7d Create pkg/storage/OWNERS 2016-05-25 21:13:10 -07:00
k8s-merge-robot
df66b90768 Merge pull request #26323 from janetkuo/test-e2e-kubectl-images
Automatic merge from submit-queue

Use gcr.io tagged images when testing

Ref #20836

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-25 20:44:32 -07:00
k8s-merge-robot
128e7f13af Merge pull request #26243 from metral/fix-pause
Automatic merge from submit-queue

use kubectl-with-retry on pause & resume

attempts to fix https://github.com/kubernetes/kubernetes/issues/25645 by using `kubectl-with-retry` on `rollout {pause,resume}` (`resume` is for safe measures) instead of `kubectl` directly, as is done with other `rollout {pause,resume}` tests in this same script.
2016-05-25 19:49:45 -07:00
k8s-merge-robot
3ac9769d49 Merge pull request #26163 from sttts/sttts-flake-21484-pod-log
Automatic merge from submit-queue

Flake 21484: retrieve pod log during e2e error

Print the pod log when an error occurs in

> Proxy version 1 should proxy through a service and a pod [Conformance]

e2e test. This will help to understand flake https://github.com/kubernetes/kubernetes/issues/21484 better.
2016-05-25 18:54:57 -07:00
k8s-merge-robot
d08b14efcf Merge pull request #26306 from zmerlynn/revert_rate_limits
Automatic merge from submit-queue

GCE provider: Revert rate limits

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]() This reverts #26140 and #26170. After testing with #26263, #26140 is unnecessary, and we need to be able to prioritize normal GET / POST requests over operation polling requests, which is what the pre-#26140 requests do.

c.f. #26119
2016-05-25 17:58:10 -07:00
k8s-merge-robot
da7d3c189a Merge pull request #25869 from jsafrane/devel/operation-logs
Automatic merge from submit-queue

volume controller: use better operation names

Using volume/claim.UID in the operation name is not really useful, as UIDs are not logged by rest of the controller. On the other hand, volume.Name and claim.Namespace/Name is logged pretty often and it would help to log these also in operation name. Still, I'd prefer to have the operation name really unique to be protected from users deleting a volume and quickly creating another one with the same name, so UID is still part of the operation name.

This has been already proven to be very useful in controller debugging.
2016-05-25 17:58:07 -07:00
k8s-merge-robot
e7022106ff Merge pull request #25719 from tmrts/rk8s/read-only-rootfs
Automatic merge from submit-queue

Use read-only root filesystem capabilities of rkt

Propagates `api.Container.SecurityContext.ReadOnlyRootFileSystem` flag to rkt container runtime.

cc @yifan-gu 

Fixes #23837
2016-05-25 17:58:03 -07:00
k8s-merge-robot
f4122477c2 Merge pull request #25712 from asalkeld/docker-logpath
Automatic merge from submit-queue

Use docker containerInfo.LogPath and not manually constructed path

## Pull Request Guidelines

Since the containerInfo has the LogPath in it, let's use that and
not manually construct the path ourselves. This also makes the code
less prone to breaking if docker change this path.

Fixes #23695
2016-05-25 17:57:59 -07:00
Janet Kuo
f433d21a90 Use gcr.io tagged images when testing 2016-05-25 17:25:02 -07:00
Janet Kuo
1f78d5ce37 Add pause-pod.yaml in test manifest and re-generate bindata 2016-05-25 17:24:10 -07:00
Matt Liggett
1fee311282 Refactor *Namespacer.List().
Refactor storePodsNamespacer.List() and
storeReplicationContollersNamespacer.List().  They are the same
function, just with different signatures.

This fixes a bug where, when we fell back on a brute force approach, we
were still returning an error.

Also change to explicit return without named return values.
2016-05-25 17:18:28 -07:00
Vishnu kannan
2be9cd4854 Retry image pulling 5 times before giving up in node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-25 16:37:04 -07:00
k8s-merge-robot
69b90028cf Merge pull request #26086 from smarterclayton/init_ordering
Automatic merge from submit-queue

Ensure that init containers are preserved during pruning

Pods with multiple init containers were getting the wrong containers
pruned. Fix an error message and add a test.

Fixes #26131
2016-05-25 15:38:39 -07:00
Janet Kuo
c3fd3b1cf5 Fix broken log for deployment e2e tests 2016-05-25 15:07:41 -07:00
Colin Hom
a092fd2dd4 Federation build and e2e test integration
Federation components are now buildable and e2e-testable via e2e.go.
2016-05-25 15:07:27 -07:00
nikhiljindal
060e537939 Running genfeddocs 2016-05-25 15:04:20 -07:00
nikhiljindal
f98bda0b47 Adding a tool to generate federation docs 2016-05-25 15:04:20 -07:00
Zach Loafman
cb69960742 nodecontroller: Fix log message on successful update 2016-05-25 14:44:15 -07:00
k8s-merge-robot
70a71990d4 Merge pull request #26123 from brendandburns/flaker
Automatic merge from submit-queue

Add some extra checking in the tests to prevent flakes.

Attempts to fix https://github.com/kubernetes/kubernetes/issues/25967

The hypothesis is that somehow waitTest() catches an idle that occurs before all changes have been applied.  This will block until the expected number of changes have arrived.
2016-05-25 14:29:48 -07:00
Eric Chiang
36ecec58f0 regenerate all 2016-05-25 14:26:09 -07:00
Eric Chiang
323e804f39 add rbac for tests and kubectl 2016-05-25 14:25:56 -07:00
Eric Chiang
7bdf4a36d5 pkg/client/unversioned: add rbac client 2016-05-25 14:25:01 -07:00
Eric Chiang
ef40aa9572 pkg/master: enable certificates API and add rbac authorizer 2016-05-25 14:24:47 -07:00
Zach Loafman
34d69f4497 Revert "GCE provider: Rate limit all API calls"
This reverts commit 9b5cdfb705.
2016-05-25 14:23:46 -07:00
Zach Loafman
4adc542667 Revert "Log requests to GCE"
This reverts commit 55fdc1c036.
2016-05-25 14:23:41 -07:00
Eric Chiang
6f312f145d pkg/registry: add rbac storage 2016-05-25 14:19:55 -07:00