Commit Graph

30416 Commits

Author SHA1 Message Date
Erick Fejta
c1d915df5b Wait for arc.getArchive() to complete before running tests 2016-06-08 19:07:07 -07:00
Davide Agnello
bb1ae12906 Vendor/Godep updates 2016-06-08 18:17:42 -07:00
Davide Agnello
eb32bf55ef Adding support for lbaas-v2 in OpenStack Cloud Provider 2016-06-08 18:16:59 -07:00
Minhan Xia
7b9435898d Accept ICMP in INPUT/FORWARD chain of filter table 2016-06-08 17:34:11 -07:00
Daniel Smith
1d25410c3b Run new update-generated-docs.sh script 2016-06-08 17:25:21 -07:00
Dawn Chen
8d510898f0 Merge pull request #26830 from timstclair/node-e2e-build
Only build essential targets for node e2e
2016-06-08 17:23:21 -07:00
Daniel Smith
adcd48ccea update documentation & hooks 2016-06-08 17:22:12 -07:00
Daniel Smith
8faa88626d Revamp doc generation
Auto generated docs are **NO LONGER CHECKED IN**, only placeholders.

To generate them, e.g. before exporting docs, run hack/generate-docs.sh.

hack/verify-generated-docs.sh ensures that generated docs are merely the
placeholder text.

hack/update-generated-docs.sh puts the placeholder text in the proper
places.

The old munge behavior is moved into hack/{update|verify}-munge-docs.sh.
2016-06-08 17:22:12 -07:00
Dawn Chen
34dcea3037 Merge pull request #27065 from timstclair/cadvisor-godeps
Bump cAdvisor to v0.23.3
2016-06-08 17:21:08 -07:00
k8s-merge-robot
6986a3b2e2 Merge pull request #27091 from mml/union-merge
Automatic merge from submit-queue

Mark known-flags to merge via union.
2016-06-08 17:11:02 -07:00
k8s-merge-robot
613bbbb131 Merge pull request #26667 from mml/skip-local-data
Automatic merge from submit-queue

Stop 'kubectl drain' deleting pods with local storage.

Kubectl drain will not continue if there are pods with local storage unless
forced with --delete-local-data.

Fixes #23972
2016-06-08 17:10:58 -07:00
Euan Kemp
d2761de36b cluster/gce/coreos: Update heapster apiVersion
This fixes an inadvertant search-replace error in #26617.
The error was missed then because the search-replace issue wasn't
present in the standalone controllers, but was in all the others.
2016-06-08 16:55:18 -07:00
Casey Davenport
6fe7da72b4 Fix NetworkPolicy validation bug 2016-06-08 16:31:29 -07:00
Rudi Chiarito
40f76a95cb AWS: kubectl get service should print hostnames for LoadBalancer services
Fixes #21526

Also test wide outputs. We only guarantee the first IP to be fully printed
if multiple ingresses are present. For AWS, which has no ingress IPs, but
only hostnames, the ELB hostname will be truncated, unless -o=wide is
specified.
2016-06-08 19:29:48 -04:00
k8s-merge-robot
54b352ae3a Merge pull request #26907 from smarterclayton/tolerate_quantity
Automatic merge from submit-queue

Resource quantity must support leading and trailing whitespace in JSON for back-compat

For backwards compatibility reasons, we must continue to support leading or trailing whitespace on Quantity values when deserialized from JSON.  We must also support numbers serialized into yaml (`cpu: 1`) and JSON (`"cpu": 1`)

Fixes #26898
2016-06-08 16:16:41 -07:00
Matt Liggett
52f6b27365 Mark known-flags to merge via union.
This avoids pointless merge conflicts in a simple text file.
Fixes #27088.
2016-06-08 15:59:35 -07:00
k8s-merge-robot
85b67f2f00 Merge pull request #26874 from wojtek-t/fix_retry_after
Automatic merge from submit-queue

Fix Retry-After in clients

