Commit Graph

3951 Commits

Author SHA1 Message Date
k8s-merge-robot
eb733cbf45 Merge pull request #25285 from ingvagabund/extend-secrets-volumes-with-path-control
Automatic merge from submit-queue

Extend secrets volumes with path control

As per [1] this PR extends secrets mapped into volume with:

* key-to-path mapping the same way as is for configmap. E.g.

```
{
 "apiVersion": "v1",
 "kind": "Pod",
  "metadata": {
    "name": "mypod",
    "namespace": "default"
  },
  "spec": {
    "containers": [{
      "name": "mypod",
      "image": "redis",
      "volumeMounts": [{
        "name": "foo",
        "mountPath": "/etc/foo",
        "readOnly": true
      }]
    }],
    "volumes": [{
      "name": "foo",
      "secret": {
        "secretName": "mysecret",
        "items": [{
          "key": "username",
          "path": "my-username"
        }]
      }
    }]
  }
}
```

Here the ``spec.volumes[0].secret.items`` added changing original target ``/etc/foo/username`` to ``/etc/foo/my-username``.

* secondly, refactoring ``pkg/volumes/secrets/secrets.go`` volume plugin to use ``AtomicWritter`` to project a secret into file.

[1] https://github.com/kubernetes/kubernetes/blob/master/docs/design/configmap.md#changes-to-secret
2016-05-21 03:55:13 -07:00
k8s-merge-robot
e484f142d6 Merge pull request #25216 from rootfs/pv-integration-test
Automatic merge from submit-queue

Add PV test to persistent volume integration test

This is a follow-up to #25120

@kubernetes/sig-storage
2016-05-21 01:34:06 -07:00
k8s-merge-robot
45514f729e Merge pull request #25915 from ncdc/e2e-fix
Automatic merge from submit-queue

Check status of framework.CheckPodsRunningReady

Check status of framework.CheckPodsRunningReady and fail test if it's false, instead of silently
ignoring the failure.

This doesn't fix whatever is causing the pod not to start in #17523 but it does fail the test as soon as it detects the pod didn't start, instead of allowing the testing to proceed.

cc @kubernetes/sig-testing @spxtr @ixdy @kubernetes/rh-cluster-infra
2016-05-20 19:52:46 -07:00
k8s-merge-robot
70cd282f11 Merge pull request #25944 from pwittrock/fix-24905
Automatic merge from submit-queue

Pre-pull images in node e2e-tests.  Possible resolution for #24905



[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-20 18:50:11 -07:00
Andy Goldstein
f83a286fbc Check status of framework.CheckPodsRunningReady
Check status of framework.CheckPodsRunningReady and fail test if it's false, instead of silently
ignoring the failure.
2016-05-20 20:21:11 -04:00
Mike Danese
11105355fc Merge pull request #25916 from pwittrock/node-e2e-images
Update node e2e containervm image to not start kubelet as part of ini…
2016-05-20 16:41:28 -07:00
Mike Danese
c715823cbc Merge pull request #25776 from krousey/proxy_exec
Removing indirection from proxy exec test
2016-05-20 16:41:11 -07:00
Mike Danese
c2c030b6d8 fix kubemark 2016-05-20 15:42:40 -07:00
Kris
f4cf45ee94 Removing indirection from proxy exec test
I removed the netexec and goproxy pods from the proxy exec test. Instead
it now runs kubectl locally and the proxy is running in-process. Since
Go won't proxy for localhost requests, this test cannot pass if the API
server is local. However it was already disabled for local clusters.
2016-05-20 09:16:23 -07:00
Phillip Wittrock
e4b40fca9a Update node e2e containervm image to not start kubelet as part of init. Update the node e2e host setup.sh to also do this when creating new images. 2016-05-20 14:44:38 +00:00
k8s-merge-robot
27512dd0a1 Merge pull request #25190 from ingvagabund/e2e-scheduler-predicates-validate-resource-limits
Automatic merge from submit-queue

SchedulerPredicates e2e test: be more verbose about requested resource

When ``validates resource limits of pods that are allowed to run [Conformance]`` test is run, logs could give more information about requested resource and say it is for cpu and in mili units.

cpu is stored in m units here:

```
nodeToCapacityMap[node.Name] = capacity.MilliValue()
```
2016-05-20 05:31:38 -07:00
k8s-merge-robot
97a7d009ad Merge pull request #25708 from ixdy/node-e2e-test-timeout
Automatic merge from submit-queue

Add a timeout to the node e2e Ginkgo test runner

Also add a few debugging statements to indicate progress.

Should help prevent #25639, since we'll timeout tests before Jenkins times out the build.
2016-05-20 04:42:16 -07:00
Filip Grzadkowski
afea2e2f95 Merge pull request #25780 from andyzheng0831/test-case
e2e: simple pod HTTP proxy test should use amd64 kubectl for GCI
2016-05-20 10:27:17 +02:00
Filip Grzadkowski
d3522dd8d2 Merge pull request #24128 from smarterclayton/dns_test_change
Allow cluster DNS e2e verification to be overriden
2016-05-20 10:26:13 +02:00
Phillip Wittrock
839f4f8dd2 Pre-pull images in node e2e-tests. Possible resolution for #24905 2016-05-20 05:22:30 +00:00
Daniel Smith
785f1c31a6 emergency gc test fix--be extra safe 2016-05-19 22:04:50 -07:00
Daniel Smith
8e7b7a2f9a emergency gc test fix 2016-05-19 21:44:31 -07:00
Daniel Smith
5448400b1c Merge pull request #25243 from smarterclayton/explore_quantity
Provide an int64 version of Quantity that is much faster
2016-05-19 16:56:48 -07:00
Joe Finney
dca1f5a88a Run setupProviderConfig in BeforeSuite. 2016-05-19 14:57:00 -07:00
k8s-merge-robot
ef952efb82 Merge pull request #25800 from ingvagabund/mounttest-use-stats-instead-of-lstat-to-read-symlinks
Automatic merge from submit-queue

gcr.io/google_containers/mounttest: use Stat instead of Lstat

The current ``mt.go`` implementation use ``os.Lstat`` instead of ``os.Stat`` which does not read symlinks. Since implementation of ``AtomicWriter`` (which relies on existence of symlinks), the updated implementation of secret volume using the ``AtomicWriter`` can not be tested for secret file permission. Replacing ``Lstat`` with ``Stat`` allows to read symlinks and return permissions of target file. The change affects ``--file_perm`` and ``--file_mode`` options only.

``mounttest`` image is currently used by:

##### downwardapi_volume.go
- e2e: Downward API volume
- version: 0.6
- args: --file_content, --break_on_expected_content, --retry_time, --file_content_in_loop

##### empty_dir.go
- e2e: EmptyDir volumes
- version: 0.5
- args: --file_perm, --file_perm, ...

##### host_path.go
- e2e: hostPath
- version: 0.6
- args: --file_mode, ...

##### configmap.go
- e2e: ConfigMap
- version: 0.6
- args: --file_content, --break_on_expected_content, --retry_time, --file_content_in_loop

##### service_accounts.go
- e2e: ServiceAccounts
- version: 0.2
- args: --file_content

Some of the e2e tests use at least one of the affected options. Locally, I have updated all version of mounttest images to 0.7. All e2e tests pass with the new image.
2016-05-19 13:15:24 -07:00
Shaya Potter
ae08ef38d7 kubelet/cadvisor: Refactor cadvisor disk stat/usage interfaces 2016-05-19 11:13:47 -07:00
Danka Niedziałkowska
e676fc55f1 Update gke_local_ssd.go 2016-05-19 11:04:23 -07:00
Brendan Burns
014622db8f address comments. 2016-05-19 10:38:13 -07:00
Brendan Burns
7e43205110 Add an e2e test for third party resources (disabled by default) 2016-05-19 10:15:08 -07:00
gmarek
8684b8ea72 Add resource limits for master resources in density test 2016-05-19 15:32:21 +02:00
Huamin Chen
cc45f48bb7 persistent volume integration tests:
- create 100 PV, ranging from 0 to 99GB; create 1 PVC to claim 50GB. Verify only one PV is bound and rest are pending
- create 2 PVs with different access modes (RWM, RWO), 1 PVC to claim RWM PV. Verify RWM is bound and RWO is not bound.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-19 13:22:59 +00:00
Wojciech Tyczynski
f204a9f399 Merge pull request #25783 from zhouhaibing089/indexer-fix
Fix the Store to be Indexer in test/component/scheduler/perf
2016-05-19 14:55:24 +02:00
Clayton Coleman
5e4308f91d
Update use of Quantity in other classes 2016-05-19 08:41:43 -04:00
Jan Chaloupka
6bfc80166a e2e test: [k8s.io] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance]
Be more verbose about requested resource and say it is cpu in mili units
2016-05-19 12:25:41 +02:00
k8s-merge-robot
c63ac4e664 Merge pull request #24331 from jsafrane/devel/refactor-binder
Automatic merge from submit-queue

Refactor persistent volume controller

Here is complete persistent controller as designed in https://github.com/pmorie/pv-haxxz/blob/master/controller.go

It's feature complete and compatible with current binder/recycler/provisioner. No new features, it *should* be much more stable and predictable.

Testing
--
The unit test framework is quite complicated, still it was necessary to reach reasonable coverage (78% in `persistentvolume_controller.go`). The untested part are error cases, which are quite hard to test in reasonable way - sure, I can inject a VersionConflictError on any object update and check the error bubbles up to appropriate places, but the real test would be to run `syncClaim`/`syncVolume` again and check it recovers appropriately from the error in the next periodic sync. That's the hard part.

Organization
---
The PR starts with `rm -rf kubernetes/pkg/controller/persistentvolume`. I find it easier to read when I see only the new controller without old pieces scattered around.
[`types.go` from the old controller is reused to speed up matching a bit, the code looks solid and has 95% unit test coverage].

I tried to split the PR into smaller patches, let me know what you think.

~~TODO~~
--

* ~~Missing: provisioning, recycling~~.
* ~~Fix integration tests~~
* ~~Fix e2e tests~~

@kubernetes/sig-storage

<!-- 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/24331)
<!-- Reviewable:end -->

Fixes #15632
2016-05-19 03:06:46 -07:00
Janet Kuo
6ca3c16f4c Remove kubectl describe test from flaky list 2016-05-18 21:27:29 -07:00
Danka Niedziałkowska
bba211e04b Test for GKE local SSD 2016-05-18 18:11:22 -07:00
Daniel Smith
0bda969cd5 Merge pull request #25261 from jayunit100/readySched
Support GetReadySchedulable pods for all node selecting tests.
2016-05-18 17:24:09 -07:00
Daniel Smith
c4889dd826 Merge pull request #25781 from pwittrock/issue-25657
Clean up kubectl test to use the blessed e2e test redis configs and t…
2016-05-18 17:22:54 -07:00
CJ Cullen
57f96a932f Add expiration LRU cache for webhook token authenticator. 2016-05-18 11:58:11 -07:00
Andy Zheng
25c9764f29 e2e: use amd64 kubectl for simple pod HTTP proxy test 2016-05-18 10:29:00 -07:00
Kevin
52fb89ff73 implement taints and tolerations 2016-05-18 15:06:23 +00:00
Jan Chaloupka
ebe56f5ff9 Extend the current secrets mounting to volume implementation with key to path mapping.
The key to path mapping allows pod to specify different name (thus location) of each secret.
At the same time refactor the volume plugin to use AtomicWritter to project secrets to files in a volume.

Update e2e Secrets test, the secret file permission has changed from 0444 to 0644
Remove TestPluginIdempotent as the AtomicWritter is responsible for secret creation
2016-05-18 16:12:31 +02:00
k8s-merge-robot
48c90f15c5 Merge pull request #24509 from caesarxuchao/primitive-gc
Automatic merge from submit-queue

Adding garbage collector controller

Adding the propagator and garbage processor of the gc.

Design doc is at https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/garbage-collection.md

<!-- 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/24509)
<!-- Reviewable:end -->
2016-05-18 03:14:25 -07:00
Jan Safranek
79b91b9ee0 Refactor persistent volume initialization
There should be only one initialization function, shared by the real
controller and unit tests.
2016-05-18 10:06:51 +02:00
Jan Safranek
440b4bc6ba Fix integration tests. 2016-05-18 10:06:51 +02:00
k8s-merge-robot
bf4f84167f Merge pull request #23567 from smarterclayton/init_containers
Automatic merge from submit-queue

Add init containers to pods

This implements #1589 as per proposal #23666

Incorporates feedback on #1589, creates parallel structure for InitContainers and Containers, adds validation for InitContainers that requires name uniqueness, and comments on a number of implications of init containers.

This is a complete alpha implementation.

<!-- 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/23567)
<!-- Reviewable:end -->
2016-05-18 00:53:30 -07:00
pwittrock
c7bfbe6460 Clean up kubectl test to use the blessed e2e test redis configs and to output debug info when failing. Debugs #25657. 2016-05-18 04:22:09 +00:00
zhouhaibing089
2afa7eed44 fix the Store to be Indexer 2016-05-18 10:18:13 +08:00
Janet Kuo
e428b77cbe Fix e2e test failure: pull redis image from gcr instead of docker 2016-05-17 15:12:09 -07:00
Janet Kuo
b51782206f Generate gobindata data 2016-05-17 15:12:07 -07:00
Chao Xu
0cda99b8d7 fixing TestCascadingDeletion flake 2016-05-17 13:48:37 -07:00
gmarek
eb48166d5b Fix resource-gatherer that never gathered resources from non-master machines 2016-05-17 17:53:18 +02:00
k8s-merge-robot
959e6ca6b1 Merge pull request #25742 from jszczepkowski/kac-nodeport-test
Automatic merge from submit-queue

Added e2e test for cluster autoscaler that verifies host ports.

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

Added e2e test for cluster autoscaler that verifies host ports.
2016-05-17 07:13:24 -07:00
Jan Chaloupka
0e0be8421f gcr.io/google_containers/mounttest: use Stat instead of Lstat to retrieve fileinfo of symlinks as well 2016-05-17 15:57:33 +02:00
Jerzy Szczepkowski
905382f7b8 Added e2e test for cluster autoscaler that verifies host ports.
Added e2e test for cluster autoscaler that verifies host ports.
2016-05-17 15:07:30 +02:00
gmarek
0848ad2201 Prevent division by 0 error in resource-gatherer 2016-05-17 14:35:48 +02:00
Wojciech Tyczynski
2f2d650150 Merge pull request #25667 from wojtek-t/higher_list_nodes_limit
Bump threshold for listing nodes
2016-05-17 10:46:30 +02:00
Wojciech Tyczynski
022f510312 Fix services in load test 2016-05-17 09:17:51 +02:00
Wojciech Tyczynski
abe8259a30 Bump threshold for listing nodes 2016-05-17 08:45:53 +02:00
Clayton Coleman
205a8b4574
Add init container loading to the kubelet 2016-05-17 00:29:53 -04:00
Jeff Grafton
83dd910175 Add a timeout to the node e2e Ginkgo test runner
Also add a few debugging statements to indicate progress.
2016-05-16 20:22:41 -07:00
Random-Liu
d1ab3b7f01 Change consistently check timeout to 20 seconds. 2016-05-16 16:38:40 -07:00
k8s-merge-robot
a0cc59f28a Merge pull request #25658 from jszczepkowski/kac-test
Automatic merge from submit-queue

Updated e2e tests for cluster autoscaling.

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

Updated e2e tests for cluster autoscaling to work with the new cluster autoscaler.
2016-05-16 06:56:30 -07:00
Jerzy Szczepkowski
96818874f4 Updated e2e tests for cluster autoscaling.
Updated e2e tests for cluster autoscaling to work with the new cluster autoscaler.
2016-05-16 14:49:43 +02:00
k8s-merge-robot
9aa1a59443 Merge pull request #25568 from wojtek-t/namespaces_in_load_test
Automatic merge from submit-queue

Introduce namespaces in load test

Ref #25563
2016-05-16 01:01:29 -07:00
Chao Xu
21706384f7 use garbage queue drained instead of a watch 2016-05-16 00:14:51 -07:00
Wojciech Tyczynski
4b0b6a13e0 Introduce namespaces in load test 2016-05-16 08:33:27 +02:00
Chao Xu
c73406bcfe the garbage collector controller 2016-05-15 16:04:19 -07:00
k8s-merge-robot
141f814eb8 Merge pull request #25100 from rootfs/e2e-gce-volume
Automatic merge from submit-queue

add GCE PD volume e2e tests

add GCE PD e2e volume test

@kubernetes/sig-storage
2016-05-15 05:33:38 -07:00
k8s-merge-robot
cb9a85166c Merge pull request #24191 from liangchenye/podstatus
Automatic merge from submit-queue

Add pod status/ready/restartCount conformance test

add more test cases to cover containers which will be terminated/running/failed/pending.

Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-05-14 09:29:00 -07:00
k8s-merge-robot
9796900306 Merge pull request #25551 from mml/db.store.codegen
Automatic merge from submit-queue

The remaining API changes for PodDisruptionBudget.

It's mostly the boilerplate required for the registry, some extra codegen, and a few tests.

Will squash once we're sure it's good.
2016-05-13 20:15:15 -07:00
Matt Liggett
f5e8d41431 Finish implementing policy API.
Registry implementation and addition to the master.
2016-05-13 17:27:58 -07:00
Jeff Lowdermilk
731a4f78f2 Merge pull request #25537 from jlowdermilk/e2e-framework-fix
e2e: make ForEach fail if filter is empty, fix no-op tests
2016-05-13 17:04:33 -07:00
Jeff Lowdermilk
e02cad4a11 Merge pull request #25564 from davidopp/fix-pod-affinity-test
Move test input files from test/e2e/node-selection/ to test/e2e/testing-manifests/
2016-05-13 16:07:20 -07:00
Jeff Lowdermilk
6a15e0a9c2 e2e: make ForEach fail if filter is empty, fix no-op tests 2016-05-13 14:56:50 -07:00
Jeff Lowdermilk
4aabafe4c3 Merge pull request #25519 from jlowdermilk/no-trim
Don't trim whitespace from kubectl output in e2e tests
2016-05-13 13:01:22 -07:00
David Oppenheimer
dd70a5e579 Move test input files from test/e2e/node-selection/ to
test/e2e/testing-manifests/ since the latter are included in the test
tarball while the former are not.
2016-05-13 11:47:17 -07:00
gmarek
74773827ba Add an option for resource-gatherer to look only on master node 2016-05-13 09:53:38 +02:00
k8s-merge-robot
4bb30e0097 Merge pull request #24806 from jayunit100/kubectl-stdin
Automatic merge from submit-queue

