Commit Graph

30469 Commits

Author SHA1 Message Date
Random-Liu
89502d3c8c Add image pulling node e2e test. 2016-06-14 01:19:47 -07:00
Yu-Ju Hong
2b65b5a283 Node e2e: switch most of the tests to use the e2e framework
This commit switches the tests to use the e2e framework, so that namespace
creation/deletion is handled between tests.
2016-06-14 01:19:47 -07:00
mfanjie
8e26283965 add federation-name and zone-name flags to e2e test 2016-06-14 15:40:07 +08:00
mfanjie
dd78dd8e2b 1. ensure dns record when ingress ip is assigned after ready address creation
2. ensure dns record removal when service being removed
2016-06-14 15:36:37 +08:00
mfanjie
72a0806103 only update dns records when ready address available for endpoints 2016-06-14 15:36:37 +08:00
mfanjie
318f37ce0f add federation-name and zone-name as controller manager flags 2016-06-14 15:36:37 +08:00
mfanjie
29cc7c009c add dns provider initialzation 2016-06-14 15:36:37 +08:00
k8s-merge-robot
6e5faf59b2 Merge pull request #27333 from nikhiljindal/FederationName
Automatic merge from submit-queue

federation: setting a default value for FEDERATION_NAME

federation tests are failing right now on jenkins:

http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-federation/694/
```
FEDERATION_NAME environment variable must be set
```

Setting a default value to "federation"

cc @kubernetes/sig-cluster-federation @mml
2016-06-14 00:03:31 -07:00
k8s-merge-robot
1a23da5f6d Merge pull request #26984 from ericchiang/rbac-api-group-make-subject-apiversion-optional
Automatic merge from submit-queue

Rbac api group make subject apiversion optional

This fixes the verification for the "apiVerion" field in the RBAC subject and makes it optional. This field isn't used and currently won't pass validation if it's filled.

```yml
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1alpha1
metadata:
  name: admins
subject:
  - kind: User
    name: admin-user
    # apiVersion: "entering anything here will fail validation"
roleRef:
  kind: ClusterRole
  name: admin
  apiVersion: rbac.authorization.k8s.io/v1alpha1
```
2016-06-14 00:03:27 -07:00
k8s-merge-robot
e0cdf47809 Merge pull request #27313 from andyzheng0831/gce-conf
Automatic merge from submit-queue

GCI: fix multizone setting in issue #27150

This PR is for fixing the issue. We gradually added more cases of using /etc/gce.conf, but in the config code we did not update the condition of computing env variables. As a result, the muitlzone setting was ignored.

I manually verified that with the fix we can create a multi-zone cluster with master on GCI.

cc/ @chrislovecnm @kubernetes/goog-image
2016-06-13 22:57:36 -07:00
Erick Fejta
25451a686c Add description to created node images 2016-06-13 22:41:30 -07:00
nikhiljindal
e0bdb32bd7 export FEDERATION_NAME 2016-06-13 19:01:43 -07:00
k8s-merge-robot
ca27025b11 Merge pull request #26988 from vishh/quota-owners
Automatic merge from submit-queue

add owners for quota package
2016-06-13 17:32:24 -07:00
k8s-merge-robot
de7dc031ce Merge pull request #26806 from derekwaynecarr/fix_26178
Automatic merge from submit-queue

Quota uses old object provided via admission

fixes https://github.com/kubernetes/kubernetes/issues/26178

@sdminonne - fixes a bug in services not intercepting updates.

/cc @liggitt
2016-06-13 17:32:17 -07:00
nikhiljindal
5a20112ec4 Adding test for cluster controller 2016-06-13 17:29:06 -07:00
nikhiljindal
9b2b763ab0 Fixing references to federated-context and federation-e2e 2016-06-13 16:43:55 -07:00
Andy Zheng
1c490c24e4 gci: fix multizone setting in issue #27150 2016-06-13 16:33:12 -07:00
k8s-merge-robot
239f6273ad Merge pull request #26636 from madhusudancs/fed-svc-e2e
Automatic merge from submit-queue

Implement first set of federated service e2e tests.

These tests are untested and there is no guarantee that they work. The ongoing auth problems is blocking these e2es from being tested and upon @quinton-hoole's request I am submitting them now.

Only the last commit here needs review.

Depends on #26953