Fix #26871
2016-06-08 15:21:53 -07:00
Matt Liggett
d09af4a1d6 Stop 'drain' deleting pods with local storage.
Unless forced with --delete-local-data.  Also a refactoring of the
kubectl drain logic that selects/rejects pods and produces error/warning
messages.
2016-06-08 14:59:03 -07:00
Abhishek Gupta
f12f7c51ce Modifying scheduler integration test for unschedulable nodes 2016-06-08 14:44:09 -07:00
Colin Hom
782bf6e866 extract federation image push from push-ci-build.sh 2016-06-08 14:43:12 -07:00
Abhishek Gupta
bc9c461402 Adding test case for scheduler NodeConditionPredicate 2016-06-08 14:41:38 -07:00
Abhishek Gupta
623e7dfa39 Considering all nodes for the scheduler cache to allow lookups 2016-06-08 14:41:18 -07:00
k8s-merge-robot
e79f046990 Merge pull request #27041 from wojtek-t/unschedulable_nodes
Automatic merge from submit-queue

Extend logging for UnschedulableNodes

Ref #25845
2016-06-08 14:25:32 -07:00
k8s-merge-robot
525a56eff8 Merge pull request #26832 from pwittrock/node-e2e-makefile
Automatic merge from submit-queue

Node e2e Makefile support for running remote tests against kubernetes…

Fixes #26665

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

…-node-e2e-images.
2016-06-08 14:25:28 -07:00
k8s-merge-robot
e5784c41d4 Merge pull request #26829 from lukaszo/order
Automatic merge from submit-queue

Custom sort function for InitContainersStatuses

Order in init containers matters. Statues shoudln't be sorted by name.
2016-06-08 13:37:11 -07:00
Andy Zheng
66d6b43b67 GCI: add support for kubenet 2016-06-08 13:20:44 -07:00
k8s-merge-robot
99c8d10a28 Merge pull request #26803 from derekwaynecarr/fix_26319
Automatic merge from submit-queue

Move quota usage testing for loadbalancers into unit tests

Fixes https://github.com/kubernetes/kubernetes/issues/26319

* moved testing for node port and load balancer usage in quota to unit tests
* remove node port and node port -> loadbalancer service testing out of e2e
 * covered already in replenishment_controller_test scenario

Given the time it takes to even allocate a load balancer, it seems better to test that outside of this test case to avoid unnecessary flakes.

/cc @bprashanth
2016-06-08 12:51:53 -07:00
k8s-merge-robot
66149c50fd Merge pull request #26792 from janetkuo/deployment-version-skewed-test-fail
Automatic merge from submit-queue

Avoid comparing pod-template-hash when getting a deployment's new/old RSes

Will need to cherry pick to 1.2 also. 

Ref #26724 #26797 @kubernetes/deployment @ihmccreery 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-08 12:03:31 -07:00
Tim St. Clair
cf1ee6c694 Bump cAdvisor to v0.23.3 2016-06-08 11:57:20 -07:00
Hongchao Deng
d4eb48c0bb add TestPopReleaseLock 2016-06-08 11:34:35 -07:00
Hongchao Deng
308201acb0 processor listener: fix locking in pop() 2016-06-08 11:34:35 -07:00
k8s-merge-robot
3d332a047b Merge pull request #26961 from sttts/sttts-flake-26210-decouple-port-80
Automatic merge from submit-queue

Flake 26210: decouple explicit access from port 80

Flake #26210 only happens for port 80. To decouple the possible causes, all
tests with explicit port 80 are moved to port 1080 (these were 80% of the flakes).
The urls without a specified port (which map to port 80 though) are left untouched.

If port 1080 does not show up as flake now, there is really a connection to the
actual port number.
2016-06-08 11:16:13 -07:00
Janet Kuo
75c3cbcbfb Don't ignore error when Discovery().ServerResources() in kubectl run 2016-06-08 10:34:09 -07:00
k8s-merge-robot
7695ae6334 Merge pull request #27038 from wojtek-t/reduce_number_of_logs
Automatic merge from submit-queue

Reduce huge amount of logs in large cluster tests

When running tests in 2000-node clusters, I got more than 100.000 lines like this:
```
Jun  8 01:03:11.850: INFO: Condition NetworkUnavailable of node gke-gke-large-cluster-default-pool-1-03ee5a12-knrw is true instead of false. Reason: NoRouteCreated, message: Node created w       ithout a route
```
that doesn't give much value.