[e2e] kubectl stdin

Problem:  Currently kubectl heavily relies on files which have to be (for lack of a better word :):):)) "written" to the file system.  This hinders adoption of something like gobindata, by forcing an intermediary generated-assets directory type thing.

Solution: Lets migrate `kubectl.go` testing over to using standard input streams.

cc @kubernetes/sig-testing @timothysc
2016-05-13 00:10:43 -07:00
Jeff Lowdermilk
9dab67d106 move same image rolling-update test out of Flaky 2016-05-12 14:22:23 -07:00
k8s-merge-robot
15919f336f Merge pull request #25284 from bprashanth/service_unready
Automatic merge from submit-queue

Add a service annotation that allows endpoints for unready pods

See https://github.com/kubernetes/kubernetes/issues/25283 for context 
@smarterclayton @thockin yes?

<!-- 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/25284)
<!-- Reviewable:end -->
2016-05-12 12:05:27 -07:00
Jeff Lowdermilk
5f0d1f04b8 Don't trim whitespace from kubectl output in e2e tests 2016-05-12 09:00:51 -07:00
k8s-merge-robot
132ebb091a Merge pull request #24459 from fgrzadkowski/unschedulable_pod
Automatic merge from submit-queue

Add pod condition PodScheduled to detect situation when scheduler tried to schedule a Pod, but failed

Set `PodSchedule` condition to `ConditionFalse` in `scheduleOne()` if scheduling failed and to `ConditionTrue` in `/bind` subresource.

Ref #24404

@mml (as it seems to be related to "why pending" effort)

<!-- 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/24459)
<!-- Reviewable:end -->
2016-05-12 05:54:06 -07:00
Filip Grzadkowski
a80b1798c4 Add pod condition PodScheduled to detect situation
when scheduler tried to schedule a Pod, but failed.

Ref #24404
2016-05-12 10:21:21 +02:00
liang chenye
4ddb160bd0 e2e-node test: check runtime ready/restartcount/status
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-05-12 15:29:35 +08:00
k8s-merge-robot
0ef4c6407b Merge pull request #24902 from cjcullen/webhookAuthn
Automatic merge from submit-queue

Webhook Token Authenticator

Add a webhook token authenticator plugin to allow a remote service to make authentication decisions.
2016-05-11 22:08:58 -07:00
k8s-merge-robot
b1560f36c3 Merge pull request #25477 from gmarek/e2e_dump
Automatic merge from submit-queue

Add a flag to disable dumpig logs after e2e test failure

cc @kubernetes/sig-testing
2016-05-11 20:34:58 -07:00
saadali
b83af3d481 Change "speter.net/go/exp/math/dec/inf" dependency
to "https://gopkg.in/inf.v0"
2016-05-11 17:01:28 -07:00
k8s-merge-robot
e0f7de94f5 Merge pull request #25279 from piosz/hpa-ga
Automatic merge from submit-queue

Move internal types of hpa from pkg/apis/extensions to pkg/apis/autoscaling

ref #21577

@lavalamp could you please review or delegate to someone from CSI team?
@janetkuo could you please take a look into the kubelet changes?

cc @fgrzadkowski @jszczepkowski @mwielgus @kubernetes/autoscaling
2016-05-11 13:19:42 -07:00
k8s-merge-robot
5673f13edf Merge pull request #24014 from ihmccreery/chaosmonkey-no-ginkgo
Automatic merge from submit-queue

Upgrades tests use chaosmonkey package and ServiceTestJig

Introduce the `chaosmonkey` e2e package for doing disruptive testing (e.g. upgrade testing) more easily.

- [x] `chaosmonkey` package
- [x] migrate upgrade tests to `chaosmonkey` (using WIP `serviceJig`)
- [x] migrate upgrade tests to use `ServiceTestJig` and `chaosmonkey`

Deferred:

- [ ] make `ServiceTestJig` implement `chaosmonkey.Interface`
- [ ] migrate disruptive services tests to use `ServiceTestJig` and `chaosmonkey`

This provides the extensible framework for #15131.  We should now easily be able to add tests (e.g. #6084, #23189).

This is a rewrite of #22446.

cc @mikedanese @quinton-hoole @roberthbailey 

Assigning to @thockin, who wrote `ServiceTestJig`.

<!-- 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/24014)
<!-- Reviewable:end -->
2016-05-11 11:54:11 -07:00
k8s-merge-robot
7e7465e2d4 Merge pull request #25423 from caesarxuchao/dynamic-listoptions
Automatic merge from submit-queue

Let the dynamic client take runtime.Object instead of v1.ListOptions

so that I can pass whatever version of ListOptions to the List/Watch/DeleteCollection methods.

cc @krousey
2016-05-11 10:59:21 -07:00
gmarek
2696e35be3 Add a flag to disable dumpig logs after e2e test failure 2016-05-11 16:53:30 +02:00
Wojciech Tyczynski
fe470b664b Pipe content-type variable to hollow node 2016-05-11 14:57:40 +02:00
k8s-merge-robot
b79a1bb689 Merge pull request #25410 from gmarek/pipe
Automatic merge from submit-queue

Pipe variables from kubemark config to master binaries
2016-05-11 03:45:31 -07:00
gmarek
4a5ec11ce6 Pipe variables from kubemark config to master binaries 2016-05-11 11:22:03 +02:00
Fabio Yeon
0809b2be4d Merge pull request #25119 from XiaoningDing/api-shared-annotations
move shared annotations to new api/annotations package
2016-05-10 19:34:17 -07:00
derekwaynecarr
fc3e71894d Improve quota integration test to not use events, reduce number of pods provisioned 2016-05-10 19:50:36 -04:00
Chao Xu
c7d111280f let dynamic client take runtime.Object instead of v1.ListOptions 2016-05-10 16:05:31 -07:00
Fabio Yeon
c4a2724eb2 Merge pull request #25080 from derekwaynecarr/quota_controller_close_channels
Quota integration test was not closing launched controllers
2016-05-10 15:49:59 -07:00
CJ Cullen
eb3b0e78b4 Add a webhook token authenticator plugin. 2016-05-10 14:54:35 -07:00
Prashanth Balasubramanian
74ccd24574 Endpoints controller respects unready service annotation 2016-05-10 14:20:10 -07:00
Jay Vyas
801c968fff Standard input for kubectl tests
rebased to include gobindata as well.
2016-05-10 14:16:50 -04:00
Fabio Yeon
6f288b31cf Merge pull request #25364 from krousey/proxy_exec_flake
Adding extra logging in case of error.
2016-05-10 10:37:30 -07:00
derekwaynecarr
e842f12c8c Quota integration test needs to stop controllers 2016-05-10 12:31:35 -04:00
k8s-merge-robot
c4214f743f Merge pull request #24918 from Random-Liu/add-docker-operation-timeout
Automatic merge from submit-queue

Kubelet: Add docker operation timeout

For #23563.
Based on #24748, only the last 2 commits are new.

This PR:
1) Add timeout for all docker operations.
2) Add docker operation timeout metrics
3) Cleanup kubelet stats and add runtime operation error and timeout rate monitoring.
4) Monitor runtime operation error and timeout rate in kubelet perf.

@yujuhong 
/cc @gmarek Because of the metrics change.
/cc @kubernetes/sig-node
2016-05-09 21:51:52 -07:00
Kris
d63a215b23 Adding extra logging in case of error. 2016-05-09 11:40:05 -07:00
jianhuiz
441e206671 move server client shared annotations to new api/annotations package 2016-05-09 11:10:44 -07:00
k8s-merge-robot
4642621baf Merge pull request #25348 from gmarek/cidr
Automatic merge from submit-queue

Make Kubemark assign cluster CIDRs
2016-05-09 07:32:36 -07:00
gmarek
7981f479de Make Kubemark assign cluster CIDRs 2016-05-09 15:09:37 +02:00
k8s-merge-robot
1a1229e206 Merge pull request #24795 from deads2k/use-all-attributes
Automatic merge from submit-queue

enable resource name and service account cases for impersonation

Adds the resource name check since that attribute was added for authorization.  Also adds a check against a separate resource for service accounts.  Allowing impersonation of service accounts to use a different resource check places control of impersonation with the same users to have the power to get the SA tokens directly.

@kubernetes/kube-iam 
@sgallagher FYI
2016-05-09 04:58:19 -07:00
k8s-merge-robot
84db106ecb Merge pull request #24701 from euank/addon-ssh-user
Automatic merge from submit-queue

test/e2e/addon_update: Respect KUBE_SSH_USER

This change makes the e2e tests more consistent as the other ones all already respected this variable.

I didn't do the larger change of re-factoring it to use `framework.SSH` because getting the `scp` portion working there has some significant complexity. If I find time, I'd like to go back and do it since this test needs a little ❤️

cc @yifan-gu, @kubernetes/sig-testing
2016-05-09 03:31:48 -07:00
k8s-merge-robot
761fc00234 Merge pull request #25337 from wojtek-t/content_type_in_tests
Automatic merge from submit-queue

Enable using protobufs in e2e tests

ref #25132
2016-05-09 02:50:03 -07:00
k8s-merge-robot
87cf3a31bb Merge pull request #24544 from gmarek/heapster
Automatic merge from submit-queue

Add heapster to kubemark

cc @mwielgus
2016-05-09 02:49:59 -07:00
Wojciech Tyczynski
cb875e0f8c Enable using protobufs in e2e tests 2016-05-09 10:57:35 +02:00
Piotr Szczesniak
212b459817 Move internal types of hpa from pkg/apis/extensions to pkg/apis/autoscaling 2016-05-09 09:18:13 +02:00
Tim Hockin
cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
k8s-merge-robot
d4b1b6776a Merge pull request #24557 from swagiaal/attacher-interface
Automatic merge from submit-queue

 Abstract node side functionality of attachable plugins

- Create PhysicalAttacher interface to abstract MountDevice and
  WaitForAttach.
- Create PhysicalDetacher interface to abstract WaitForDetach and
  UnmountDevice.
- Expand unit tests to check that Attach, Detach, WaitForAttach,
  WaitForDetach, MountDevice, and UnmountDevice get call where
  appropriet.

Physical{Attacher,Detacher} are working titles suggestions welcome. Some other thoughts:
- NodeSideAttacher or NodeAttacher.
- AttachWatcher
- Call this Attacher and call the Current Attacher CloudAttacher.
- DeviceMounter (although there are way too many things called Mounter right now :/)

This is to address: https://github.com/kubernetes/kubernetes/pull/21709#issuecomment-192035382

@saad-ali
2016-05-08 14:04:44 -07:00
k8s-merge-robot
f40fe7173b Merge pull request #24304 from cjcullen/cacheauth
Automatic merge from submit-queue

Support persisting config from kubecfg AuthProvider plugins

Plumbs through an interface to the plugin that can persist a `map[string]string` config for just that plugin. Also adds `config` to the AuthProvider serialization type, and `Login()` to the AuthProvider plugin interface.
Modified the gcp AuthProvider to cache short-term access tokens in the kubecfg file.

Builds on #23066 
@bobbyrullo @deads2k @jlowdermilk @erictune
2016-05-08 13:27:57 -07:00
k8s-merge-robot
53b3ef2122 Merge pull request #23988 from php-coder/kubectl_describe_multiline_labels
Automatic merge from submit-queue

kubectl describe: show multiple labels/annotations on multiple lines

Small UX improvement: when there is more than one label/annotation, it's more readable to see them on the different lines.

Before:
```console
$ kubectl describe svc
Name:			s2i-test
Namespace:		test2
Labels:			app=s2i-test,foo=bar
...
```
After:
```console
$ kubectl describe svc
Name:			s2i-test
Namespace:		test2
Labels:			app=s2i-test
				foo=bar
...
```
This change affects output of the labels/annotations in many of the sub-commands of the `kubectl describe`.

PTAL @smarterclayton @kargakis
2016-05-08 12:51:45 -07:00
k8s-merge-robot
f46f35a9df Merge pull request #23600 from mikedanese/addon-manager
Automatic merge from submit-queue

run kube-addon-manager in a static pod

Depends on https://github.com/kubernetes/kubernetes/pull/23605 and https://github.com/kubernetes/kubernetes/pull/24108

Ref #23233
2016-05-08 11:30:44 -07:00
k8s-merge-robot
601e09852c Merge pull request #23590 from kargakis/timeout-logs-attach
Automatic merge from submit-queue

kubectl: more sophisticated pod selection for logs and attach

Trying to get the logs or attach to an object other than a pod
will poll forever if that object has no replicas. This commit adds
a 20s timeout for polling.

@kubernetes/kubectl @deads2k @fabianofranz
2016-05-08 10:51:00 -07:00
k8s-merge-robot
8a04506546 Merge pull request #23009 from uluyol/c-pause
Automatic merge from submit-queue

Reimplement 'pause' in C - smaller footprint all around

Statically links against musl. Size of amd64 binary is 3560 bytes.

I couldn't test the arm binary since I have no hardware to test it on, though I assume we want it to work on a raspberry pi.

This PR also adds the gcc5/musl cross compiling image used to build the binaries.

@thockin
2016-05-08 09:29:32 -07:00
k8s-merge-robot
f2f3b49f58 Merge pull request #22575 from MikaelCluseau/wip-issue-20466
Automatic merge from submit-queue

Add subPath to mount a child dir or file of a volumeMount

Allow users to specify a subPath in Container.volumeMounts so they can use a single volume for many mounts instead of creating many volumes. For instance, a user can now use a single PersistentVolume to store the Mysql database and the document root of an Apache server of a LAMP stack pod by mapping them to different subPaths in this single volume.

Also solves https://github.com/kubernetes/kubernetes/issues/20466.
2016-05-08 08:45:15 -07:00
CJ Cullen
13a7d92d0f Add a ConfigPersister for AuthProvider plugins in kubectl/clients. 2016-05-07 18:15:18 -07:00
David Oppenheimer
b0bd3ff167 Move inter-pod affinity predicate and priority functions from default to
non-default due to negative performance effects even when not using
the feature.
2016-05-07 16:57:07 -07:00
Robert Bailey
dcd6df15cf Merge pull request #25295 from spxtr/disable-test
PersistentVolumes NFS test to the flaky suite.
2016-05-06 20:35:45 -07:00
k8s-merge-robot
2b46c4b7e2 Merge pull request #24391 from bprashanth/ing_templated_controller
Automatic merge from submit-queue

Template the ingress controller 

We still need https://github.com/kubernetes/contrib/pull/791 to run the controller as a static pod
ref https://github.com/kubernetes/kubernetes/issues/23663
2016-05-06 20:04:51 -07:00
Joe Finney
fa74d2c9de PersistentVolumes NFS test to the flaky suite. 2016-05-06 18:26:19 -07:00
Huamin Chen
079474b69e add GCE PD volume e2e tests
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-06 22:13:04 +00:00
Robert Bailey
18a829e7a4 Merge pull request #24512 from freehan/goproxyflake
reuse goproxy pod and avoid race between kubectl exec and goproxy readiness
2016-05-06 14:46:30 -07:00
Robert Bailey
8bebc448cb Merge pull request #25004 from yifan-gu/mask_locksmithd
e2e_node: Disable auto restart on CoreOS.
2016-05-06 14:15:43 -07:00
Robert Bailey
6c3ed90b66 Merge pull request #24804 from ncdc/fix-node-e2e-failure-output
Fix node e2e startServer failure output
2016-05-06 13:26:41 -07:00
Mike Danese
3e1c0b5951 run kube-addon-manager in a pod 2016-05-06 11:01:06 -07:00
Random-Liu
148588e6a1 1) Add docker operation timeout metrics.
2) Cleanup kubelet stats and add runtime operation error and timeout
rate monitoring.
3) Monitor runtime operation error and timeout rate in
kubelet perf.
2016-05-06 10:53:13 -07:00
Jay Vyas
326b213231 Consolidate node selecting tests to only use Schedulable + Running
nodes.
2016-05-06 10:32:12 -04:00
k8s-merge-robot
9f2d75adf3 Merge pull request #25128 from jsafrane/devel/enable-volume-test
Automatic merge from submit-queue

e2e: Enable persistent volume test

The test is already there and all packages should be already available on all test machines.
    
It tests:

- binding
- using bound claim in a pod
- recycling NFS volume

(we should see shortly if all nfs packages are really installed as Jenkins tests it...)
2016-05-06 05:34:12 -07:00
Kevin
82ba4f077e implement inter pod topological affinity and anti-affinity 2016-05-06 06:46:23 +00:00
k8s-merge-robot
2ebd771915 Merge pull request #25121 from liangchenye/flakepodnotfound
Automatic merge from submit-queue

fix #24937:  flake pod not found

https://github.com/kubernetes/kubernetes/issues/24937
Split from #24191
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-05-05 22:40:58 -07:00
Mikaël Cluseau
06900a934d Introduce subPath in VolumeMount 2016-05-06 15:08:41 +11:00
k8s-merge-robot
ab36e0e35e Merge pull request #24710 from smarterclayton/store_proto_in_etcd
Automatic merge from submit-queue

Allow etcd to store protobuf objects

Split storage serialization from client negotiation, and allow API server to take flag controlling serialization.

TODO:

* [x] API server still doesn't start - range allocation object doesn't seem to round trip correctly to etcd
* [ ] Verify that third party resources are ignoring protobuf (add a test)
* [ ] Add integration tests that verify storage is correctly protobuf
* [ ] Add a global default for which storage format to prefer?
2016-05-05 19:00:20 -07:00
Clayton Coleman
ea4a7e24ad
Remove the cluster DNS verification check from the test
Alternate DNS implementations may be conformant without implementing DNS
as a pod.
2016-05-05 14:04:48 -04:00
k8s-merge-robot
1f6711ca07 Merge pull request #25192 from ingvagabund/e2e-framework-util-start-pods-dont-wait-for-zero-pods
Automatic merge from submit-queue

e2e/framework/util.StartPods: don't wait for pods that are not created