cc @nikhiljindal @colhom @mfanjie @kubernetes/sig-cluster-federation
2016-06-13 16:03:34 -07:00
nikhiljindal
18425172e5 Updating federation up scripts to work in non e2e setup 2016-06-13 15:20:31 -07:00
Eric Chiang
2bf54ac799 regenerated 2016-06-13 15:02:48 -07:00
Eric Chiang
88119903e5 pkg/apis/rbac: make apiversion optional for subjects and fix validation 2016-06-13 15:02:48 -07:00
k8s-merge-robot
8bcecac12f Merge pull request #27286 from Random-Liu/fix-node-problem-detector-test
Automatic merge from submit-queue

Make it blocks in NodeProblemDetector e2e test serial.

Fix #27276.

Move the 3 `It` blocks into 1 `It` block, so that the test itself is running serially. See https://github.com/kubernetes/kubernetes/issues/27276#issuecomment-225655308.

Mark P0 to match the priority of the issue. @dchen1107 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 15:00:13 -07:00
Zach Loafman
49b3936829 GCE provider: Fix minor cosmetic logging issue
Log the pollOp, not the base op.
2016-06-13 14:53:12 -07:00
Prashanth Balasubramanian
4e2f97a80e Add some logging around ro flag in GCE volume plugin 2016-06-13 13:55:49 -07:00
k8s-merge-robot
94f8c9fbc5 Merge pull request #27292 from mikedanese/dep-notice
Automatic merge from submit-queue

add maintenance notice to cluster/README

cc @bgrant0607 @davidopp @justinsb @smarterclayton @derekwaynecarr
2016-06-13 13:54:50 -07:00
k8s-merge-robot
45bb6824ff Merge pull request #27210 from adityakali/gci53
Automatic merge from submit-queue

version bump for gci to milestone 53

Fixes #26455

GCI release 53 includes kubernetes v1.3.0-alpha.5 with docker-1.11.2.

@dchen1107 @kubernetes/goog-image @andyzheng0831
2016-06-13 13:54:46 -07:00
Prashanth Balasubramanian
90644d773b Add petset directory validation in e2e 2016-06-13 12:02:07 -07:00
k8s-merge-robot
d9f788532f Merge pull request #27167 from euank/fix-node-e2e-coreos-kubelet-cgroup-detection
Automatic merge from submit-queue

Fix node e2e coreos kubelet cgroup detection

Fixes #26979 #26431 

The root issue, as best I can tell, is that cgroup detection does not work when the kubelet is started under an ssh session and the systemd `*Accounting` variables are set. I added additional logging and noted some differences in the cgroup slice names between those cadvisor returns and the kubelet detects for itself.
This difference does not occur if the kubelet is properly running under a unit. That environment is also a more common and sane environment.

See also discussion in #26903

cc @derekwaynecarr @vishh @pwittrock
2016-06-13 11:54:05 -07:00
Mike Danese
bf72d335cb add maintenance notice to cluster/README 2016-06-13 11:47:30 -07:00
Madhusudan.C.S
839d98adfb Address review comments. 2016-06-13 11:17:53 -07:00
Madhusudan.C.S
c4dcb42078 Implement first set of federated service e2e tests.
Note that these tests are untested and there is no guarantee that they work.
The ongoing auth problems is blocking these e2es from being tested and upon
@quinton-hoole's request I am submitting them now.
2016-06-13 11:17:52 -07:00
Random-Liu
0d05ece797 Make it blocks in NodeProblemDetector e2e test serial. 2016-06-13 11:00:41 -07:00
k8s-merge-robot
0d02f8c0f6 Merge pull request #26557 from AdoHe/patch_retry
Automatic merge from submit-queue

kubectl apply retry stale resource version

```release-note
kubectl apply: retry applying a patch if a version conflict error is encountered
```

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

fixes #15493 
@pwittrock I just got my original implementation back, ptal.
2016-06-13 10:13:27 -07:00
Yifan Gu
03ee60c810 rkt: Updated the TestMakePodManifestAnnotations(). 2016-06-13 09:43:15 -07:00
Yifan Gu
f2bf13a5ac rkt: Treat pod container cgroup as the infra container. 2016-06-13 09:43:10 -07:00
k8s-merge-robot
7180b35535 Merge pull request #27279 from mwielgus/ca-e2e-fix-2
Automatic merge from submit-queue

Add pending pod check in cluster autoscaler e2e tests

The tests should wait until all pods are running before declaring a success and resizing the mig.

cc: @fgrzadkowski @piosz @jszczepkowski
2016-06-13 09:03:04 -07:00
k8s-merge-robot
913241c721 Merge pull request #27271 from jsafrane/integration-flake-2
Automatic merge from submit-queue

