Commit Graph

2941 Commits (ec6181d5d3cae2238d485ee75332ab9c09b619d9)

Author SHA1 Message Date
k8s-merge-robot 9075f53dca Merge pull request #28388 from mml/cluster-refactor
Automatic merge from submit-queue

Collect cluster state into a single type.

Mostly just makes it easier to read and, hopefully, extend.
2016-07-06 23:03:01 -07:00
Matt Liggett 5b8113dffd code review fixes 2016-07-06 15:10:29 -07:00
Matt Liggett 55e642cb9f Use a pointer. Duh. 2016-07-06 15:10:29 -07:00
Matt Liggett 088b871729 Switch to a map. 2016-07-06 15:10:29 -07:00
Matt Liggett 49a69b17f7 add clusterNamespaceCreated to it 2016-07-06 15:10:29 -07:00
Matt Liggett 36c34af2fa cluster type 2016-07-06 15:10:29 -07:00
Random-Liu be8c7536ae Add standard UpdatePod function in framework, and change
the test to use it.
2016-07-06 11:04:34 -07:00
k8s-merge-robot cd7a56ba46 Merge pull request #28287 from kargakis/bump-timeout-for-deleting-deployments
Automatic merge from submit-queue

e2e: increase timeout when waiting for deployment pods to be deleted

Use the same timeout as the one used for waiting for the deployment
reaper to complete.

Takes a stab at https://github.com/kubernetes/kubernetes/issues/28067

@kubernetes/deployment  PTAL
2016-07-04 11:06:43 -07:00
Marcin Wielgus 09033ee6a3 Increase timeouts in multiple node pool e2e tests for cluster autoscaler 2016-07-04 14:10:37 +02:00
k8s-merge-robot ffae4cf5a9 Merge pull request #28404 from saad-ali/movePDTestOutOfFlaky
Automatic merge from submit-queue

Move ungraceful PD tests out of flaky
2016-07-02 00:06:49 -07:00
k8s-merge-robot 3166f9316f Merge pull request #28111 from mfojtik/min-ready-seconds
Automatic merge from submit-queue

Add MinReadySeconds to rolling updater

Add MinReadySeconds support to RollingUpdater that allows to specify the number of seconds to wait on top of the pod is "ready" because its readiness probe passed.
2016-07-01 19:21:16 -07:00
saadali 1882a789ac Move ungraceful PD tests out of flaky 2016-07-01 17:50:23 -07:00
Quinton Hoole b3c7c49098 Print kube-dns pod logs on federation e2e test failure. 2016-07-01 11:23:29 -07:00
Marcin Wielgus 92b3359aec E2e tests to check whether cluster autoscaling scale down works when one node pool is not autoscaled. 2016-07-01 11:02:44 +02:00
k8s-merge-robot e2b3aad63a Merge pull request #27124 from gitfred/parallel-waiting
Automatic merge from submit-queue

Parallel waiting for pods in e2e

Fixes #27120
2016-06-30 17:49:49 -07:00
Quinton Hoole bc6e626588 Federated Services e2e: Simplify logic and logging around verification of services in underlying clusters. Fixes #28269 2016-06-30 14:19:42 -07:00
Michail Kargakis 8f550c1a88 e2e: increase timeout when waiting for deployment pods to be deleted
Use the same timeout as the one used for waiting for the deployment
reaper to complete.
2016-06-30 14:10:42 +02:00
Michal Fojtik 7ea28e42c0 Add MinReadySeconds to rolling updater 2016-06-30 13:13:08 +02:00
k8s-merge-robot f2ddd60eb9 Merge pull request #26755 from david-mcmahon/fix-headers
Automatic merge from submit-queue

Remove "All rights reserved" from all the headers.

cc @thockin @zmerlynn @brendanburns
2016-06-29 18:46:07 -07:00
k8s-merge-robot ede2fa2c6f Merge pull request #27766 from sttts/sttts-portforward-e2e-more-logs
Automatic merge from submit-queue

portforward e2e: extend log for flake hunting

For some more insight into flake https://github.com/kubernetes/kubernetes/issues/27680
2016-06-29 18:46:03 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
k8s-merge-robot 331fde8363 Merge pull request #26470 from timstclair/node-e2e
Automatic merge from submit-queue

Refactor common pod patterns to e2e framework.

Priveledged pods could benifit from this as well, but I'll wait for https://github.com/kubernetes/kubernetes/pull/26228 to go in.