When running ``[k8s.io] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance]`` pods can be created in a way in which additional pods have to be create to fully saturate node's capacity CPU in a cluster. Additional pods are created by calling ``framework.StartPods``. The function creates pods with a given label and waits for them (if ``waitForRunning`` is ``true``). This is fine as long as the number of pods to created is non-zero. If there are zero pods to be created and ``waitForRunning`` is ``true``, the function waits forever as there is not going to be any pods with requested label. Thus, resulting in ``Error waiting for 0 pods to be running - probably a timeout``. Causing the e2e test to fail even if it should not.

Adding condition to return from the function immediately if there is not pod to create.
2016-05-05 09:49:43 -07:00
Prashanth Balasubramanian
2d7e2eb09f Modify e2e to wait for RC to stabilize before test 2016-05-05 09:27:19 -07:00
Clayton Coleman
e0ebcf4216
Split the storage and negotiation parts of Codecs
The codec factory should support two distinct interfaces - negotiating
for a serializer with a client, vs reading or writing data to a storage
form (etcd, disk, etc). Make the EncodeForVersion and DecodeToVersion
methods only take Encoder and Decoder, and slight refactoring elsewhere.

In the storage factory, use a content type to control what serializer to
pick, and use the universal deserializer. This ensures that storage can
read JSON (which might be from older objects) while only writing
protobuf. Add exceptions for those resources that may not be able to
write to protobuf (specifically third party resources, but potentially
others in the future).
2016-05-05 12:08:23 -04:00
k8s-merge-robot
f5e1e9a227 Merge pull request #24912 from bprashanth/petset_controller
Automatic merge from submit-queue

Petset controller

Took longer than I expected. Main parts of this pr are:
1. Identity generation based on petset spec (volumes are mapped per discussion in #18016)
2. Ensure that we create/delete pets in sequence
3. Ensuring that we create, wait for healthy, create; or delete, wait for terminationGrace, delete
4. Controller that watches apiserver and drives actual -> desired

PVCs are not deleted, yet.
2016-05-05 08:58:23 -07:00
gmarek
78331db78d Fix units in kubemark resource gatherer 2016-05-05 14:10:21 +02:00
Jan Chaloupka
59fc509fb7 e2e/framework/util.StartPods: don't wait for pods that are not created 2016-05-05 12:28:03 +02:00
liang chenye
3c9306e521 fix #24937: flake pod not found
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-05-05 15:29:28 +08:00
k8s-merge-robot
9b5795dd55 Merge pull request #24979 from humblec/patch-1
Automatic merge from submit-queue

Update Dockerfile

## Pull Request Guidelines

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
1. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.

```release-note
* Use the release-note-* labels to set the release note state 
* Clear this block to use the PR title as the release note 
-OR-
* Enter your extended release note here
```


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

Exposing 24008 is not required as glusterd listens on 24007 port.
2016-05-04 21:26:34 -07:00
Muhammed Uluyol
f3690e2d5e
build/pause: write in C
Builds statically against glibc. References to the old pause
image have been updated.
2016-05-04 21:45:52 -04:00
Prashanth Balasubramanian
6bc3052551 PetSet alpha controller 2016-05-04 18:39:17 -07:00
Alex Robinson
c65a6a431e Merge pull request #25148 from a-robinson/nodetag
GCE: Prefer preconfigured node tags for firewalls, if available
2016-05-04 18:16:37 -07:00
Alex Robinson
b75fa08aec GCE: Prefer preconfigured node tags for firewalls, if available 2016-05-04 22:49:06 +00:00
Joe Finney
81bb39c3c0 Mark two kubectl tests flaky. 2016-05-04 10:19:05 -07:00
k8s-merge-robot
1642083e60 Merge pull request #24645 from jlowdermilk/rolling-update
Automatic merge from submit-queue

kubectl rolling-update support for same image

Fixes #23497.

Enables `kubectl rolling-update --image` to the same image, adding a `--image-pull-policy` flag to remove ambiguity. This allows rolling-update to behave as an "update and/or restart" (https://github.com/kubernetes/kubernetes/issues/23497#issuecomment-212349730), or as a forced update when the same tag can mean multiple versions (e.g. `:latest`). cc @janetkuo @nikhiljindal
2016-05-04 07:24:22 -07:00
Sami Wagiaalla
71e7dba845 Abstract node side functionality of attachable plugins
- Expand Attacher/Detacher interfaces to break up work more
  explicitly.
- Add arguments to all functions to avoid having implementers store
  the data needed for operations.
- Expand unit tests to check that Attach, Detach, WaitForAttach,
  WaitForDetach, MountDevice, and UnmountDevice get call where
  appropriet.
2016-05-04 10:18:39 -04:00
k8s-merge-robot
3b63b06b1b Merge pull request #24849 from fejta/flake
Automatic merge from submit-queue

Use tagged redis image for kubectl test, move json test file out of deprecated examples

Closes #24642

Changes the redis image to use the :e2e tagged version on gcr.io.

Since the examples/ subdir is deprecated in favor of the new kubernetes/kubernetes.github.io I just copied this file to test-manifests/kubectl like some other files.
2016-05-04 05:53:17 -07:00
Jan Safranek
71796b7098 e2e: Enable persistent volume test
The test is already there and all packages should be already available on all
test machines (namely: mount.nfs).

It tests:
- binding
- using bound claim in a pod
- recycling NFS volume
2016-05-04 13:53:39 +02:00
Isaac Hollander McCreery
b1e284fd55 Fix svcPort to cast to int 2016-05-03 09:53:29 -07:00
Isaac Hollander McCreery
8dda27f9d4 Fix calling range variable from goroutine 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery
9ecbb0ae05 s/testDuringUpgrade/testDuringDisruption 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery
c4479c5b74 gofmt and add comment about waitForReadyOrDone 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery
27fb17e785 Poll much more frequently, remove wait for pods to be ready, and do one final check 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery
4e5e1b8ac5 Create chaosmonkey package, use ServiceTestJig for upgrade tests 2016-05-03 09:22:58 -07:00
k8s-merge-robot
926ee5b90f Merge pull request #24641 from caesarxuchao/pods-test
Automatic merge from submit-queue

move pods.go to pods_test.go

fix #24635
2016-05-02 13:16:20 -07:00
Andy Goldstein
e630070078 Fix node e2e startServer failure output
Correct the display of the output when e.g. starting the kubelet fails in the node e2e tests. This
change makes it display a string instead of an array of decimal values.
2016-05-02 14:30:59 -04:00
Michail Kargakis
a25088fe15 kubectl: more sophisticated pod selection for logs and attach 2016-05-02 15:56:36 +02:00
k8s-merge-robot
66730c53c5 Merge pull request #24445 from vishh/framework-node-e2e
Automatic merge from submit-queue

Framework support for node e2e.

This should let us port existing e2e tests to the node e2e suite, if the tests are node specific.
2016-05-02 02:17:48 -07:00
Yifan Gu
d705cc5cf8 e2e_node: Disable auto restart on CoreOS. 2016-05-01 23:48:16 -07:00
Yifan Gu
05951caa44 Revert "Disable coreos nodes from node e2e due to issues with ssh on coreos."
This reverts commit 33a46e0ed6.
2016-04-29 18:24:55 -07:00
Vishnu kannan
fa476b8044 Framework support for node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 15:37:35 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code 2016-04-29 17:12:10 -04:00
Vishnu kannan
33a46e0ed6 Disable coreos nodes from node e2e due to issues with ssh on coreos.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 10:52:41 -07:00
k8s-merge-robot
e6295f165a Merge pull request #22869 from jayunit100/iperf-e2e
Automatic merge from submit-queue

[Networking] [E2E]  n-to-1 iperf client->server throughput benchmarking
2016-04-29 10:03:29 -07:00
k8s-merge-robot
2b7021add0 Merge pull request #17030 from csrwng/pf_cmd_streams
Automatic merge from submit-queue

Port-forward: use out and error streams instead of glog

Switches use of glog with command out and error streams
2016-04-29 09:27:47 -07:00
k8s-merge-robot
11298d02e0 Merge pull request #24455 from hongchaodeng/fl
Automatic merge from submit-queue

Provide flags to use etcd3 backed storage

ref: #24405

What's in this PR?
- Add a new flag "storage-backend" to choose "etcd2" or "etcd3". By default (i.e. empty), it's "etcd2".
- Take out etcd config code into a standalone package and let it create etcd2 or etcd3 storage backend given user input.
2016-04-29 08:49:04 -07:00
Humble Devassy Chirammal
fbc22b39b9 Update Dockerfile
Exposing 24008 is not required as glusterd listens on 24007 port.
2016-04-29 19:46:30 +05:30
k8s-merge-robot
ad67363c12 Merge pull request #24362 from ArtfulCoder/hostname-field
Automatic merge from submit-queue

Promote Pod Hostname & Subdomain to fields (were annotations)

Deprecating the podHostName, subdomain and PodHostnames annotations and created corresponding new fields for them on PodSpec and Endpoints types.

Annotation doc: #22564
Annotation code: #20688
2016-04-29 01:06:45 -07:00
Chao Xu
6ceebe72b9 move pods.go to pods_test.go 2016-04-28 15:39:28 -07:00
Abhishek Shah
8a3ed48808 Added Hostname and Subdomain field to Pod.Spec 2016-04-28 10:56:56 -07:00
Slava Semushin
72b4b54f28 kubectl describe: show multiple labels/annotations on multiple lines.
When there is more than one label/annotation, it's more readable to see
them on the different lines.
2016-04-28 18:37:41 +02:00
k8s-merge-robot
a4e16319fd Merge pull request #24329 from liangchenye/refact
Automatic merge from submit-queue

refactor conformance test

@Random-Liu  Rebase the testing code.
 
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-04-28 03:53:59 -07:00
k8s-merge-robot
d0b887e4e0 Merge pull request #24595 from zhouhaibing089/httpserverclose
Automatic merge from submit-queue

Uncomment the code that caused by #19254

Fix https://github.com/kubernetes/kubernetes/issues/24546.

@lavalamp
2016-04-28 01:41:16 -07:00
liang chenye
aa3bf1faac refactor e2e_node conformance test
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-04-28 16:20:14 +08:00
k8s-merge-robot
19408e5575 Merge pull request #24893 from andyzheng0831/gci
Automatic merge from submit-queue

Add support for running clusters on GCI

Google Container-VM Image (GCI) is the next revision of Container-VM. See documentation at https://cloud.google.com/compute/docs/containers/vm-image/. This change adds support for starting a Kubernetes cluster using GCI.

With this change, users can start a kubernetes cluster using the latest kubelet and kubectl release binary built in the GCI image by running:

	$ KUBE_OS_DISTRIBUTION="gci" cluster/kube-up.sh

Or run a testing cluster on GCI by running:

	$ KUBE_OS_DISTRIBUTION="gci" go run hack/e2e.go -v --up

The commands above will choose the latest GCI image by default.
2016-04-27 23:46:26 -07:00
Hongchao Deng
c0071a1595 add flags to enable etcd3 2016-04-28 09:48:16 +08:00
k8s-merge-robot
e7708cbde2 Merge pull request #24827 from spxtr/fix-region
Automatic merge from submit-queue

Use zone from the test context for static IPs.
2016-04-27 17:24:21 -07:00
Andy Zheng
93929c3853 Add support for running clusters on GCI 2016-04-27 15:24:21 -07:00
Cesar Wong
55114efcb7 Port-forward: use out and error streams instead of glog 2016-04-27 13:26:54 -04:00
k8s-merge-robot
759f11bd4c Merge pull request #24541 from marun/net-e2e-remove-flaky
Automatic merge from submit-queue

Remove flaky tag from e2e net granular

The tests are running reliably on every origin merge and can be verified
similarly reliable on kube.

As per @jayunit100 on slack/sig-testing:

    ./cluster/kubectl.sh 2>&1 | grep Passed | grep Failed ; done
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
2016-04-27 09:11:36 -07:00
gmarek
b14809832b Add heapster to kubemark 2016-04-27 16:04:07 +02:00
k8s-merge-robot
32121e344b Merge pull request #24514 from derekwaynecarr/pod_quota_fix
Automatic merge from submit-queue

Quota ignores pod compute resources on updates

Scenario:

1. define a quota Q that tracks memory and cpu
2. create pod P that uses memory=100Mi, cpu=100m
3. update pod P to use memory=50Mi,cpu=10m

Expected Results:
Step 3 should fail with validation error.
Quota Q should not have changed.

Actual Results:
Step 3 fails validation, but quota Q is decremented to have memory usage down 50Mi and cpu usage down 40m.  This is because the quota was getting updated even though the pod was going to fail validation.

Fix:
Quota should only support modifying pod compute resources when pods themselves support modifying their compute resources.

This also fixes https://github.com/kubernetes/kubernetes/issues/24352

/cc @smarterclayton - this is what we discussed.

fyi: @kubernetes/rh-cluster-infra
2016-04-27 06:27:51 -07:00
Erick Fejta
08c5af6e45 Use tagged redis image for kubectl test, move json test file out of deprecated examples 2016-04-26 21:43:19 -07:00
k8s-merge-robot
af71fa72e7 Merge pull request #23574 from deads2k/add-extra
Automatic merge from submit-queue

add user.Info.GetExtra

I found myself wanting this field (or something like it), when trying to plumb the information about which scopes a particular token has.

Only the token authenticators have that information and I don't want tokens to leak past the authenticator.  I thought about extending the `authenticator.Token` interface to include scopes (`[]string`), but that felt a little specific for what I wanted to do.  I came up with this as an alternative.

It allows the token authenticator to fill in the information and authorizers already get handed the `user.Info`.  It means that implementors can choose to tie the layers together if they wish, using whatever data they think is best.  

@kubernetes/kube-iam
2016-04-26 21:14:53 -07:00
Joe Finney
7059717c78 Use zone from the test context for static IPs. 2016-04-26 17:39:48 -07:00
Minhan Xia
1993bf901a reuse goproxy pod and avoid race between kubectl exec and goproxy readiness 2016-04-26 16:45:10 -07:00
Yu-Ju Hong
bdadaefe3b e2e: add a dummy environment variable in the service tests
This works around the docker bug:
https://github.com/docker/docker/issues/14203
2016-04-26 16:25:26 -07:00
Jay Vyas
95e315e427 E2E Network performance run which uses iperf.
generic pod-per-node functionality for testing - 2 node test only
- update framework to decompose pod vs svc creation for composition.
- remove hard coded 2 and pointer to --scale
2016-04-26 18:42:19 -04:00
deads2k
e8ce9852e1 deflake quota master init order 2016-04-26 16:37:56 -04:00
deads2k
b4ebfd47c5 add user.Info.GetExtra 2016-04-26 15:08:34 -04:00
deads2k
622932422d enable resource name and service account cases for impersonation 2016-04-26 09:31:43 -04:00
k8s-merge-robot
cf38d68734 Merge pull request #23595 from vishh/image-accounting
Automatic merge from submit-queue

Collect and expose runtime's image storage usage via Kubelet's /stats/summary endpoint

This information is useful to users since docker images are typically not stored on the root filesystem.

Kubelet will also consume this feature in the future to decide is evicting images will help with disk usage on the nodes.

cc @kubernetes/sig-node
2016-04-25 21:34:30 -07:00
k8s-merge-robot
293b0d0815 Merge pull request #23493 from soltysh/move_job_internals
Automatic merge from submit-queue

Move internal types of job from pkg/apis/extensions to pkg/apis/batch

This addressed the job part of #23216, this is still WIP. Will notify once finished. I'd like to have it in before starting working on ScheduledJob. 

@lavalamp @erictune fyi
2016-04-25 20:58:49 -07:00
Vishnu kannan
e566948a75 Track image storage usage for docker containers
add image fs info to summary stats API.
Adding node e2e test for image stats.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-25 16:00:34 -07:00
Jeff Lowdermilk
9b91750284 add e2e test for same-image rolling-update 2016-04-25 13:38:45 -07:00
Euan Kemp
d76d2442e7 test/e2e/addon_update: Respect KUBE_SSH_USER 2016-04-25 12:28:33 -07:00
zhouhaibing089
bf1a3f99c0 Uncomment the code that cause by #19254 2016-04-25 23:21:31 +08:00
deads2k
d3c6363093 use single writer to improve quota performance 2016-04-25 10:42:26 -04:00
Piotr Szczesniak
daf6be1a66 Merge pull request #24706 from jayunit100/redis-wait
Slow down redis polling to ensure no flakiness in kubectl
2016-04-25 12:13:01 +02:00
Wojciech Tyczynski
c0020aff59 Merge pull request #24539 from smarterclayton/unify_stream_and_serial
Unify Streaming and normal Serializers
2016-04-25 11:25:16 +02:00
Maciej Szulik
a3b4447305 Move internal types of job from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:54 +02:00
k8s-merge-robot
39f62240db Merge pull request #24499 from gmarek/load
Automatic merge from submit-queue

Add Services to Load test
2016-04-23 23:03:53 -07:00
k8s-merge-robot
5e16602b6c Merge pull request #24443 from Random-Liu/mirror-pod-node-e2e-test
Automatic merge from submit-queue

Add node e2e test for mirror pod.

This is a node e2e test for mirror pod.

After this get merged, I'll revisit the mirror pod manager PR. #18638

/cc @yujuhong
2016-04-23 15:54:46 -07:00
k8s-merge-robot
0057931f4e Merge pull request #24434 from gmarek/services
Automatic merge from submit-queue

Create multiple RCs in NC - prerequisite for adding services

WIP because I need to make the logs readable again.
2016-04-23 15:19:36 -07:00
k8s-merge-robot
de9c1a2a51 Merge pull request #24247 from sdminonne/service_loadbalancer_quotas
Automatic merge from submit-queue

Adding loadBalancer services to quota system

@derekwaynecarr follow up to #22154.
2016-04-23 10:22:45 -07:00
k8s-merge-robot
e61e396de7 Merge pull request #24291 from gmarek/gatherer
Automatic merge from submit-queue

Make resource gatherer work for Kubemark
2016-04-23 02:53:58 -07:00
k8s-merge-robot
71f0d058b6 Merge pull request #24542 from Random-Liu/versioned-perf-data
Automatic merge from submit-queue

Use mCPU as CPU usage unit, add version in PerfData, and fix memory usage bug.

Partially addressed #24436.

This PR:
1) Change the CPU usage unit to "mCPU"
2) Add version in PerfData, and perfdash will only support the newest version now.
3) Fix stupid mistake when calculating the memory usage average.