This is PR is reducing the number of logs.
2016-06-08 10:29:24 -07:00
Paul Morie
0a0797a680 Reduce log spam in dockertools manager.go 2016-06-08 12:41:37 -04:00
k8s-merge-robot
d53ddbe6e6 Merge pull request #27016 from andyzheng0831/gci-docker0
Automatic merge from submit-queue

GCI: fix the issue #26379

This PR deletes docker0 explicitly to fix the issue. In some cases, coexistence of docker0 and cbr0 make troubles in GCI-based cluster instances.

I verified it in GKE. With the fix, fluentd-gcp pod shows no error. "curl google.com" can work inside a pod. Mark it as P0 to match the issue priority.

@a-robinson @roberthbailey @freehan @kubernetes/goog-image
2016-06-08 09:36:34 -07:00
k8s-merge-robot
46f167188a Merge pull request #27006 from caesarxuchao/shorten-gc-stress-test
Automatic merge from submit-queue

shorten gc stress test

But the stress test is still run twice, because the `KUBE_TEST_API_VERSIONS` env var in test-integration.sh doesn't have any effect on the testapi because of the [defaulting](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/testapi/testapi.go#L164).

cc @lavalamp
2016-06-08 08:50:17 -07:00
k8s-merge-robot
076bf71eed Merge pull request #27022 from xiangpengzhao/fix_changelog
Automatic merge from submit-queue

Fix a minor typo in CHANGELOG.md
2016-06-08 08:06:27 -07:00
k8s-merge-robot
49db4f89b2 Merge pull request #26920 from mml/flake.unsched
Automatic merge from submit-queue

Retain debug logs for etcd when there is a place to keep them.
2016-06-08 08:06:22 -07:00
k8s-merge-robot
e7102b4fd9 Merge pull request #26880 from wojtek-t/better_traces
Automatic merge from submit-queue

Fix traces

Ref #26185
2016-06-08 08:06:18 -07:00
k8s-merge-robot
e7fa88f6bc Merge pull request #26179 from smarterclayton/fix_deep_copy
Automatic merge from submit-queue

DeepCopy should generate types within k8s.io/kubernetes

Take an incremental step to control which types get DeepCopy generated.

Fixes #26036, #24667

@thockin @wojtek-t @lavalamp
2016-06-08 08:06:13 -07:00
Phillip Wittrock
e94e1c6e3d Node e2e Makefile support for running remote tests against kubernetes-node-e2e-images.
Also includes other improvements:
- Makefile rule to run tests against remote instance using existing host or image
- Makefile will reuse an instance created from an image if it was not torn down
- Runner starts gce instances in parallel with building source
- Runner uses instance ip instead of hostname so that it doesn't need to resolve
- Runner supports cleaning up files and processes on an instance without stopping / deleting it
- Runner runs tests using `ginkgo` binary to support running tests in parallel
2016-06-08 07:31:54 -07:00
Wojciech Tyczynski
2777c8ddc6 Extend logging for UnschedulableNodes 2016-06-08 15:00:08 +02:00
Huamin Chen
d1e0a13924 support AWS and Cinder attacher
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-06-08 12:56:24 +00:00
Piotr Szczesniak
d93ebd0e9f Merge pull request #26993 from mwielgus/ca-rename
Rename ENABLE_NODE_AUTOSCALER to ENABLE_CLUSTER_AUTOSCALER - part 1
2016-06-08 14:55:10 +02:00
Jan Safranek
5cd5ae8d82 Add GCE attacher unit tests. 2016-06-08 13:53:04 +02:00
Wojciech Tyczynski
51f433d9a6 Reduce huge amount of logs in large cluster tests 2016-06-08 13:36:46 +02:00
Marcin Wielgus
edf21902b5 Rename ENABLE_NODE_AUTOSCALER to ENABLE_CLUSTER_AUTOSCALER - part 1 2016-06-08 13:35:38 +02:00
Jan Safranek
2b342c1e76 Add interface to abstract GCE volume operations.
We want to write unit test with fake GCE.
2016-06-08 12:37:08 +02:00
Piotr Szczesniak
1d128614bc Merge pull request #26957 from jszczepkowski/kac-tests-cleanup
Added extra logging to cluster autoscaler e2e tests.
2016-06-08 11:06:18 +02:00