Prerequisite for https://github.com/kubernetes/kubernetes/issues/26215
2016-06-29 15:35:02 -07:00
k8s-merge-robot 594e4d883c Merge pull request #27468 from aledbf/remove-duplicated-nginx-image
Automatic merge from submit-queue

Remove duplicated nginx image. Use nginx-slim instead

This PR removes the image `gcr.io/google_containers/nginx:1.7.9` and uses `gcr.io/google_containers/nginx-slim:0.7`.
Besides removing the duplication `1.7.9` is 16 months old.
2016-06-29 12:43:38 -07:00
k8s-merge-robot 02de0092a0 Merge pull request #28211 from quinton-hoole/2016-06-29-fix-federation-e2e
Automatic merge from submit-queue

Fix federation e2e tests by correctly managing cluster clients

1. The main fix: Correct overall BeforeEach() to create a new set of cluster clients, rather than just append to the set created by all previous tests.  This was screwing up a lot of stuff in difficult to diagnose ways.
2. Add lots of debug logging.
3. Be better about cleaning up after each test.

```
SUCCESS! -- 6 Passed | 0 Failed :-)
```

cc @nikhiljindal @madhusudancs @mfanjie @colhom FYI
2016-06-29 10:52:32 -07:00
k8s-merge-robot 6159126740 Merge pull request #28215 from mwielgus/disable-ca
Automatic merge from submit-queue

E2e test for disabling cluster autoscaler in GKE

plus small refactoring around add node pool.
2016-06-29 05:02:19 -07:00
k8s-merge-robot d4e6064b70 Merge pull request #28109 from jszczepkowski/influx-ps
Automatic merge from submit-queue

Influxdb migrated to PetSet and PersistentVolumes.

```release-note
Influxdb migrated to PetSet and PersistentVolumes.
```
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Influxdb migrated to PetSet and PersistentVolumes.
2016-06-29 05:02:15 -07:00
Marcin Wielgus c9f5eea1f6 E2e test for disabling cluster autoscaler in GKE 2016-06-29 12:19:49 +02:00
Quinton Hoole 945c74525b Fix federation e2e tests by correctly managing cluster clients. 2016-06-29 01:03:15 -07:00
Quinton Hoole 3e65d07584 I think I fixed all of the Federation e2e tests! 2016-06-29 00:34:43 -07:00
Marcin Wielgus a6903159d8 Check if Cluster Autoscaler still works if there is an extran non-autoscaled node pool in the cluster. 2016-06-29 09:28:11 +02:00
Tim St. Clair 376b5f247a Refactor common pod patterns to e2e framework. 2016-06-28 17:20:08 -07:00
k8s-merge-robot f293a29ae7 Merge pull request #28181 from jingxu97/grace-6-28
Automatic merge from submit-queue

Add two pd tests with default grace period


Add two tests in pd.go. They are same as the flaky test, but the pod deletion has default grace period
2016-06-28 17:09:46 -07:00
Manuel de Brito Fontes ec5cc59696 Remove duplicated nginx image. Use nginx-slim 2016-06-28 17:35:38 -04:00
Jing Xu e94242ed19 Add two pd tests with default grace period
Add two tests in pd.go. They are same as the flaky test, but the pod deletion has default grace period
2016-06-28 14:15:31 -07:00
Quinton Hoole 28fab489ea Refactored, expanded and fixed federated-services e2e tests. 2016-06-28 13:01:28 -07:00
Michael Taufen e4cdc8cfe5 Fix typo 2016-06-28 10:08:06 -07:00
k8s-merge-robot 86357b8deb Merge pull request #28092 from Random-Liu/fix-node-problem-detector-e2e
Automatic merge from submit-queue

Fix node problem detector e2e flake

Fix #28069.