/cc @vishh
2016-04-23 01:17:59 -07:00
Jay Vyas
fcf254591f Slow down redis pod polling, ensure no flakiness in kubectl service
test.
2016-04-23 00:53:24 -04:00
k8s-merge-robot
aa4da07157 Merge pull request #24631 from goltermann/spell
Automatic merge from submit-queue

Fix a few typos in comments
2016-04-22 09:45:46 -07:00
Clayton Coleman
3111985564 Handle streaming serializers more consistently
Add tests to watch behavior in both protocols (http and websocket)
against all 3 media types. Adopt the
`application/vnd.kubernetes.protobuf;stream=watch` media type for the
content that comes back from a watch call so that it can be
distinguished from a Status result.
2016-04-22 11:07:24 -04:00
k8s-merge-robot
9a871ed554 Merge pull request #24284 from marun/e2e-conn-check-timeout
Automatic merge from submit-queue

Add timeout to e2e network connectivity checks

Some e2e tests use wget to check connectivity, and the default e2e
timeout is 900s.  This change allows the timeout to be specified on a
check-by-check basis.  This will also make the check useful for negative
checks (like those used by openshift to validate isolation) since a
short timeout is suggested where connectivity is not expected.
2016-04-21 23:41:44 -07:00
Random-Liu
c74f199223 Add node e2e test for mirror pod. 2016-04-21 22:11:06 -07:00
Yu-Ju Hong
a29432163e node_e2e: disable serialized image pulls and increase test timeout 2016-04-21 15:34:28 -07:00
goltermann
dddc6cb6c8 Fix a few spellings. 2016-04-21 15:16:42 -07:00
gmarek
3627bb7be9 Add Services to Load test 2016-04-21 22:00:26 +02:00
k8s-merge-robot
85de6acadc Merge pull request #23208 from deads2k/fix-version-override
Automatic merge from submit-queue

make storage enablement, serialization, and location orthogonal

This allows a caller (command-line, config, code) to specify multiple separate pieces of config information regarding storage and have them properly composed at runtime.  The information provided is exposed through interfaces to allow alternate implementations, which allows us to change the expression of the config moving forward.  I also fixed up the types to be correct as I moved through.

The same options still exist, but they're composed slightly differently
 1. specify target etcd servers per Group or per GroupResource
 1. specify storage GroupVersions per Groups or per GroupResource
 1. specify etcd prefixes per GroupVersion or per GroupResource
 1. specify that multiple GroupResources share the same location in etcd
 1. enable GroupResources by GroupVersion or by GroupResource whitelist or GroupResource blacklist

The `storage.Interface` is built per GroupResource by:
 1. find the set of possible storage GroupResource based on the priority list of cohabitators
 1. choose a GroupResource from the set by looking at which Groups have the resource enabled
 1. find the target etcd server, etcd prefix, and storage encoding based on the GroupResource

The API server can have its resources separately enabled, but for now I've kept them linked.

@liggitt I think we need this (or something like it) to be able to go from config to these interfaces.  Given another round of refactoring, we may be able to reshape these to be more forward driving.

@smarterclayton this is important for rebasing and for a seamless 1.2 to 1.3 migration for us.
2016-04-21 08:24:29 -07:00
gmarek
d344c2e32b Create multiple RCs in NC - prerequisite for adding services 2016-04-21 17:20:05 +02:00
k8s-merge-robot
35ea9b87b8 Merge pull request #24185 from jsafrane/devel/stabilize-provisioning-e2e
Automatic merge from submit-queue

Increase provisioning test timeouts.

We've encountered flakes in our e2e infrastructure when kubelet took more than one minute to detach a volume used by a deleted pod.

Let's increase the wait period from 1 to 3 minutes. This slows down the test by 2 minutes, but it makes the test more stable.

In addition, when kubelet cannot detach a volume for 3 minutes, let the test wait for additional recycle controller retry interval (10 minutes) and hope the volume is deleted by then. This should not increase usual test time, it makes the test stable when kubelet is _extremely_ slow when releasing the volume.

Fixes: #24161
2016-04-21 06:03:37 -07:00
deads2k
6670b73b18 make storage enablement, serialization, and location orthogonal 2016-04-21 08:18:55 -04:00
deads2k
3be4b690ea create a negotiating serializer that wraps a single serializer 2016-04-21 07:51:59 -04:00
Prashanth Balasubramanian
0ac10c6cc2 PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
Random-Liu
7af6642e65 Use mCPU as CPU usage unit, add version in PerfData, fix memory usage bug. 2016-04-20 16:42:14 -07:00
Prashanth Balasubramanian
1f4e48ba59 E2E changes to support templated addon 2016-04-20 16:15:26 -07:00
k8s-merge-robot
8a76a1bd36 Merge pull request #24234 from goltermann/vetclean
Automatic merge from submit-queue

Enable go vet.
2016-04-20 14:50:37 -07:00
Maru Newby
3a28868eb9 Remove flaky tag from e2e net granular
The tests are running reliably on every origin merge and can be verified
similarly reliable on kube.
2016-04-20 17:53:05 +00:00
goltermann
3fa6c6f6d9 Enable vet 2016-04-20 09:48:24 -07:00
k8s-merge-robot
3753e2bded Merge pull request #24180 from AdoHe/reuse_node_port
Automatic merge from submit-queue

Fix unintended change of Service.spec.ports[].nodePort during kubectl apply

Please refer #23551 for more detail. @bgrant0607 I think this simple fix should be ok to reuse nodePort. @thockin ptal.

Release note: Fix unintended change of `Service.spec.ports[].nodePort` during `kubectl apply`.
2016-04-20 08:51:40 -07:00
k8s-merge-robot
f3f6ffaa28 Merge pull request #24524 from wojtek-t/fix_scheduler_2
Automatic merge from submit-queue

Add RC and container pors to scheduler benchmark

Fix #23263

Ref  #24408
However - scheduler throughput is still ~140 initially, whereas in reality we have 35-40. There are still significant difference we should understand.

@hongchaodeng @xiang90
2016-04-20 07:18:20 -07:00
Wojciech Tyczynski
a4b3f47347 Add RC and container pors to scheduler benchmark 2016-04-20 15:10:57 +02:00
k8s-merge-robot
15ed9dbd02 Merge pull request #23771 from jayunit100/ClusterVerificationFramework
Automatic merge from submit-queue

Cluster Verification Framework

I've spent the last few days looking at the general patterns of verification we have that we tend to reuse in the e2es.  Basically, we need 
 
- label filters
- forEach and WaitFor (where forEach doesn't necessarily waitFor anything).
- timeouts
- multiple phases (reusable definition of state)
- an extensible way to define cluster state that can evolve over time in a data object rather than as a set of parameters that have magic semantics

This PR 
- implements the abstract above functionality declaratively, and w/o hidden semantics.
- addresses the sprawling duplicate methods in #23540, so that we can phase out the wrapper methods and replace them with well defined, extensible semantics for cluster state.
- fixes the recently discovered #23730 issue (where kubectl.go is relying on examples.go, which is obviously wacky) by using the new framework to implement forEachPod in just a couple of lines and migrating the wrapper function into framework.go.

There is some cleanup to do here, but this is seemingly working for a couple of use cases that are important (spark,cassandra,...,kubectl) tests. - i played with a few different ideas and this wound up seeming to be the most natural implementation from a usability standpoint... 

in any case, just thought id push this up as a first iteration, open to feedback.

@kubernetes/sig-testing @timothysc
2016-04-20 04:23:21 -07:00
k8s-merge-robot
1c80864913 Merge pull request #24257 from zmerlynn/1000nodes
Automatic merge from submit-queue

Fix DNS test for larger clusters

On GKE, we scale the number of DNS pods based on the cluster size. For
testing on larger clusters, relax the DNS pod check.
2016-04-20 03:49:40 -07:00
AdoHe
16960d3ad2 fix reuse nodePort issue 2016-04-20 02:30:03 -04:00
k8s-merge-robot
86544c2288 Merge pull request #24426 from pwittrock/flaky
Automatic merge from submit-queue

Incremental improvements to kubelet e2e tests

- Add keep-alive to ssh connection
- Don't try to stop services on image-based runs
- Increase jenkins ci timeout to 90 minutes to accomadate unpredictable go build times
- Remove spammy log statement
2016-04-19 22:36:40 -07:00
derekwaynecarr
b92b7255f4 Quota ignores pod compute resources on updates 2016-04-19 23:05:59 -04:00
k8s-merge-robot
4638f2f355 Merge pull request #24466 from wojtek-t/fix_scheduler_benchmark
Automatic merge from submit-queue

Improve script for running scheduler benchmarks

Without this change, this script didn't work in my environment - it's making more consistent with other scripts.

@hongchaodeng @xiang90
2016-04-19 08:43:50 -07:00
Wojciech Tyczynski
762bfa3d97 Improve script for running scheduler benchmarks 2016-04-19 16:23:23 +02:00
k8s-merge-robot
db28f73c3b Merge pull request #24282 from goltermann/spelling
Automatic merge from submit-queue

Fix misspellings in comments
2016-04-19 03:47:07 -07:00
k8s-merge-robot
56d7579bfd Merge pull request #24359 from janetkuo/rollover-e2e-no-events
Automatic merge from submit-queue

Avoid relying on events in deployment rollover e2e test

Fixes #22028

@kubernetes/sig-config
2016-04-18 16:51:22 -07:00
Phillip Wittrock
90d2f9ad5e Incremental improvements to kubelet e2e tests
- Add keep-alive to ssh connection
- Don't try to stop services on image-based runs
- Increase jenkins ci timeout to 90 minutes to accomadate unpredictable go build times
- Remove spammy log statement
2016-04-18 13:56:07 -07:00
k8s-merge-robot
5ad27f2720 Merge pull request #23575 from deads2k/shared-cache
Automatic merge from submit-queue

shared controller informers

Related to https://github.com/kubernetes/kubernetes/issues/14978

This demonstrates how controllers which use an `Informer`, would be able to share the same watch and store.  A similar "setup and run" approach could be done for an `IndexInformer` to share that cache.  I found adding listeners here to be easier than intercepting at the watch interface (problems with resourceVersion) or the reflector (same plumbing, but you have to fan out to multiple stores).

We could also use the cache we build here to back several of the admission plugins that currently run their own lookup caches today.

If there's interest, I can finish out the `SharedInformer` and switch the low hanging fruit over.  

@kubernetes/rh-cluster-infra @smarterclayton @liggitt @wojtek-t
2016-04-18 07:48:29 -07:00
k8s-merge-robot
d37e6ad332 Merge pull request #24126 from Random-Liu/fix-pull-image
Automatic merge from submit-queue

Fix PullImage and add corresponding node e2e test

Fixes #24101. This is a bug introduced by #23506, since ref #23563.

The root cause of #24101 is described [here](https://github.com/kubernetes/kubernetes/issues/24101#issuecomment-208547623).

This PR
1) Fixes #24101 by decoding the messages returned during pulling image, and return error if any of the messages contains error.
2) Add the node e2e test to detect this kind of failure.
3) Get present check out of `ConformanceImage.Remove()` and `ConformanceImage.Pull()`. Because sometimes we may expect error to occur in `PullImage()` and `RemoveImage()`, but even that doesn't happen, the `Present()` check will still return error and let the test pass.

@yujuhong @freehan @liangchenye 

Also /cc @resouer, because he is doing the image related functions refactoring.
2016-04-18 07:05:44 -07:00
Jay Vyas
632a0a81d4 Cluster verification framework supporting declarative definition and iteration against pod spectrum
- rebase: ForEach only on Running pods
- add waitFor step in guestbook describe and wrapper
- simplify logs in polling, make panic immediate, give rolluped stats in
the logs.

Improve logging for failure on ForEach
2016-04-18 10:01:10 -04:00
deads2k
f0c33d65b6 start sharing the pod cache and list/watch 2016-04-18 08:51:55 -04:00
Jan Safranek
3137b4cd02 Increase provisioning test timeouts.
We've encountered flakes in our e2e infrastructure when kubelet took more than
one minute to detach a volume used by a deleted pod.

Let's increase the wait period from 1 to 3 minutes. This slows down the test
by 2 minutes, but it makes the test more stable.

In addition, when kubelet cannot detach a volume for 3 minutes, let the test
wait for additional recycle controller retry interval (10 minutes) and hope the
volume is deleted by then. This should not increase usual test time, it makes
the test stable when kubelet is _extremely_ slow when releasing the volume.
2016-04-18 13:06:09 +02:00
k8s-merge-robot
b73164792f Merge pull request #24098 from rootfs/e2e-test
Automatic merge from submit-queue

some enhancement to run volume e2e tests
2016-04-17 23:19:10 -07:00
k8s-merge-robot
934d7ebb33 Merge pull request #23968 from yujuhong/privileged_containers
Automatic merge from submit-queue

e2e_node: port privileged pod tests from test/e2e/priviliged.go

The ported test is functionally the same as the original test.
The main difference between the two tests is that the original test relies on
`kubectl` to exec into the container, while the latter directly uses the REST
client of the apiserver. This avoids the need to copy kubectl to the node under
test.
2016-04-17 12:37:12 -07:00
k8s-merge-robot
2b9637da6a Merge pull request #23945 from smarterclayton/move_reset_metrics
Automatic merge from submit-queue

Move /resetMetrics to DELETE /metrics

Reduces the surface area of the API server slightly and allows
downstream components to have deleteable metrics. After this change
genericapiserver will *not* have metrics unless the caller defines it
(allows different apiserver implementations to make that choice on their
own).

@wojtek-t
2016-04-17 05:58:26 -07:00
k8s-merge-robot
a275a045d1 Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable
Automatic merge from submit-queue

Make etcd cache size configurable

Instead of the prior 50K limit, allow users to specify a more sensible size for their cluster.

I'm not sure what a sensible default is here. I'm still experimenting on my own clusters. 50 gives me a 270MB max footprint. 50K caused my apiserver to run out of memory as it exceeded >2GB. I believe that number is far too large for most people's use cases.