volume integration: wait for PVs before creating PVCs

The test should wait until all volumes are processed by volume controller (i.e. in the controller cache) before creating a PVC.

Without that, the "best" matching PV could not be in the cache and controller might bind the PVC to suboptiomal one.

This fixes integration test flake "Bind mismatch! Expected pvc-2 capacity 50000000000 but got pvc-2 capacity 52000000000".

Fixes #27179 (together with #26894)
2016-06-13 09:02:59 -07:00
k8s-merge-robot
1ed5342b35 Merge pull request #26894 from jsafrane/fix-integration-pv-flake
Automatic merge from submit-queue

Fix integration pv flakes

There are two fixes in this PR:
- run tests in separarate functions and use objects with different names, otherwise events from the beginning of the function are caught later when we watch for events of a different PV/PVC
- don't set PV.Spec.ClaimRef.UID of pre-bound PVs. PVs with UID set are considered as bound and they are deleted/recycled when appropriate PVC does not exists yet.

Fixes #26730 and probably also ~~#26894~~ #26256
2016-06-13 09:02:54 -07:00
k8s-merge-robot
024316e5a1 Merge pull request #27183 from bryk/release-beta3
Automatic merge from submit-queue

Set Dashboard UI version to v1.1.0-beta3

We expect 1-2 more betas before final release. 

Release info: https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta3

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 07:57:55 -07:00
k8s-merge-robot
e84e226faf Merge pull request #27155 from Random-Liu/remove-unnecessary-configuration
Automatic merge from submit-queue

Remove unnecessary configuration for apiserver host and port.

This is kubernetes side of https://github.com/kubernetes/node-problem-detector/pull/18.

There is no need to configure apiserver host and port with salt and pillar, the default ENV values
in the container are enough. I've tried this PR in my local cluster, everything works fine.

@mikedanese for the salt change. :)
/cc @dchen1107 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 07:57:51 -07:00
Marcin Wielgus
5359e9ec91 Add pending pod check in cluster autoscaler e2e tests 2016-06-13 16:33:37 +02:00
k8s-merge-robot
0f72e21add Merge pull request #27130 from pwittrock/nodee2e
Automatic merge from submit-queue

Revert "Wait for arc.getArchive() to complete before running tests"

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

This reverts commit c1d915df5b.

- Reverting this commit because it tried to fix a red herring.
2016-06-13 07:02:29 -07:00
derekwaynecarr
ce44b3b98a Quota can look for a previous object from admission rather than do a lookup 2016-06-13 09:50:53 -04:00
k8s-merge-robot
10255f8aec Merge pull request #26951 from madhusudancs/fed-detect-project-registry-base
Automatic merge from submit-queue

Detect the project in which the federation of clusters are being created and point the federation docker registry to that project.

Only the last commit here needs review.

Depends on #26950.

cc @colhom @kubernetes/sig-cluster-federation

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 06:00:04 -07:00
Jan Safranek
248b4c3350 volume integration: wait for PVs before creating PVCs
The test should wait until all volumes are processed by volume controller (i.e.
in the controller cache) before creating a PVC.

Without that, the "best" matching PV could not be in the cache and controller
might bind the PVC to suboptiomal one.

This fixes integration test flake "Bind mismatch! Expected pvc-2 capacity
50000000000 but got pvc-2 capacity 52000000000".
2016-06-13 14:43:49 +02:00
Piotr Szczesniak
dc8c631afd Added warning to hpa design doc 2016-06-13 14:26:37 +02:00
k8s-merge-robot
6489abe8b4 Merge pull request #26953 from madhusudancs/fed-e2e-framework-clientset
Automatic merge from submit-queue

Add clientset support for federation e2e tests.

Only the last commit here needs review.

Depends on #26952.

cc @colhom @kubernetes/sig-cluster-federation

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 04:53:41 -07:00
Wojciech Tyczynski
430077f173 Increase Heapster requirement and bump nanny version 2016-06-13 13:22:49 +02:00
gmarek
0986efc089 Increase memory limit for heapster's pod nanny 2016-06-13 12:58:34 +02:00
k8s-merge-robot
b2f0cbe3d1 Merge pull request #27045 from jszczepkowski/hpa-e2e-fix
Automatic merge from submit-queue

Reduced flakiness of HPA e2e tests.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Reduced flakiness of HPA e2e tests.
2016-06-13 03:40:18 -07:00