The [original code](https://github.com/kubernetes/kubernetes/blob/master/test/e2e/node_problem_detector.go#L198-L204) assumes the test condition will be generated after 5s ([`pollConsistently`](https://github.com/kubernetes/kubernetes/blob/master/test/e2e/node_problem_detector.go#L39)), however sometimes that may not be enough, see #28096

So, this PR changes it to use `Eventually` instead of `Consistently` to make the code waits longer before the test condition to be generated. The original `Consistently` checking is a bit redundant, so I removed it.

@dchen1107 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-28 09:18:16 -07:00
k8s-merge-robot 7e670fb847 Merge pull request #28023 from lukaszo/e2e_node_problem
Automatic merge from submit-queue

Skip test if ssh is not supported by provider
2016-06-28 07:34:20 -07:00
k8s-merge-robot a59ec45e2a Merge pull request #27871 from lukaszo/e2e_zones
Automatic merge from submit-queue

Skip multi-zone e2e tests unless provider is GCE, GKE or AWS

No need to fail the tests. If label is not present then it means that node is not in any zone.
Related issue: #27372
2016-06-28 05:13:36 -07:00
k8s-merge-robot a89a9e610e Merge pull request #28090 from saad-ali/moveRWPDTestToFlaky
Automatic merge from submit-queue

Mark "RW PD, remove it, then schedule" test flaky

Mark test as flaky while it is being investigated. Tracked by https://github.com/kubernetes/kubernetes/issues/27691

Assigning to @jlowdermilk since he's on call
2016-06-27 15:26:30 -07:00
Jerzy Szczepkowski d00cdf75e8 Influxdb migrated to PetSet and PersistentVolumes.
Influxdb migrated to PetSet and PersistentVolumes.
2016-06-27 15:39:09 +02:00
k8s-merge-robot 700fbd0543 Merge pull request #27461 from euank/e2e-rkt-runtime
Automatic merge from submit-queue

e2e: Allow skipping tests for specific runtimes, skip a few tests under rkt

The main benefit of this is that it gives a developer more useful output (more signal to noise) for things that are known broken on that runtime.

cc @kubernetes/rktnetes-maintainers , @ixdy 

I'll run this PR through our jenkins and make sure things look happy and compare to the e2e results for this PR.
2016-06-26 18:47:42 -07:00
Random-Liu aecb5357a6 Fix node problem detector e2e flake 2016-06-26 16:34:31 -07:00
saadali b94442f470 Mark "RW PD, remove it, then schedule" test flaky 2016-06-26 15:33:32 -07:00
k8s-merge-robot d64333419c Merge pull request #27749 from dubstack/dubstack-refactor-qos
Automatic merge from submit-queue

[Refactor] QOS to have QOS Class type for QoS classes

This PR adds a QOSClass type and initializes QOSclass constants for the three QoS classes.
It would be good to use this in all future QOS related features. 
This would be good to have for the (Pod level cgroups isolation proposal)[https://github.com/kubernetes/kubernetes/pull/26751] that i am working on aswell.
@vishh PTAL
 
Signed-off-by: Buddha Prakash <buddhap@google.com>
2016-06-26 06:23:23 -07:00
k8s-merge-robot 00e7ab583e Merge pull request #27546 from aveshagarwal/master-delete-ns-pod-reason
Automatic merge from submit-queue

Add pod status reason when there are remaining pods.

@yujuhong
2016-06-26 00:39:02 -07:00
k8s-merge-robot 601173c2fe Merge pull request #26916 from caesarxuchao/podgc
Automatic merge from submit-queue

rename the gc for terminated pods to "podgc"

to avoid name collision with the [generic garbage collector](https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/garbagecollector/garbagecollector.go)
2016-06-25 12:24:07 -07:00
k8s-merge-robot e0b8595f92 Merge pull request #25255 from ingvagabund/e2e-framework-util-StartPods-panic-for-zero-replicas
Automatic merge from submit-queue

e2e.framework.util.StartPods: panic if the number or replicas is zero

The number of pods to start must be non-zero.
Otherwise the function waits for pods forever if ``waitForRunning`` is true.
It the number of replicas is zero, panic so the mistake is heard all over the e2e realm.

Update all callers of StartPods to test for non-zero number of replicas.
2016-06-25 01:57:38 -07:00
k8s-merge-robot 2bc2cf2e5e Merge pull request #28043 from mml/fed-grace-period
Automatic merge from submit-queue

Set grace period to 0 when deleting namespaces after the test.

Otherwise, we try to run the next test and the pods are still there.
2016-06-25 01:16:53 -07:00
k8s-merge-robot fc1937f68f Merge pull request #20273 from kargakis/allow-scaling-paused-deployments
Automatic merge from submit-queue

Proportionally scale paused and rolling deployments

Enable paused and rolling deployments to be proportionally scaled.
Also have cleanup policy work for paused deployments.

Fixes #20853
Fixes #20966
Fixes #20754

@bgrant0607 @janetkuo @ironcladlou @nikhiljindal

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/20273)
<!-- Reviewable:end -->
2016-06-24 19:41:51 -07:00