There are some other fundamental issues that I'm not addressing here:
- Old etcd items are cached and potentially never removed (it stores using modifiedIndex, and doesn't remove the old object when it gets updated)
- Cache isn't LRU, so there's no guarantee the cache remains hot. This makes its performance difficult to predict. More of an issue with a smaller cache size.
- 1.2 etcd entries seem to have a larger memory footprint (I never had an issue in 1.1, even though this cache existed there). I suspect that's due to image lists on the node status.

This is provided as a fix for #23323
2016-04-17 00:06:31 -07:00
k8s-merge-robot
822618afb5 Merge pull request #23912 from smarterclayton/watch_until
Automatic merge from submit-queue

Add watch.Until, a conditional watch mechanism

A more powerful tool than wait.Poll, allows a watch interface to drive conditionals to react to changes on a resource or resources. Provide a set of standard conditions that are in common use in the code, and updates e2e to use a few of these.

Extracted from #23567
2016-04-16 21:05:40 -07:00
k8s-merge-robot
85550921de Merge pull request #24354 from yifan-gu/fix_addon_update_test
Automatic merge from submit-queue

e2e: Fix 'Addon update' to support coreos distro.

cc @kubernetes/sig-testing @kubernetes/sig-node
2016-04-16 07:31:15 -07:00
k8s-merge-robot
c528080248 Merge pull request #24339 from pwittrock/flaky
Automatic merge from submit-queue

Don't clean up files on image-based tests since the instance will be …

…deleted anyway and this is flaky on CoreOS.
2016-04-15 20:50:41 -07:00
Clayton Coleman
845e496572 Convert poll in e2e with watch.Until 2016-04-15 22:21:42 -04:00
k8s-merge-robot
03f48e730e Merge pull request #22810 from amygdala/cassandra2
Automatic merge from submit-queue

phase 2 of cassandra example overhaul

Here's the next iteration in overhauling this example, towards https://github.com/kubernetes/kubernetes/issues/20961.  This removes the pod adoption part, but doesn't (yet) otherwise change any of the resources used.

It also includes some README cleanup, and removes some explicit specification of labels in the rc yaml.

This PR doesn't yet add any commentary on how we're using the seed provider (re: https://github.com/kubernetes/kubernetes/issues/20961#issuecomment-190405959 etc.).  Maybe we should add that.

Also: LMK if this PR should include any changes to the links out to the docs.

cc @bgrant0607 @johndmulhausen
2016-04-15 15:41:01 -07:00
Janet Kuo
eb96b28004 Avoid relying on events in deployment rollover e2e test 2016-04-15 15:20:41 -07:00
Phillip Wittrock
d37222d1d9 kubelet e2e test - format command output as string, not byte string. 2016-04-15 15:17:59 -07:00
Huamin Chen
ee9ed4dd7f enhancements to run volume e2e test:
in e2e/volumes.go: give time to allow pod cleanup and volume unmount happen before volume server exit;
skip cinder volume test if not running with openstack provider

comment on why pause before containerized server is stopped in volume e2e tests, fix #24100

updates NFS server image to 0.6, per #22529

fix persistent_volume e2e test: test cleanup doesn't expect client pod; delete PV after test

Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-04-15 22:14:23 +00:00
Yifan Gu
656d05c5b4 e2e: Fix 'Addon update' to support coreos distro. 2016-04-15 14:29:08 -07:00
gmarek
0071a8627c Make resource gatherer work for Kubemark 2016-04-15 20:12:26 +02:00
Isaac Hollander McCreery
a96bb71bc9 Version-guard Kubectl client Guestbook application test against deployments 2016-04-15 10:51:10 -07:00
Phillip Wittrock
5155df0287 Don't clean up files on image-based tests since the instance will be deleted anyway and this is flaky on CoreOS. Fixed #24297 2016-04-15 10:32:26 -07:00
Clayton Coleman
0f95b91f96 Move /resetMetrics to DELETE /metrics
Reduces the surface area of the API server slightly and allows
downstream components to have deleteable metrics. After this change
genericapiserver will *not* have metrics unless the caller defines it
(allows different apiserver implementations to make that choice on their
own).
2016-04-15 11:44:17 -04:00
k8s-merge-robot
2382fec956 Merge pull request #23894 from vishh/oom-score-adj-error
Automatic merge from submit-queue

Do not throw creation errors for containers that fail immediately after being started

Fixes (hopefully) #23607 

cc @dchen1107
2016-04-14 22:29:14 -07:00
Amy Unruh
8846b313dc phase 2 of cassandra example overhaul 2016-04-14 21:55:23 -07:00
k8s-merge-robot
14d9764b77 Merge pull request #24271 from pwittrock/flaky
Automatic merge from submit-queue

Only output log files if tests fail
2016-04-14 21:42:58 -07:00
Daniel Smith
1d96b4c55b Merge pull request #23549 from deads2k/acting-as
add act-as powers
2016-04-14 15:12:45 -07:00
Maru Newby
75c49a98d4 Add timeout to e2e network connectivity checks
Some e2e tests use wget to check connectivity, and the default e2e
timeout is 900s.  This change allows the timeout to be specified on a
check-by-check basis.  This will also make the check useful for negative
checks (like those used by openshift to validate isolation) since a
short timeout is suggested where connectivity is not expected.
2016-04-14 21:27:10 +00:00
goltermann
c226c9435b Fix misspellings in comments.
https://goreportcard.com/report/k8s.io/kubernetes#misspell
2016-04-14 13:57:45 -07:00
k8s-merge-robot
d3102a3d8a Merge pull request #24216 from fejta/iperf
Automatic merge from submit-queue

Add Makefile for iperf

@jayunit100 will you please take a look at this? (closes #24204)
2016-04-14 12:37:20 -07:00
Phillip Wittrock
e88fdb85c0 Only output log files if tests fail 2016-04-14 12:04:36 -07:00
deads2k
ac4c545b91 add act-as powers 2016-04-14 12:49:10 -04:00
Zach Loafman
9b0a4bfdb0 Fix DNS test for larger clusters
On GKE, we scale the number of DNS pods based on the cluster size. For
testing on larger clusters, relax the DNS pod check.
2016-04-14 09:23:30 -07:00
Salvatore Dario Minonne
f4ed4998ff Adding loadbalancer services to quota 2016-04-14 14:06:42 +02:00
k8s-merge-robot
98c255eb79 Merge pull request #22912 from Random-Liu/kubelet-perf
Automatic merge from submit-queue

Add generalized performance data type in e2e test

For kubernetes/contrib/issues/564 and #15554.

This PR added two files in e2e test:
1) `perftype/perftype.go`: This file contains generalized performance data type. The type can be pretty printed in Json format and analyzed by other performance analyzing tools, such as [Perfdash](https://github.com/kubernetes/contrib/tree/master/perfdash).
2) `perf_util.go`: This file contains functions which convert e2e performance test result into new performance data type.

The new performance data type is now used in *Density test, Load test and Kubelet resource tracking*. It's easy to support other e2e performance test by adding new convert function in `perf_util.go`.

@gmarek @yujuhong 
/cc @kubernetes/sig-testing
2016-04-14 03:47:24 -07:00
k8s-merge-robot
b02f1bf667 Merge pull request #24189 from wojtek-t/dont_remove_binaries
Automatic merge from submit-queue

Don't remove kubemark binaries

If you want to experiment a bit with kubemark (e.g. relaunch the component with different flags), it's roughly impossible now. If we have binaries, this is much easier.
2016-04-13 23:15:26 -07:00
k8s-merge-robot
1ccb4cf497 Merge pull request #23542 from caesarxuchao/clientset-release-1-3
Automatic merge from submit-queue

Clientset release 1.3

This PR creates the release 1.3 client set. We'll keep updating this client set until we cut release 1.3. In the meantime, the release 1.2 client set will be locked.

@lavalamp
2016-04-13 18:27:59 -07:00
Chao Xu
64e414fe39 e2e test for 1.3 2016-04-13 16:49:24 -07:00
k8s-merge-robot
20eccc24cd Merge pull request #24143 from goltermann/vetclean
Automatic merge from submit-queue

Final vet fixes; enabling vet checks in verify scripts.

Fixes #22523, #22524
2016-04-13 16:46:46 -07:00
Tim St. Clair
59077722f2 Fix density tests 2016-04-13 14:33:29 -07:00
Random-Liu
5b2ddc9f2c Add perfdash support in kubelet_perf and metrics_util 2016-04-13 14:32:11 -07:00
Erick Fejta
4e4edb4edc Add Makefile for iperf 2016-04-13 14:28:33 -07:00
Daniel Smith
4c539bf082 Merge pull request #23490 from wojtek-t/remove_set_from_storage_interface
Remove Set() from storage.Interface.
2016-04-13 14:22:05 -07:00
goltermann
a3104ba96c Final vet fixes; enabling vet checks in verify scripts. 2016-04-13 13:51:51 -07:00
Tim St. Clair
b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Tim St. Clair
a55b4f2e77 Move test/e2e framework & utility code to test/e2e/framework 2016-04-13 10:50:17 -07:00
Yu-Ju Hong
c6a26112bd e2e: fix error checking in kubelet stats 2016-04-13 09:22:59 -07:00
k8s-merge-robot
8eb19c7889 Merge pull request #22154 from sdminonne/service_nodeports_quotas
Automatic merge from submit-queue

Adding nodeports services to quota

To fix #21677
@derekwaynecarr
2016-04-13 05:50:27 -07:00
Wojciech Tyczynski
0f60b33efc Don't remove kubemark binaries 2016-04-13 12:07:34 +02:00
k8s-merge-robot
8905e61522 Merge pull request #23872 from jayunit100/iperf-container
Automatic merge from submit-queue

IPerf container to support network perfomance testing

Simple iperf container.

Issue:
We want to run iperf from the e2e tests for a network baseline, but there are no gcr images for this.

Solution:
Curate our own iperf container from source in kubernetes and copy it as a top level microservice.  So long as these are injected into GCR, we can then run this container from the e2e tests.

 cc @sig-testing this can be used along side #22869
2016-04-13 02:18:40 -07:00
k8s-merge-robot
21f4d1f1d6 Merge pull request #22649 from rootfs/nfs-fix
Automatic merge from submit-queue

disable nfsv4 and use nfsv3

fix #22529
2016-04-12 13:28:38 -07:00
k8s-merge-robot
e9c1d59174 Merge pull request #24003 from yujuhong/metrics_test
Automatic merge from submit-queue

e2e: adapt kubelet_perf.go to use the new summary metrics API

This commit switch most functions in kubelet_stats.go to use the new API.
However, the functions that perform one-time resource usage retrieval remain
unchanged to be compatible with reource_usage_gatherer.go. They should be
handled separately.

Also, the new summary API does not provide the RSS memory yet, so all memory
checking tests will *always* pass. We plan to add this metrics in the API and
restore the functionality of the test.
2016-04-12 11:01:48 -07:00
Random-Liu
2b9f6bea18 Fix PullImage and corresponding node e2e test. 2016-04-12 10:42:25 -07:00
k8s-merge-robot
828ea5a728 Merge pull request #24110 from vishh/node-conformance
Automatic merge from submit-queue

Convert the node conformance tests to use dedicated images.

This PR will de-flake the node e2e.
2016-04-12 09:38:48 -07:00
Yu-Ju Hong
a8c685921f e2e: adapt kubelet_perf.go to use the new summary metrics API
This commit switch most functions in kubelet_stats.go to use the new API.
However, the functions that perform one-time resource usage retrieval remain
unchanged to be compatible with reource_usage_gatherer.go. They should be
handled separately.

Also, the new summary API does not provide the RSS memory yet, so all memory
checking tests will *always* pass. We plan to add this metrics in the API and
restore the functionality of the test.
2016-04-12 09:27:46 -07:00
Huamin Chen
3a914c2583 fix #22529: disable nfsv4 and use nfsv3 2016-04-12 16:23:28 +00:00
k8s-merge-robot
acf9492cb1 Merge pull request #23660 from goltermann/vetclean
Automatic merge from submit-queue

Additional go vet fixes

Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
James Ravn
5bb0595260 Make deserialization cache size configurable
Instead of the default 50K entries, allow users to specify more sensible
sizes for their cluster.
2016-04-12 13:42:27 +01:00
Salvatore Dario Minonne
15b7577454 Adding nodeports services to quota 2016-04-12 11:09:16 +02:00
Vishnu kannan
d100e3147f Convert the node conformance tests to use dedicated images.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-11 14:38:43 -07:00
Vishnu kannan
d4db40e87f Adding an e2e test for oom score adjust handling.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-11 12:51:42 -07:00
Jeff Lowdermilk
cd85b06465 Merge pull request #24001 from freehan/kubenet
include error in the fail msg
2016-04-08 20:55:35 -07:00
jay vyas
0e35d9194c IPerf container to support network perfomance testing 2016-04-08 22:53:57 -04:00
Jeff Lowdermilk
27bca83304 Merge pull request #23963 from spxtr/services-slow
Mark services test slow.
2016-04-08 12:47:45 -07:00
Chao Xu
1cc84c5525 Merge pull request #23960 from caesarxuchao/fix-23952
fix e2e flake #23952
2016-04-07 16:59:59 -07:00
Minhan Xia
0174455111 include error in the fail msg 2016-04-07 15:42:21 -07:00
Mike Danese
476103a822 bump single call timeout in e2e tests 2016-04-07 14:12:38 -07:00
Yu-Ju Hong
6567c54e45 e2e_node: port privileged pod tests from test/e2e/priviliged.go
The ported test is functionally the same as the original test.
The main difference between the two tests is that the original test relies on
`kubectl` to exec into the container, while the latter directly uses the REST
client of the apiserver. This avoids the need to copy kubectl to the node under
test.
2016-04-06 19:09:07 -07:00
Joe Finney
39de4be40d
Mark services test slow. 2016-04-06 17:26:16 -07:00
Chao Xu
bcebfa072d fix 23952 2016-04-06 16:52:30 -07:00
Saad Ali
d7b069fbcc Merge pull request #23793 from pmorie/configmap-nonroot
Make ConfigMap volume readable as non-root
2016-04-06 15:11:25 -07:00
goltermann
696423e044 Vet fixes, mostly pass lock by value errors. 2016-04-06 11:27:40 -07:00
Isaac Hollander McCreery
9a7860855c Merge pull request #22962 from ihmccreery/split-upgrade-jobs
Add configuration for splitting upgrade jobs instead of using Jenkins steps
2016-04-05 13:05:25 -07:00
Saad Ali
48fa998f58 Merge pull request #23717 from mml/until
Comment out racey part of the multi-scheduler test.
2016-04-05 11:34:32 -07:00
Paul Morie
e838ff2893 Make ConfigMap volume readable as non-root 2016-04-05 12:20:52 -04:00
k8s-merge-robot
02e0b29b6d Merge pull request #23769 from saad-ali/fixVolumeCloudProvider
Automatic merge from submit-queue

Ensure object returned by volume getCloudProvider incorporates cloud config

This PR addresses https://github.com/kubernetes/kubernetes/issues/23517.

**Problem**
The existing GCE PD and AWS EBS volume plugin code were fetching cloud provider without specifying a cloud config: `cloudprovider.GetCloudProvider("gce", nil)`
This caused the cloud provider to use default auth mechanism, which is not acceptable for the provisioning controller running on GKE master.

**Fix**
This PR does the following:
* Modifies the GCE PD and AWS EBS volume plugin code to use the cloud provider object pre-constructed by the binary with a cloud config.
* Enable provisioning E2E test for GKE (to catch future issues).

Thanks to @cjcullen for debugging and finding the root cause!  👍 

This should be cherry-picked into the v1.2 branch for the next release.
2016-04-04 20:52:13 -07:00
gmarek
7a848eb03a Print 100th percentile of resource usage when gatherer is turned on. 2016-04-04 17:42:32 -07:00
Isaac Hollander McCreery
873b499d90 Add ClusterUpgrade tests 2016-04-04 14:21:21 -07:00
Isaac Hollander McCreery
53c3a5626d Add configuration for splitting upgrade jobs instead of using Jenkins steps 2016-04-04 14:21:21 -07:00
saadali
e7b14e721a Ensure volume GetCloudProvider code uses cloud config 2016-04-04 10:59:13 -07:00
Wojciech Tyczynski
53f433f019 Remove Set() from storage.Interface. 2016-04-04 17:54:18 +02:00
k8s-merge-robot
3197f31cc6 Merge pull request #23554 from nikhiljindal/swaggerInRun
Automatic merge from submit-queue

genericapiserver: Moving InstallSwaggerAPI to Run

Ref https://github.com/kubernetes/kubernetes/pull/21190#discussion_r57494673

Moving InstallSwaggerAPI() from InstallAPIGroups() to Run(). This allows the use of InstallAPIGroups() multiple times or using InstallAPIGroup() directly.

cc @jianhuiz @kubernetes/sig-api-machinery
2016-04-02 08:19:25 -07:00
k8s-merge-robot
d0155982aa Merge pull request #23736 from pwittrock/flaky
Automatic merge from submit-queue

node e2e retry gcr.io failures
2016-04-01 14:13:05 -07:00
k8s-merge-robot
9e14d6075c Merge pull request #23700 from gmarek/density
Automatic merge from submit-queue

Make total pod throughput in density test more readable
2016-04-01 11:32:51 -07:00
Phillip Wittrock
015b9a6489 Retry failed image pulls. Closes #23669. 2016-04-01 09:48:19 -07:00
Phillip Wittrock
8002e10fbb node e2e Output failed health checks as string not bytes 2016-04-01 09:20:30 -07:00
gmarek
be3a5d83bb Make total pod throughput in density test more readable 2016-04-01 17:48:55 +02:00
k8s-merge-robot
9105a6abcc Merge pull request #23445 from ncdc/go16-portforward-e2e
Automatic merge from submit-queue

Update port forward e2e for go 1.6

Only close the stdout/stderr pipes from kubectl port-forward when we're truly done with the command,
instead of as soon as runPortForward exits.

Also try to gracefully stop kubectl port-forward via SIGINT, instead of always sending SIGKILL, as
this will help avoid spdy goroutine leaks in the Kubelet.

Ref #22149 

cc @smarterclayton @kubernetes/rh-cluster-infra
2016-04-01 06:05:15 -07:00
Matt Liggett
6ace15eb73 Comment out racey part of the multi-scheduler test.
Should fix #22848.
2016-03-31 16:56:10 -07:00
gmarek
9120a60724 Kubemark uses kubectl from the repo 2016-03-31 09:13:42 -07:00
Andy Goldstein
66899a47a5 Update port forward e2e for go 1.6
Only close the stdout/stderr pipes from kubectl port-forward when we're truly done with the command,
instead of as soon as runPortForward exits.

Also try to gracefully stop kubectl port-forward via SIGINT, instead of always sending SIGKILL, as
this will help avoid spdy goroutine leaks in the Kubelet.
2016-03-30 17:07:21 -04:00
k8s-merge-robot
eb665e038c Merge pull request #23285 from pwittrock/flaky
Automatic merge from submit-queue

node e2e conformance keep polling if encounters errors
2016-03-29 22:56:03 -07:00
k8s-merge-robot
d911fc20af Merge pull request #23067 from deads2k/fix-group-enablement
Auto commit by PR queue bot
2016-03-29 09:46:21 -07:00
nikhiljindal
eeeaa6867a Moving InstallSwaggerAPI to Run 2016-03-28 23:04:14 -07:00
Dawn Chen
c47f74a470 Merge pull request #23348 from pwittrock/docs
Update docs to reflect `kubectl run` creates deployments by default i…
2016-03-28 17:03:47 -07:00
Phillip Wittrock
4d2f3c1c17 Update docs to reflect kubectl run creates deployments by default instead of replicatino controllers. 2016-03-28 16:25:02 -07:00
Phillip Wittrock
183562d79a node e2e conformance keep polling if encounters errors 2016-03-28 12:02:33 -07:00
deads2k
e8fb35d4d8 refactor resource overrides as positive logic interface 2016-03-28 09:24:49 -04:00
k8s-merge-robot
86ee449600 Merge pull request #23447 from cjcullen/testtransport
Auto commit by PR queue bot
2016-03-26 16:37:12 -07:00
k8s-merge-robot
25d94e80e0 Merge pull request #23289 from pwittrock/move-serve-hostname
Auto commit by PR queue bot
2016-03-26 11:20:12 -07:00
k8s-merge-robot
95e09e303f Merge pull request #22965 from caesarxuchao/delete-UID-precondition
Auto commit by PR queue bot
2016-03-26 09:36:28 -07:00
k8s-merge-robot
e44ad7a083 Merge pull request #22735 from resouer/throttle-dev
Auto commit by PR queue bot
2016-03-26 06:44:48 -07:00
k8s-merge-robot
23fc7905c1 Merge pull request #23466 from andyzheng0831/fix
Auto commit by PR queue bot
2016-03-26 04:01:49 -07:00
goltermann
32d569d6c7 Fixing all the "composite literal uses unkeyed fields" Vet errors. 2016-03-25 15:25:09 -07:00
Andy Zheng
364ac85179 Support differentiation of OS distro in e2e tests 2016-03-25 14:53:36 -07:00
Chao Xu
31b425b3a1 add delete precondition 2016-03-25 11:21:39 -07:00
k8s-merge-robot
590038dcf1 Merge pull request #23488 from gmarek/cleanup
Auto commit by PR queue bot
2016-03-25 08:14:01 -07:00
k8s-merge-robot
62a6c2219b Merge pull request #23432 from wojtek-t/speedup_load_test
Auto commit by PR queue bot
2016-03-25 08:13:59 -07:00
gmarek
ea040b77a8 Remove test/scalability 2016-03-25 14:51:14 +01:00
Wojciech Tyczynski
b953048f0b Speedup load test 2016-03-25 11:54:21 +01:00
k8s-merge-robot
ee9420b848 Merge pull request #23065 from tiwillia/gctestprovider
Auto commit by PR queue bot
2016-03-25 03:15:16 -07:00
k8s-merge-robot
0877263f32 Merge pull request #23260 from hongchaodeng/fix
Auto commit by PR queue bot
2016-03-25 02:42:05 -07:00
k8s-merge-robot
4e4ad61260 Merge pull request #23366 from goltermann/vet
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
harry
8472cfa214 Refactor throttle into util pkg
Fix missing throttle.go
2016-03-25 08:32:23 +08:00
CJ Cullen
4c188eae10 Change the extractRT to return a non-nil Response. 2016-03-24 12:58:38 -07:00
Hongchao Deng
29b46a2395 integration/framework: remove unused NewEtcdStorage()
In integration/, framework.NewEtcdStorage() isn't used by any function.
2016-03-23 16:34:28 -07:00
k8s-merge-robot
f4b948bc0f Merge pull request #22525 from derekwaynecarr/more_e2e
Auto commit by PR queue bot
2016-03-23 13:43:22 -07:00
derekwaynecarr
ede95cb094 Add e2e for remaining quota resources 2016-03-23 13:57:38 -04:00
k8s-merge-robot
3257260657 Merge pull request #23293 from pwittrock/update-serve-hostname-version
Auto commit by PR queue bot
2016-03-23 01:48:19 -07:00
goltermann
34d4eaea08 Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code. 2016-03-22 17:26:50 -07:00
Quintin Lee
81ba98ae5d Adding e2e test support for monitoring deployments. 2016-03-22 13:17:06 -07:00
k8s-merge-robot
d37baf748f Merge pull request #22933 from liangchenye/imageConform
Auto commit by PR queue bot
2016-03-22 04:27:50 -07:00
tiwillia@redhat.com
8cb332b86c Remove gce provider requirements from garbage collector test
There is no reason for the garbage collector test to be restricted to the gce provider.
2016-03-21 17:32:01 -04:00
Phillip Wittrock
d1d6650efd Remove test tag from serve_hostname Makefile 2016-03-21 13:53:35 -07:00
Phillip Wittrock
f22ddf1ea8 Update serve_hostname version from 1.1 to v1.4 2016-03-21 12:53:22 -07:00
Janet Kuo
482efba8de Copy annotations back from RS to Deployment on rollback 2016-03-21 10:21:48 -07:00
Erick Fejta
f9d5c81c61 Add missing = 2016-03-19 18:06:13 -07:00
Erick Fejta
be5f27e3aa Use tagged busybox image from gcr.io 2016-03-19 16:02:29 -07:00
Erick Fejta
e3b2ecdb23 Use busybox:1.24 from gcr.io in kubectl.go 2016-03-19 15:56:26 -07:00
liangchenye
41d40824cf image operation conformance test
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-03-17 15:27:07 +08:00
deads2k
ab03317d96 support CIDRs in NO_PROXY 2016-03-16 16:22:54 -04:00
k8s-merge-robot
eb0e25f5bd Merge pull request #17577 from swagiaal/fix-emptydir-e2e
Auto commit by PR queue bot
2016-03-16 11:11:51 -07:00
k8s-merge-robot
4e29c580a8 Merge pull request #22206 from jayunit100/kubeit
Auto commit by PR queue bot
2016-03-16 08:36:41 -07:00
k8s-merge-robot
49092c0b99 Merge pull request #22443 from pwittrock/move-serve-hostname
Auto commit by PR queue bot
2016-03-15 21:57:16 -07:00
Jay Vyas
9a71dfe753 KubeDescribe implementation with verify into after-build/ scripts. 2016-03-15 22:29:21 -04:00
k8s-merge-robot
204d426dd3 Merge pull request #22310 from krousey/adapterbreak
Auto commit by PR queue bot
2016-03-15 14:28:38 -07:00
k8s-merge-robot
879d04046a Merge pull request #21140 from jsafrane/devel/provisioner-e2e
Auto commit by PR queue bot
2016-03-15 13:52:22 -07:00
k8s-merge-robot
52b061a4d3 Merge pull request #22969 from nikhiljindal/upgradeTest
Auto commit by PR queue bot
2016-03-15 12:45:52 -07:00
k8s-merge-robot
d809db9c22 Merge pull request #22946 from pwittrock/flaky-node
Auto commit by PR queue bot
2016-03-15 12:12:10 -07:00
nikhiljindal
435a4e8279 disable kubectl validation for upgrade e2e 2016-03-15 11:26:10 -07:00
Jan Safranek
4402e57588 e2e test for dynamic provisioning.
The test works only on GCE, AWS and OpenStack. It creates and deletes a 2GiB
volume.
2016-03-15 13:01:03 +01:00
k8s-merge-robot
70a303d301 Merge pull request #22935 from wojtek-t/rc_startup_time
Auto commit by PR queue bot
2016-03-15 03:09:15 -07:00
Wojciech Tyczynski
b47018e366 Schedule ReplicationControllers in pod-startup-time test. 2016-03-15 09:56:46 +01:00
k8s-merge-robot
9c1e6926f6 Merge pull request #22955 from lavalamp/fix-22238
Auto commit by PR queue bot
2016-03-14 19:26:26 -07:00
k8s-merge-robot
a9c17c1fbe Merge pull request #22958 from jlowdermilk/run-test
Auto commit by PR queue bot
2016-03-14 18:10:26 -07:00
k8s-merge-robot
bf1bb5d309 Merge pull request #22899 from justinsb/aws_fix_e2e
Auto commit by PR queue bot
2016-03-14 17:37:13 -07:00
Phillip Wittrock
56af8f3f3b Merge pull request #22959 from ArtfulCoder/dnsconformtest
Conformance Test for DNS
2016-03-14 17:07:08 -07:00
Phillip Wittrock
85f09cbcfe node e2e - make more resilient to flakes 2016-03-14 17:03:06 -07:00
k8s-merge-robot
b86b6e58a0 Merge pull request #22860 from jayunit100/skip_gce_k8bps
Auto commit by PR queue bot
2016-03-14 16:28:45 -07:00
Abhishek Shah
bf598e3ff8 Conformance Test for DNS 2016-03-14 16:07:04 -07:00
Jeff Lowdermilk
c732681354 test kubectl run with default args
Also explicitly pass generator for run deployments test.
2016-03-14 15:09:32 -07:00
Daniel Smith
1c54e41134 Extend timeout to allow for observed slow proxy requests 2016-03-14 14:46:54 -07:00
Kris
4d404ded1a Moving adapters to their own packages 2016-03-14 14:22:34 -07:00
Random-Liu
4df8cfcd53 Fix cpu and resource summary log in kubelet stat. 2016-03-12 21:56:34 -08:00
Justin Santa Barbara
3e12e8b7cc AWS e2e: don't try to build a full cloudprovider in e2e
We have previously tried building a full cloudprovider in e2e for AWS;
this wasn't the best idea, because e2e runs on a different machine than
normal operations, and often doesn't even run in AWS.  In turn, this
meant that the cloudprovider had to do extra work and have extra code,
which we would like to get rid of.  Indeed, I got rid of some code which
tolerated not running in AWS, and this broke e2e.
2016-03-12 06:14:45 -05:00
k8s-merge-robot
1ad0c97837 Merge pull request #22847 from caesarxuchao/matching-replicas
Auto commit by PR queue bot
2016-03-12 01:10:43 -08:00
Chao Xu
a6240c1ab8 add FullyLabeledReplicas in Replicaset Status and ReplicationController Status 2016-03-11 23:55:04 -08:00
k8s-merge-robot
c99e85c374 Merge pull request #22605 from erictune/batch-test
Auto commit by PR queue bot
2016-03-11 22:23:31 -08:00
k8s-merge-robot
61c4958dcc Merge pull request #22859 from pwittrock/flaky-node
Auto commit by PR queue bot
2016-03-11 14:30:51 -08:00
k8s-merge-robot
c9977cc774 Merge pull request #22760 from mikedanese/flake-pods
Auto commit by PR queue bot
2016-03-11 14:30:49 -08:00
Eric Tune
17a05ce32d Added e2e test for batch API group 2016-03-11 11:41:15 -08:00
Jay Vyas
1bc1bf01ba skip k8petstore shell script while i rewrite it entirely in golang 2016-03-11 14:01:21 -05:00
Mike Danese
f8e1404f87 e2e: seperate wait for termination notice and graceful termination 2016-03-11 09:42:31 -08:00
Phillip Wittrock
ce2d2c84c1 use different pod names and namespaces 2016-03-11 09:13:37 -08:00
Brian Grant
54e97c7755 Merge pull request #22757 from jayunit100/fix-liveness
Concurrent liveness test to gaurantee test finishes in 2 minutes with…
2016-03-10 23:46:39 -08:00
Janet Kuo
4a181dacec Fix the possible negative scale down value; add logs when scaling down 2016-03-10 16:01:18 -08:00
Andy Goldstein
cdd339505e Merge pull request #22758 from madhusudancs/replicaset-nonpointer-template
ReplicaSetSpec.Template shouldn't be a pointer.
2016-03-10 15:35:04 -05:00
k8s-merge-robot
0c10fce98c Merge pull request #22606 from fejta/deployment
Auto commit by PR queue bot
2016-03-09 21:46:15 -08:00
Madhusudan.C.S
db48dcf583 ReplicaSetSpec.Template shouldn't be a pointer.
PodTemplateSpec should be consistent for all the types in extensions/v1beta1.

See PR #19510.
2016-03-09 21:24:16 -08:00
Madhusudan.C.S
fe26381c90 Support for both map-based and set-based selectors in extensions/v1beta1.Scale
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
   extensions Scale type (extensions/v1beta1.Scale). This is a serialized
   version of either the map-based selector (in case of ReplicationControllers)
   or the unversioned.LabelSelector struct (in case of Deployments and
   ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
   unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
   single internal selector field. The rules for conversion are as follows:
   i.   If the target resource that this scale targets supports LabelSelector
        (Deployments and ReplicaSets), then serialize the LabelSelector and
        store the string in the TargetSelector field in the external version
        and leave the map-based Selector field as nil.
   ii.  If the target resource only supports a map-based selector
        (ReplicationControllers), then still serialize that selector and
	store the serialized string in the TargetSelector field. Also,
	set the the Selector map field in the external Scale type.
   iii. When converting from external to internal version, parse the
        TargetSelector string into LabelSelector struct if the string isn't
	empty. If it is empty, then check if the Selector map is set and just
	assign that map to the MatchLabels component of the LabelSelector.
   iv.  When converting from internal to external version, serialize the
        LabelSelector and store it in the TargetSelector field. If only
	the MatchLabel component is set, then also copy that value to
	the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
   type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
   return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
   enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
   helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
Joe Finney
0976ed59c9 Remove hack/e2e-internal/e2e-upgrade.sh. 2016-03-09 14:14:04 -08:00
k8s-merge-robot
36cb9d05ea Merge pull request #22728 from spxtr/tidy-shell
Auto commit by PR queue bot
2016-03-09 13:59:13 -08:00
Brian Grant
3f7f167790 Merge pull request #22743 from gmarek/register-kubelet
Make kubelet-perf 100 pod/node test work with registered master
2016-03-09 13:58:27 -08:00
jay vyas
61102b5ac7 Concurrent liveness test to gaurantee test finishes in 2 minutes with meaningfull results 2016-03-09 16:55:07 -05:00
k8s-merge-robot
3081c10a40 Merge pull request #22632 from jsafrane/devel/fix-nfs-image
Auto commit by PR queue bot
2016-03-09 12:51:44 -08:00
k8s-merge-robot
26e9f187d7 Merge pull request #22613 from jayunit100/e2e-volumes-simple
Auto commit by PR queue bot
2016-03-09 11:29:13 -08:00
gmarek
38411818ed Make kubelet-perf 100 pod/node test work with registered master 2016-03-09 16:05:04 +01:00
k8s-merge-robot
aca37830b1 Merge pull request #22720 from bprashanth/ing_e2e_masterip
Auto commit by PR queue bot
2016-03-08 18:26:57 -08:00
Joe Finney
9845639e14 Remove cluster/kube-env.sh. 2016-03-08 16:57:31 -08:00
Prashanth Balasubramanian
f6c8b9b238 Don't list master node when looking to a NodePort node. 2016-03-08 15:12:13 -08:00
k8s-merge-robot
fa21ef11bd Merge pull request #22708 from mikedanese/revert-revert
Auto commit by PR queue bot
2016-03-08 14:51:25 -08:00
Mike Danese
d8eaed912a fix pod garbage collection test 2016-03-08 12:21:41 -08:00
k8s-merge-robot
75699ff5ea Merge pull request #22458 from bprashanth/ing_tls_e2e
Auto commit by PR queue bot
2016-03-08 11:53:56 -08:00
k8s-merge-robot
7e9256b39e Merge pull request #22383 from spxtr/core
Auto commit by PR queue bot
2016-03-08 06:44:18 -08:00
k8s-merge-robot
999e6311b5 Merge pull request #18672 from bprashanth/netexec
Auto commit by PR queue bot
2016-03-08 06:10:02 -08:00
k8s-merge-robot
1b003ba25a Merge pull request #22648 from wojtek-t/fix_wait_for_rc_pods_gone
Auto commit by PR queue bot
2016-03-08 03:43:34 -08:00
Jan Safranek
44f995699e Fix NFS and gluster test containers taking 100% of CPU 2016-03-08 10:32:34 +01:00
David Oppenheimer
14a5d5d0ca Add CONNECT to ignoredVerbs for readLatencyMetrics. 2016-03-07 11:31:22 -08:00
Joe Finney
44ef1224fe Move CoreDump into test/e2e/util.go, add docstring. 2016-03-07 10:18:35 -08:00
Joe Finney
8d1d368401 Call cluster/log-dump.sh from test/e2e/core.go. 2016-03-07 10:14:02 -08:00
k8s-merge-robot
09f00aeb32 Merge pull request #22303 from marun/expose-net-e2e-utils
Auto commit by PR queue bot
2016-03-07 10:01:08 -08:00
Wojciech Tyczynski
ef0953585e Speed up DeleteRC test util func 2016-03-07 17:53:49 +01:00
deads2k
8b06ef144e deflake rc logs test 2016-03-07 09:30:08 -05:00
k8s-merge-robot
e84fee2189 Merge pull request #22172 from gmarek/register
Auto commit by PR queue bot
2016-03-07 02:07:43 -08:00
k8s-merge-robot
61c9a004a5 Merge pull request #22397 from bprashanth/dns_debug
Auto commit by PR queue bot
2016-03-07 00:20:03 -08:00
Prashanth Balasubramanian
10cf2d4e4e Ingress https E2E 2016-03-06 17:21:15 -08:00
Brian Grant
83f2f14dcc Merge pull request #22617 from bprashanth/gc
Poll for gc'd pods.
2016-03-06 16:24:44 -08:00
Prashanth Balasubramanian
543a0691f6 Poll for gc'd pods. 2016-03-06 15:52:30 -08:00
k8s-merge-robot
95ab1936ea Merge pull request #22559 from krousey/discbreak
Auto commit by PR queue bot
2016-03-06 12:47:07 -08:00
jay vyas
ec4db43197 Decouple webserver from storage tests 2016-03-06 14:53:52 -05:00
k8s-merge-robot
8ab8231c20 Merge pull request #22577 from jpiccari/master
Auto commit by PR queue bot
2016-03-06 00:18:53 -08:00
k8s-merge-robot
168711b3cd Merge pull request #22281 from wojtek-t/increase_qps_limits
Auto commit by PR queue bot
2016-03-05 21:27:57 -08:00
k8s-merge-robot
2472a176b7 Merge pull request #22275 from gmarek/flake
Auto commit by PR queue bot
2016-03-05 17:54:29 -08:00
Erick Fejta
51174e6830 Use versioned images in deployment.go to avoid unnecessary gcr.io pulling 2016-03-05 17:40:59 -08:00
k8s-merge-robot
2e03822386 Merge pull request #21335 from deads2k/make-rc-logs-work
Auto commit by PR queue bot
2016-03-05 09:37:24 -08:00
Maru Newby
d405718a83 Move net e2e helpers to util.go for reuse
Some of the helper methods used by test/e2e/networking.go are useful for
downstream e2e tests (e.g. openshift).
2016-03-05 17:09:24 +00:00
k8s-merge-robot
4091d51750 Merge pull request #22380 from jayunit100/conformance-rw
Auto commit by PR queue bot
2016-03-05 07:23:06 -08:00
k8s-merge-robot
183c188027 Merge pull request #22563 from derekwaynecarr/node_e2e
Auto commit by PR queue bot
2016-03-05 06:50:56 -08:00
k8s-merge-robot
6d9e0ed038 Merge pull request #22312 from janetkuo/improve-error-log
Auto commit by PR queue bot
2016-03-05 04:11:06 -08:00
k8s-merge-robot
5efa8aa7d1 Merge pull request #22404 from yujuhong/dump_mem
Auto commit by PR queue bot
2016-03-05 00:38:56 -08:00
k8s-merge-robot
e9d3be83ae Merge pull request #22241 from Random-Liu/recover-back-off-behaviour
Auto commit by PR queue bot
2016-03-05 00:05:15 -08:00
k8s-merge-robot
ef129499da Merge pull request #22459 from jayunit100/disruptivediskannot
Auto commit by PR queue bot
2016-03-04 21:17:52 -08:00
k8s-merge-robot
ea43db8039 Merge pull request #22481 from ihmccreery/better-upgrade-tests
Auto commit by PR queue bot
2016-03-04 20:07:29 -08:00
k8s-merge-robot
28b3448a9a Merge pull request #22314 from yujuhong/resource_100
Auto commit by PR queue bot
2016-03-04 18:48:02 -08:00
Joshua Piccari
f5f83b076a Improve go report card by fixing typos in comments 2016-03-04 18:30:59 -08:00
Isaac Hollander McCreery
0e9114f667 Add ExperimentalNodeUpgrade test that a service stays up during cluster upgrade, not just master upgrade
- Duplicate old test to keep old functionality while allowing ExperimentalNodeUpgrade
- Also remove push test; no longer used/functioning
2016-03-04 16:10:29 -08:00
derekwaynecarr
f0bfbcedcd Bump timeout time for e2e node test services 2016-03-04 17:07:35 -05:00
Kris
dbde4fd798 Move the discovery client to its own package 2016-03-04 13:44:52 -08:00
Abhishek Shah
a3c00aadd5 Specify hostname, subdomain via annotation on podspec.
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Marcin Wielgus
a13843cddb Add volumes, volumemounts and host ports to rcconfig in e2e utils 2016-03-04 18:38:10 +01:00
Abhi Shah
b25a48d605 Revert "Move discovery client to its own package" 2016-03-04 09:24:54 -08:00
Abhi Shah
627edd2588 Merge pull request #22016 from krousey/discbreak
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
k8s-merge-robot
2a8ec62e76 Merge pull request #22522 from mwielgus/cm_utils
Auto commit by PR queue bot
2016-03-04 08:01:54 -08:00
k8s-merge-robot
917fb4264d Merge pull request #22461 from jayunit100/skipNodeDiskFill
Auto commit by PR queue bot
2016-03-04 08:01:53 -08:00
Marcin Wielgus
0a7e344d49 CustomMetric support in autoscaling utils 2016-03-04 15:50:55 +01:00
k8s-merge-robot
6a6fcc8c2b Merge pull request #22432 from piosz/hpa-e2e
Auto commit by PR queue bot
2016-03-04 03:45:33 -08:00
k8s-merge-robot
b45bf88105 Merge pull request #22513 from gmarek/density
Auto commit by PR queue bot
2016-03-04 03:12:52 -08:00
k8s-merge-robot
0e3469dce3 Merge pull request #22183 from pmorie/config-quota
Auto commit by PR queue bot
2016-03-04 03:12:51 -08:00
k8s-merge-robot
1b9abdc920 Merge pull request #22510 from gmarek/proxy
Auto commit by PR queue bot
2016-03-04 02:29:37 -08:00
Piotr Szczesniak
60430ca1fb Added HPA lightweight e2e test 2016-03-04 11:23:07 +01:00
gmarek
43a8f04193 Add a comment explaining the necessary scale for Density test 2016-03-04 11:05:20 +01:00
k8s-merge-robot
17b5ac4808 Merge pull request #22440 from gmarek/more_flake
Auto commit by PR queue bot
2016-03-04 01:28:34 -08:00
gmarek
633d2cdfc1 Add a workaround for hanging proxy in nodeProxyRequest 2016-03-04 10:27:41 +01:00
gmarek
7f3c490519 Print running pods before SchedulerPredicates tests 2016-03-04 09:50:33 +01:00
gmarek
030f5d073d Relax thresholds for cluster saturation time 2016-03-04 09:07:52 +01:00
k8s-merge-robot
258eac505f Merge pull request #21400 from derekwaynecarr/namespace_deletion_discovery
Auto commit by PR queue bot
2016-03-03 21:33:01 -08:00
k8s-merge-robot
c8038a7751 Merge pull request #22311 from vishh/22198
Auto commit by PR queue bot
2016-03-03 20:55:20 -08:00
Jeff Lowdermilk
f8d7793609 Merge pull request #22203 from bprashanth/network_flake
Ignore network flake in services e2e.
2016-03-03 15:20:12 -08:00
Jay Vyas
097e3ea3d4 Skip node disk test if cluster size < 2 2016-03-03 16:00:17 -05:00
Jay Vyas
b3203fb111 annotate NodeOutOfDisk as disruptive 2016-03-03 15:36:53 -05:00
Janet Kuo
87a240f828 Improve deployment error logs 2016-03-03 11:44:04 -08:00
Jeff Lowdermilk
8c500a9c31 Merge pull request #22279 from soltysh/describer_none
Unifying empty/none/not set values in describer
2016-03-03 11:40:54 -08:00
Prashanth Balasubramanian
92ff05f2e6 Wait till netexec is Ready in kubeproxy e2e 2016-03-03 11:27:32 -08:00
Prashanth Balasubramanian
33bb8e863c Add a simple clusterapi-tester, improve e2e logging. 2016-03-03 10:01:01 -08:00
Phillip Wittrock
b5bfc6c281 Move serve_hostname testing image to k8s test/images from contrib/for-demos 2016-03-03 09:22:43 -08:00
deads2k
f8f45df578 make kubectl logs work for replication controllers 2016-03-03 11:17:50 -05:00
gmarek
496fc3c7ed Make scheduler predicates test work with registered master 2016-03-03 10:09:26 +01:00
Wojciech Tyczynski
2ba342797d Explicitly set request for latency pods 2016-03-03 08:29:47 +01:00
derekwaynecarr
773cf73f0e Add e2e tests to verify more resources are deleted 2016-03-02 23:34:45 -05:00
k8s-merge-robot
d81d823ca5 Merge pull request #22393 from eparis/blunderbuss
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294 Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
Yu-Ju Hong
52d75d2188 e2e: print runtime MemStats when memory usage exceeds expectation 2016-03-02 17:20:49 -08:00
Yu-Ju Hong
216727c448 e2e: add kubelet resource usage test to monitor 100 pods per node 2016-03-02 15:23:54 -08:00
Vishnu kannan
e33ec7a6ba Re-enable system metrics kubelet tests.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-02 14:55:26 -08:00
Jay Vyas
09ad2da7ac minimal hostPath fix 2016-03-02 17:22:45 -05:00
Paul Morie
834776aa1f Add resource quota for ConfigMap 2016-03-02 09:59:51 -05:00
Paul Morie
d87e712b05 Disambiguate emptydir wrapper test 2016-03-02 09:00:16 -05:00
Maciej Szulik
1b56d79f64 Unifying empty/none/not set values in describer 2016-03-02 13:57:39 +01:00
Wojciech Tyczynski
e9d99bd8e7 Revert "Speed up load test in smaller clusters" 2016-03-02 12:24:13 +01:00
Janet Kuo
7bcb7289bb Don't pull from docker hub in deployment e2e test 2016-03-01 18:41:40 -08:00
Random-Liu
a88dad1c3e Backoff restart container with liveness probing failure 2016-03-01 17:36:12 -08:00
Saad Ali
c4ccd5188f Merge pull request #22110 from timstclair/volumetest
Move test-only volume files to test-only volume package
2016-03-01 15:47:41 -08:00
Saad Ali
564f78aeb8 Merge pull request #22295 from freehan/nettest
bump wait timeout for nettest container
2016-03-01 15:45:16 -08:00
k8s-merge-robot
51b005500d Merge pull request #22215 from pwittrock/enable-readonly-e2e
Auto commit by PR queue bot
2016-03-01 14:52:00 -08:00
k8s-merge-robot
8060e9c5eb Merge pull request #22200 from pwittrock/flaky
Auto commit by PR queue bot
2016-03-01 14:51:59 -08:00
Minhan Xia
57fc5e1380 bump wait timeout for nettest container 2016-03-01 11:17:15 -08:00
k8s-merge-robot
25ac08c0ab Merge pull request #22278 from gmarek/more_flake
Auto commit by PR queue bot
2016-03-01 10:13:45 -08:00
k8s-merge-robot
94a2319804 Merge pull request #22211 from derekwaynecarr/quota_fix
Auto commit by PR queue bot
2016-03-01 10:13:44 -08:00
Wojciech Tyczynski
c47aa368bd Increase QPS limits in integration and e2e tests 2016-03-01 16:49:38 +01:00
gmarek
675f45e9b4 Wait for namespace deletion in SchedulerPredicates 2016-03-01 16:40:28 +01:00
k8s-merge-robot
9e5d1b61fa Merge pull request #21882 from gmarek/throttle
Auto commit by PR queue bot
2016-03-01 06:38:06 -08:00
k8s-merge-robot
a40f8fb4d8 Merge pull request #21827 from spxtr/upgrade-subgroup
Auto commit by PR queue bot
2016-03-01 05:29:47 -08:00
k8s-merge-robot
84a98673cd Merge pull request #21785 from yujuhong/rss_limit
Auto commit by PR queue bot
2016-03-01 04:57:09 -08:00
k8s-merge-robot
95a9dd041e Merge pull request #22269 from wojtek-t/faster_load_test
Auto commit by PR queue bot
2016-03-01 04:25:27 -08:00
k8s-merge-robot
4057803e96 Merge pull request #22265 from wojtek-t/set_request_in_density
Auto commit by PR queue bot
2016-03-01 04:25:26 -08:00
k8s-merge-robot
8b1516cb07 Merge pull request #22055 from gmarek/saturation
Auto commit by PR queue bot
2016-03-01 04:25:24 -08:00
Wojciech Tyczynski
4a7af87984 Set requests in scalability tests 2016-03-01 12:15:23 +01:00
Wojciech Tyczynski
c6c98513eb Speed up load test in smaller clusters 2016-03-01 12:05:05 +01:00
Wojciech Tyczynski
2e9e92a4b3 Increase cpu limit for Kibana in scalability tests 2016-03-01 11:58:59 +01:00
gmarek
c9abcfa512 Add a cluster saturation time check to the Density test 2016-03-01 09:31:36 +01:00
Janet Kuo
47cf2f5a7c Deployment e2e tests to wait for async actions to happen rather than check it immediately 2016-03-01 00:14:20 -08:00
k8s-merge-robot
dfc8635da7 Merge pull request #21443 from yujuhong/density
Auto commit by PR queue bot
2016-03-01 00:08:49 -08:00
k8s-merge-robot
5b415a7aed Merge pull request #22210 from janetkuo/deployment-e2e
Auto commit by PR queue bot
2016-02-29 22:44:40 -08:00
k8s-merge-robot
9a4171c9de Merge pull request #22202 from janetkuo/fix-rollback-flake
Auto commit by PR queue bot
2016-02-29 22:12:29 -08:00
derekwaynecarr
cb1f1d373e ResourceQuota e2e should not assume 1 secret by default 2016-02-29 20:48:48 -05:00
derekwaynecarr
c9e4c846e6 Incorrect type passed into quota reflector 2016-02-29 20:48:48 -05:00
Prashanth Balasubramanian
41cbf952ca Ignore network flake in services e2e. 2016-02-29 17:40:24 -08:00
Janet Kuo
50d43ef65c In deployment rollback e2e test, wait for async actions to happen 2016-02-29 16:35:00 -08:00
Janet Kuo
1994b26b8d Uniquify names of controllers in deployment e2e tests 2016-02-29 16:09:14 -08:00
Kris
f22664159e Move the discovery client to its own package 2016-02-29 15:37:21 -08:00
Phillip Wittrock
b897981a11 Node e2e test - fix and re-enable readonly volume test. Fixes #21320 2016-02-29 14:46:34 -08:00
Matt Liggett
b53144ec70 Mark Daemon Set as Serial since it won't work in parallel.
Fixes #21767
2016-02-29 14:45:04 -08:00
Tim St. Clair
246b389275 Move test-only volume files to test-only volume package 2016-02-29 14:44:28 -08:00
Yu-Ju Hong
bd2323d5a6 e2e: add a high node density test
This test is primarily inteded to test the node performance.
2016-02-29 14:38:57 -08:00
Janet Kuo
c65d7b082c Move verifyPods to e2e test util 2016-02-29 14:26:01 -08:00
Saad Ali
83d74dd952 Merge pull request #22201 from liggitt/token-e2e
Use serviceAccountProvisionTimeout for e2e tests
2016-02-29 14:19:29 -08:00
Saad Ali
4183ac174b Merge pull request #21408 from krousey/unversioned_breakup
Move restclient to it's own package
2016-02-29 14:03:09 -08:00
Jordan Liggitt
daa37e121e Use serviceAccountProvisionTimeout for e2e tests 2016-02-29 16:00:38 -05:00
Phillip Wittrock
1b9a3fd5f8 Log container logs for failed containers if failedCount > max 2016-02-29 12:19:00 -08:00
Phillip Wittrock
9287e6c388 Node e2e sync pr builder host images to ci host images.
- Also fix seeding issue in run_e2e.go
- Disable failing kubelet_test for system container metrics
2016-02-29 12:15:55 -08:00
Kris
e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
k8s-merge-robot
89038f3b1f Merge pull request #20415 from liangchenye/e2etest
Auto commit by PR queue bot
2016-02-29 07:34:05 -08:00
k8s-merge-robot
ce2556decf Merge pull request #22169 from wojtek-t/more_readable_load_log
Auto commit by PR queue bot
2016-02-29 05:09:39 -08:00
k8s-merge-robot
c76635c6ce Merge pull request #22168 from gmarek/density
Auto commit by PR queue bot
2016-02-29 05:09:38 -08:00
gmarek
ba8a67e554 DeamonSet test expect daemons on unschedulable Nodes 2016-02-29 12:17:18 +01:00
Wojciech Tyczynski
a126a0b53d Extend errors in load test 2016-02-29 11:17:27 +01:00
gmarek
d9fe5283c3 Log distribution of containers in density test 2016-02-29 11:14:27 +01:00
Wojciech Tyczynski
ca72f9908c Enable parallel namespace deletion in kubemarks and enormous cluster 2016-02-29 10:54:59 +01:00
gmarek
110340c467 Add an option to pass client's QPS/burst to e2e framework 2016-02-29 09:32:29 +01:00
k8s-merge-robot
5ecbf4ff4a Merge pull request #22138 from bgrant0607/bugfix1
Auto commit by PR queue bot
2016-02-28 02:00:40 -08:00
Brian Grant
d0dd4f8a93 Restore expectation timeout to 5 minutes. Fix enqueueDeployment. Pass by reference.
Make names of ReplicaSets created by Deployment deterministic for idempotence.
Eliminate use of expectations in Deployment controller.
2016-02-28 07:33:07 +00:00
k8s-merge-robot
6f8a951f87 Merge pull request #20446 from derekwaynecarr/quota_scopes
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
Brian Grant
2c9e2745b6 Merge pull request #22084 from jayunit100/e2epanicreplica
Prevent panic in replica_set e2e
2016-02-27 05:12:49 -08:00
k8s-merge-robot
c4ffcbdbaa Merge pull request #21398 from liggitt/time-param
Auto commit by PR queue bot
2016-02-27 03:37:07 -08:00
Brian Grant
10e9bca7fb Merge pull request #21929 from janetkuo/remove-rollback-from-flaky
Remove all deployment e2e tests from flaky list
2016-02-26 23:23:13 -08:00
Fabio Yeon
440c3ff31b Merge pull request #22095 from goltermann/downward
Fixes to Downward and Secrets E2E examples
2016-02-26 19:07:04 -08:00
k8s-merge-robot
e0b305c6be Merge pull request #21609 from fejta/pull-version
Auto commit by PR queue bot
2016-02-26 18:00:33 -08:00
jay vyas
47c439de06 Prevent panic on podCreated failure by catching error 2016-02-26 20:46:15 -05:00
derekwaynecarr
75db4cb19a Add e2e tests for ResourceQuota 2016-02-26 20:34:15 -05:00
k8s-merge-robot
420d98fd8b Merge pull request #22027 from bprashanth/services_compare
Auto commit by PR queue bot
2016-02-26 17:25:22 -08:00
k8s-merge-robot
ce08973e96 Merge pull request #22092 from pwittrock/node-e2e-enable-hosts
Auto commit by PR queue bot
2016-02-26 16:52:15 -08:00
goltermann
9c701a47e2 Fixes to Downward and Secrets E2E examples. 2016-02-26 16:35:21 -08:00
Janet Kuo
34a97a2433 Remove all deployment e2e tests from flaky list 2016-02-26 15:54:52 -08:00
Fabio Yeon
09dd0f1809 Merge pull request #21639 from jayunit100/cassandra-example-fix
Fix broken cassandra test: Up to date containers + RC of 2 nodes with…
2016-02-26 15:48:02 -08:00
Fabio Yeon
1065f4f932 Merge pull request #21621 from jayunit100/k8bps-defaultns
[examples] k8petstore: connection timeouts + allow blips.
2016-02-26 15:47:00 -08:00
Phillip Wittrock
0db316970c Node e2e fix etcd compability issues across versions 2016-02-26 15:44:40 -08:00
nikhiljindal
1eaf760c95 deployment e2e: print out the error 2016-02-26 14:18:56 -08:00
Fabio Yeon
3ce28f5e0c Merge pull request #22014 from ihmccreery/decouple-node-upgrade
Decouple node upgrade from master upgrade
2016-02-26 13:03:18 -08:00
Fabio Yeon
bdfbdc72d9 Merge pull request #22057 from gmarek/register
Small fix to make tests pass when master node is registered
2016-02-26 13:00:27 -08:00
k8s-merge-robot
192119c2ac Merge pull request #21610 from fejta/e2etag
Auto commit by PR queue bot
2016-02-26 12:52:43 -08:00
k8s-merge-robot
a53bf86f40 Merge pull request #21946 from pwittrock/node-e2e-images
Auto commit by PR queue bot
2016-02-26 12:18:03 -08:00
Prashanth Balasubramanian
9be53e6319 Strip whitespace when comparing endpoints in services test. 2016-02-26 12:02:14 -08:00
Fabio Yeon
3dab166da4 Merge pull request #21776 from erictune/job-sel-gen
Selector generation for batch/v1 Job
2016-02-26 11:58:21 -08:00
Phillip Wittrock
a11489e0ff Node e2e documentations and minor features
- Add README.md for node e2e tests
- Add support for --cleanup=false to leave test files on remote hosts and temporary instances for debugging
- Add ubuntu trusty instances for docker 1.8 and docker 1.9 to jenkins pr builder
- Disable coreos-beta for jenkins ci since it is failing - need to investigate
2016-02-26 10:58:48 -08:00
k8s-merge-robot
649b6879d7 Merge pull request #22053 from gmarek/resources
Auto commit by PR queue bot
2016-02-26 08:03:55 -08:00
gmarek
48fefd0f53 Small fix to make tests pass when master node is registered 2016-02-26 16:09:49 +01:00
gmarek
94c08fbf31 Workaround hanging proxies in resource gatherer 2016-02-26 14:23:53 +01:00
Wojciech Tyczynski
f3b44c129a Increase memory limit for influxdb in Density test 2016-02-26 13:49:05 +01:00
gmarek
d859968377 Remove debug logs from resource gatherer 2016-02-26 10:23:08 +01:00
Marek Grabowski
1cc91025b7 Merge pull request #22021 from bprashanth/log_addons
Dump kubectl logs for non-ready containers on startup
2016-02-26 09:21:01 +01:00
liangchenye
e3861cd6fc use phase to test container status
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-26 14:32:03 +08:00
liangchenye
7d41164931 blackbox test: list, create, remove
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-26 12:31:29 +08:00
k8s-merge-robot
b092294302 Merge pull request #21807 from freehan/nettest
Auto commit by PR queue bot
2016-02-25 20:10:48 -08:00
k8s-merge-robot
7ee8dde1e3 Merge pull request #21945 from yujuhong/tag_nginx
Auto commit by PR queue bot
2016-02-25 19:37:09 -08:00
k8s-merge-robot
8c60068b36 Merge pull request #21794 from caesarxuchao/fix-19715
Auto commit by PR queue bot
2016-02-25 18:31:52 -08:00
Fabio Yeon
307ec46bce Merge pull request #21474 from quinton-hoole/2016-01-12-ubelite-e2e-spreading
Add Ubernetes Lite e2e tests for spreading RC and Service pods evenly…
2016-02-25 17:33:00 -08:00
nikhiljindal
2db2fba1b1 Delete replica set and its pods as well rather than just deleting the replica set 2016-02-25 15:26:58 -08:00
Prashanth Balasubramanian
d5226bb044 Kubectl log all failed containers in namespace=kube-system. 2016-02-25 14:54:17 -08:00
Isaac Hollander McCreery
de3b17a86f Remove silent provider skips, since upgrade tests are feature tests, and aren't turned on by default anyway 2016-02-25 13:40:22 -08:00
Isaac Hollander McCreery
1bf69415cd Decouple node upgrade from master upgrade 2016-02-25 13:37:16 -08:00
Sami Wagiaalla
d43372b901 Add SELinuxOptions to emptyDir e2e
This enables the tests to use the kubelet's SELinux labeling.
Otherwise SELinux will prevent access and the tests fail.
2016-02-25 16:26:16 -05:00
Eric Tune
875755f992 Added Selector Generation to Job.
Added selector generation to Job's
strategy.Validate, right before validation.
Can't do in defaulting since UID is not known.

Added a validation to Job to ensure that the generated
labels and selector are correct when generation was requested.
This happens right after generation, but validation is in a better
place to return an error.

Adds "manualSelector" field to batch/v1 Job to control selector generation.
Adds same field to extensions/__internal.  Conversion between those two
is automatic.

Adds "autoSelector" field to extensions/v1beta1 Job.  Used for storing batch/v1 Jobs
    - Default for v1 is to do generation.
    - Default for v1beta1 is to not do it.
    - In both cases, unset == false == do the default thing.

Release notes:
Added batch/v1 group, which contains just Job, and which is the next
version of extensions/v1beta1 Job.

The changes from the previous version are:
- Users no longer need to ensure labels on their pod template are unique to the enclosing
  job (but may add labels as needed for categorization).
- In v1beta1, job.spec.selector was defaulted from pod labels, with the user responsible for uniqueness.
  In v1, a unique label is generated and added to the pod template, and used as the selector (other
  labels added by user stay on pod template, but need not be used by selector).
- a new field called "manualSelector" field exists to control whether the new behavior is used,
  versus a more error-prone but more flexible "manual" (not generated) seletor.  Most users
  will not need to use this field and should leave it unset.

Users who are creating extensions.Job go objects and then posting them using the go client
will see a change in the default behavior.  They need to either stop providing a selector (relying on
selector generation) or else specify "spec.manualSelector" until they are ready to do the former.
2016-02-25 09:28:07 -08:00
gmarek
fdb3020f85 Add more logs to resource gatherer to help with debugging 2016-02-25 14:55:29 +01:00
k8s-merge-robot
995b72798c Merge pull request #21974 from gmarek/refactor-gatherer
Auto commit by PR queue bot
2016-02-25 04:10:32 -08:00
k8s-merge-robot
47986aa018 Merge pull request #21163 from pmorie/downward-api-e2e-time
Auto commit by PR queue bot
2016-02-25 03:08:44 -08:00
gmarek
ff6b3d1fb1 Fix spreading in resource usage gatherer 2016-02-25 11:54:34 +01:00
k8s-merge-robot
bc52f12a56 Merge pull request #20808 from soltysh/e2e_tests
Auto commit by PR queue bot
2016-02-25 01:57:24 -08:00
k8s-merge-robot
7f613dbf15 Merge pull request #21204 from pwittrock/node-e2e-pull
Auto commit by PR queue bot
2016-02-24 22:16:48 -08:00
Jordan Liggitt
ea59b4c741 Fix sinceTime pod log options 2016-02-25 00:46:13 -05:00
Brian Grant
63c85691bd Merge pull request #21795 from janetkuo/deployment-e2e-flake-panic
Fix the nil pointer dereference in addHashKeyToRSAndPods
2016-02-24 21:25:35 -08:00
k8s-merge-robot
9a4e3f8470 Merge pull request #21870 from mqliang/lookup-cache
Auto commit by PR queue bot
2016-02-24 20:01:29 -08:00
Minhan Xia
66940c2d44 wait for all webserver endpoints to come up before contacting peers 2016-02-24 18:35:59 -08:00
Quinton Hoole
a9fd207140 Add Ubernetes Lite e2e tests for spreading RC and Service pods evenly across all zones.
Fixes #19415
2016-02-24 16:59:41 -08:00
Yu-Ju Hong
a66a60bc37 e2e: change the tests to use versioned image nginx:1.7.9 2016-02-24 16:54:40 -08:00
Janet Kuo
082702390a Fix test flake 2016-02-24 16:41:36 -08:00
Alex Robinson
c031697848 Merge pull request #21626 from jayunit100/examples-spark-fix
Fix broken spark tests to use yaml files, 1 worker, declare DNS depe…
2016-02-24 16:30:19 -08:00
Phillip Wittrock
c51c606f22 Node e2e test runner - run against images
- support allocating gce instances from images and running tests against them
- set --hostname-override to match node name
- add jenkins script to source to reproduce jenkins build locally
2016-02-24 16:29:59 -08:00
Chao Xu
3efd3c62e6 Replace ineffective DeleteOptions with nil 2016-02-24 15:06:24 -08:00
Alex Robinson
0b4d702e04 Merge pull request #21730 from lavalamp/fix-proxy-svc-pod
add readiness probe to proxy test
2016-02-24 14:44:48 -08:00
Alex Robinson
475076e1df Merge pull request #21569 from lavalamp/fix-shadowing
fix shadowing bug
2016-02-24 14:42:58 -08:00
Brian Grant
0b5edab208 Merge pull request #21857 from nikhiljindal/stopDeployment
fix deployment e2e flake: Update DeploymentReaper.Stop to use ObservedGeneration
2016-02-24 14:26:23 -08:00
mqliang
e44e71ca87 make cache size configurable 2016-02-24 22:37:02 +08:00
k8s-merge-robot
07e9bd82dc Merge pull request #21759 from gmarek/refactor-gatherer
Auto commit by PR queue bot
2016-02-24 04:37:14 -08:00
gmarek
ac706ea1de Resource gatherer refactoring 2016-02-24 12:55:32 +01:00
Wojciech Tyczynski
a8ed5103f6 Increase QPS limits in density test 2016-02-24 12:15:49 +01:00
nikhiljindal
7e50fa6df0 Update DeploymentReaper.Stop to use ObservedGeneration to remove race condition 2016-02-24 00:09:44 -08:00
Marcin Wielgus
ef2f06f02a Merge pull request #21602 from ncdc/port-forward-kubectl-timeout-flake
Fix kubectl timeout test flake in e2e/portforward
2016-02-24 08:59:05 +01:00
jay vyas
6efe5d05c3 [examples] k8petstore: connection timeouts and pass fail that is allows blips.
Author:    jay vyas <jay@apache.org>
 Date:      Fri Feb 19 18:44:13 2016 -0500
 Committer: jay vyas <jay@apache.org>
2016-02-23 23:11:44 -05:00
Janet Kuo
82dcc56fe3 Improve log for debug 2016-02-23 17:52:24 -08:00
Janet Kuo
ebcce18d96 Sort events by their first timestamp when dumping them 2016-02-23 17:52:24 -08:00
Joe Finney
372d1b6020 Remove check for rolling-updates gcloud subgroup. 2016-02-23 17:45:44 -08:00
Dawn Chen
b19102ba23 Merge pull request #21796 from nikhiljindal/deploymente2eLogs
deployment e2e test flake: Print the remaining pods to debug test flake
2016-02-23 16:43:00 -08:00
k8s-merge-robot
067998e727 Merge pull request #21622 from pwittrock/nodee2essh
Auto commit by PR queue bot
2016-02-23 16:42:42 -08:00
nikhiljindal
ac6188c676 Print the remaining pods to debug test flake 2016-02-23 14:57:19 -08:00
Daniel Smith
6afe858b44 fix shadowing bug 2016-02-23 14:51:12 -08:00
Yu-Ju Hong
cdece9922b e2e: fix logging the latest cpu summary 2016-02-23 12:16:15 -08:00
Yu-Ju Hong
f52e0e5e1f e2e: set RSS memory usage limit for kubelet/docker 2016-02-23 12:14:09 -08:00
kargakis
7a3d40786b switch internal field to int64 2016-02-23 19:30:33 +01:00
kargakis
418d79cb78 extensions: add observedGeneration for deployments 2016-02-23 18:47:40 +01:00
k8s-merge-robot
aa9e139894 Merge pull request #21726 from janetkuo/log-on-timeout
Auto commit by PR queue bot
2016-02-23 04:16:49 -08:00
k8s-merge-robot
6b649d7f9f Merge pull request #21706 from liggitt/token-controller
Auto commit by PR queue bot
2016-02-23 02:40:26 -08:00
k8s-merge-robot
599af17e0d Merge pull request #21685 from gmarek/resource-usage
Auto commit by PR queue bot
2016-02-23 00:16:21 -08:00
k8s-merge-robot
0afbc71f31 Merge pull request #21030 from janetkuo/deployment-label-adopted
Auto commit by PR queue bot
2016-02-22 23:45:42 -08:00
Brian Grant
7662a5ee54 Merge pull request #21734 from janetkuo/rollover-flake
Wait for pods to become available before rolling over in deployment e2e test
2016-02-22 20:15:33 -08:00
Phillip Wittrock
a3623c0c14 Refactor node e2e tests
- Add Makefile targets
- Start services in the test harness and connect locally
- Build test into binary and copy to remote host to start services
- Use tar to copy binaries to remote hosts to simplify design
2016-02-22 20:06:15 -08:00
Janet Kuo
ecce9492cc Wait for pods to become available before rolling over in deployment e2e test 2016-02-22 18:36:39 -08:00
Brian Grant
f4de3ea676 Merge pull request #21710 from janetkuo/flake-event-order
Don't rely on events in deployment rollback e2e test
2016-02-22 17:54:07 -08:00
Daniel Smith
9d87b47d77 add readiness probe to proxy test 2016-02-22 17:43:25 -08:00
Janet Kuo
4369a21969 Log deployment, RSes and pods on waitForDeploymentStatus timeout / condition mismatch 2016-02-22 17:29:44 -08:00
jay vyas
4c91cf2028 e2e cassandra fixes, needs follow on container update 2016-02-22 19:50:05 -05:00
Brian Grant
6cecf2b357 Merge pull request #21715 from janetkuo/remove-racy-check
Remove racy check in waitForDeploymentStatus; wait for underlying resources to reach the desired state instead
2016-02-22 16:22:14 -08:00
Dawn Chen
201d60b426 Merge pull request #21440 from bprashanth/glbc_name
Add image version to glbc name.
2016-02-22 14:48:48 -08:00
Janet Kuo
d2c9d51999 Remove racy check in waitForDeploymentStatus; wait for underlying resources to reach the desired state instead 2016-02-22 14:47:38 -08:00
Janet Kuo
eaa4eb10aa Don't rely on events in deployment rollback e2e test 2016-02-22 13:51:51 -08:00
jay vyas
782b268f02 [examples] [e2e] Fix spark example e2e tests: labels, forEach, json->yaml 2016-02-22 16:40:30 -05:00
Jordan Liggitt
92bf353496 Ensure created service account tokens are available to the token controller 2016-02-22 16:22:51 -05:00
Andy Goldstein
03d926c2a7 Fix kubectl timeout test flake in e2e/portforward
Instead of using `kubectl logs -f` and waiting for it to terminate when the container/pod stopped,
switch to explicitly waiting for the pod to stop and then get the pod logs without -f to avoid
hanging.
2016-02-22 14:39:20 -05:00
k8s-merge-robot
6a199706cb Merge pull request #21423 from ihmccreery/version-guard-deployments
Auto commit by PR queue bot
2016-02-22 11:04:51 -08:00
Janet Kuo
4699a6d8a2 Address comments; fix test failure 2016-02-22 10:58:54 -08:00
Janet Kuo
11fdbff97f Address comments; fix test failures; add e2e tests; update RS's label too 2016-02-22 10:58:54 -08:00
Brian Grant
bd3cde0e0a Mark flaky Deployment e2e tests until the problems are resolved.
Ref #21463, #21467, #21491, #19299
2016-02-22 17:27:14 +00:00
gmarek
20e15cb6af Changes in resource gathering to help debugging 2016-02-22 16:45:30 +01:00
k8s-merge-robot
2c3b3d5716 Merge pull request #21494 from saad-ali/markRemainingTwoPDTestsAsSlow
Auto commit by PR queue bot
2016-02-22 07:41:46 -08:00
k8s-merge-robot
aee2eb3977 Merge pull request #21434 from erictune/job-ga
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
k8s-merge-robot
e34a23b289 Merge pull request #21351 from smarterclayton/optional_pod_status
Auto commit by PR queue bot
2016-02-21 04:10:19 -08:00
k8s-merge-robot
6f2b88cb2a Merge pull request #21516 from nikhiljindal/limitRangee2e
Auto commit by PR queue bot
2016-02-20 02:20:17 -08:00
k8s-merge-robot
f08a8f23c1 Merge pull request #20959 from justinsb/fix_20911
Auto commit by PR queue bot
2016-02-20 00:56:53 -08:00
Erick Fejta
3d8913a43a Use e2e tagged version of test images that aren't versioned 2016-02-19 20:22:49 -08:00
Erick Fejta
c2e1f26ee7 Add versions to volume images to avoid repeatedly pulling the same image. 2016-02-19 19:09:16 -08:00
Janet Kuo
b267ede42c Address comments 2016-02-19 15:58:33 -08:00
Eric Tune
bab89e95ce Fix jobs integration test. 2016-02-19 15:56:40 -08:00
Janet Kuo
6ceb221f8e Log pods of RS when deployment e2e test fails 2016-02-19 15:55:22 -08:00
Brian Grant
6766f11a5b Merge pull request #21586 from janetkuo/retry-update-e2e
Retry all Update in deployment e2e tests
2016-02-19 15:02:28 -08:00
Prashanth B
6a1156d7a3 Merge pull request #21573 from pmorie/configmap-flake
Make flake in configMap update e2e easier to debug
2016-02-19 14:44:13 -08:00
Maciej Szulik
7f61f62ec2 Allow custom namespace creation in e2e framework 2016-02-19 23:17:50 +01:00
Janet Kuo
98a1eaf245 Retry all Update in deployment e2e tests 2016-02-19 13:45:57 -08:00
Brendan Burns
8bda033ef1 Merge pull request #21444 from dchen1107/test1
Log daemons' failure reasons to supervisord log files
2016-02-19 13:08:19 -08:00
k8s-merge-robot
d37060d4f0 Merge pull request #21061 from mqliang/deployment-e2e-IntPtr
Auto commit by PR queue bot
2016-02-19 13:07:25 -08:00
Paul Morie
f8d58ac708 Make flake in configMap update e2e easier to debug 2016-02-19 15:01:20 -05:00
k8s-merge-robot
c3a962bff5 Merge pull request #20351 from krousey/dynamic_client
Auto commit by PR queue bot
2016-02-19 10:00:54 -08:00
Eric Tune
d5f303d3d7 Fixed and added tests 2016-02-19 09:20:56 -08:00
k8s-merge-robot
921caee646 Merge pull request #21472 from gmarek/kubemark-log
Auto commit by PR queue bot
2016-02-19 08:27:28 -08:00
k8s-merge-robot
62587b66ff Merge pull request #21019 from freehan/estest
Auto commit by PR queue bot
2016-02-19 05:46:23 -08:00
k8s-merge-robot
2236c843cd Merge pull request #20458 from freehan/nodedown
Auto commit by PR queue bot
2016-02-18 20:47:06 -08:00
Phillip Wittrock
4151e96a60 Merge pull request #21510 from jlowdermilk/fix-nodeoutofdisk
Don't call framework.before|afterEach in nodeoutofdisk test
2016-02-18 18:55:32 -08:00
k8s-merge-robot
f1cbaed60f Merge pull request #17493 from feihujiang/supportSubresourceOfServiceProxy
Auto commit by PR queue bot
2016-02-18 18:22:59 -08:00
Minhan Xia
7823d615e8 put block/unblock network function into util 2016-02-18 16:30:41 -08:00
Phillip Wittrock
c6fea28e83 Merge pull request #21368 from timstclair/summary-api
Move stats summary types to a new kubelet/api package to avoid unnece…
2016-02-18 16:05:34 -08:00
nikhiljindal
68dec27792 Adding some debug messages on test failure 2016-02-18 15:17:27 -08:00
Jeff Lowdermilk
71febf4b24 Don't call framework.before|afterEach in nodeoutofdisk test 2016-02-18 14:33:04 -08:00
Paul Morie
6cc1ba4158 Make downward API volume test run faster 2016-02-18 17:20:09 -05:00
Prashanth Balasubramanian
058db9a758 Add image version to glbc name, and fix e2e appropriately. 2016-02-18 13:03:01 -08:00
saadali
820b416232 Mark remaining two PD tests as slow 2016-02-18 11:24:41 -08:00
Phillip Wittrock
c61436ea94 Merge pull request #21410 from jlowdermilk/before-suite-dump
e2e: log events, pod/node info when kube-system pods fail to start
2016-02-18 11:12:34 -08:00
k8s-merge-robot
5acdb92126 Merge pull request #21177 from laushinka/spelling-fixes
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
gmarek
0cf1b922c4 Add more logging in case of Kubemark startup failure 2016-02-18 16:32:04 +01:00
k8s-merge-robot
17325ef6ef Merge pull request #20501 from piosz/hpa-ga
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
feihujiang
ac9f890238 Support the subresource of service proxy 2016-02-18 15:16:05 +08:00
k8s-merge-robot
bcabc096f2 Merge pull request #21130 from madhusudancs/daemonset-enable-default
Auto commit by PR queue bot
2016-02-17 22:54:35 -08:00
Dawn Chen
b17412a1d9 collect docker.log 2016-02-17 17:06:07 -08:00
Dawn Chen
c46ee395b9 Collect kubelet healthz failure reason log on nodes. Also collect etcd log on master node. 2016-02-17 16:50:45 -08:00
Dawn Chen
e03c632a5e Merge pull request #21208 from dchen1107/test
Collect kern.log from nodes for debugging.
2016-02-17 16:41:03 -08:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Madhusudan.C.S
31606e6d2f Remove Deployment and DaemonSet "Feature:" tags from e2e tests. 2016-02-17 15:04:31 -08:00
Dawn Chen
c801fa58db Collect kern.log from node for debugging. 2016-02-17 14:56:19 -08:00
gmarek
dfb1e69ea2 Fix namespace test 2016-02-17 14:16:32 -08:00