Commit Graph

29889 Commits (cf234ab67d3aaf58c4dcf3eef38758e1ae986d67)

Author SHA1 Message Date
k8s-merge-robot cf234ab67d Merge pull request #26251 from caesarxuchao/add-serializer
Automatic merge from submit-queue

Add direct serializer

Fix #25589. Implemented a direct codec that doesn't do conversion, but sets the group, version and kind before serialization as Clayton suggested [here](https://github.com/kubernetes/kubernetes/issues/25589#issuecomment-219168009).

First commit is cherry-picked from #24826.

@kubernetes/sig-api-machinery
2016-06-01 23:31:47 -07:00
k8s-merge-robot 8dcedbab5d Merge pull request #26232 from vishh/25713
Automatic merge from submit-queue

Suppress non error logs from ssh commands in node e2e framework.

Fixes #25713
2016-06-01 21:27:29 -07:00
k8s-merge-robot 745eb08e83 Merge pull request #26595 from janetkuo/log-test-e2e-deployment
Automatic merge from submit-queue

Adding logs in deployment for debugging



Ref #26509
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-01 20:35:42 -07:00
k8s-merge-robot 9f520cf33d Merge pull request #25991 from quinton-hoole/fed-service-controller
Automatic merge from submit-queue

Integrate federated service DNS record management

Integrate federated service DNS record management.
2016-06-01 19:47:55 -07:00
k8s-merge-robot 63e589957e Merge pull request #26664 from zmerlynn/parallel-firewall
Automatic merge from submit-queue

GKE provider: Tear down firewall rules last

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]() It turns out, it's faster to do it in this order for large clusters.

Along the way: Do it in parallel
2016-06-01 18:51:07 -07:00
k8s-merge-robot cdbda4a00f Merge pull request #26645 from yujuhong/cpu_limit
Automatic merge from submit-queue

kubelet e2e: bumping cpu limit

The previous limit was too aggressive and caused kubernetes-e2e-gce-serial build 1404 to fail.
2016-06-01 18:51:03 -07:00
k8s-merge-robot 401da26068 Merge pull request #26635 from derekwaynecarr/fix_formating
Automatic merge from submit-queue

Fix table formatting in eviction proposal

/cc @vishh - table was not formatted properly.
2016-06-01 18:51:00 -07:00
k8s-merge-robot 365386e23b Merge pull request #26617 from sjpotter/heapster
Automatic merge from submit-queue

cluster/coreos: Update heapster addon to beta2

fixes #26616 

As noted there, heapster was updated but not for gce/coreos which breaks anything that depends on heapster's new metrics API (i.e. autoscaling)
2016-06-01 18:50:56 -07:00
Quinton Hoole 65e1fecab5 Integrate federated service DNS record management 2016-06-01 16:24:14 -07:00
Zach Loafman 9e23fa0e9b GKE provider: Tear down firewall rules last
It turns out, it's faster to do it in this order for large clusters.

Along the way: Do it in parallel
2016-06-01 15:37:20 -07:00
k8s-merge-robot 06f742a5ea Merge pull request #26599 from andyzheng0831/fix-trusty
Automatic merge from submit-queue

Trusty: fix breakage by #26413 and #26109

The code https://github.com/kubernetes/kubernetes/tree/master/cluster/gce/trusty in both master and release-1.2 branches is broken. Although we already switched to using cluster/gce/gci for 1.3 branch, we will still need to maintain the cluster/gce/trusty code as long as release-1.2 branch is not deprecated. I will make a couple of PR and cherry-picks to make cluster/gce/trusty back to normal. This PR is one of them, which will not be cherry picked to release-1.2.

@roberthbailey @dchen1107 @fabioy @zmerlynn 

cc/ @kubernetes/goog-image
2016-06-01 13:26:03 -07:00
k8s-merge-robot 73eb45f22a Merge pull request #26624 from sttts/sttts-kubectl-run-attach-desc
Automatic merge from submit-queue

Fix kubectl --attach decription with deprecated --interactive

<!--
Checklist for submitting a Pull Request

Please remove this comment block before submitting.

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
3. If you want this PR to automatically close an issue when it is merged,
   add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
   to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests).
4. 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)]()
2016-06-01 12:43:09 -07:00
Alex Robinson 903821354e Merge pull request #26642 from wojtek-t/fix_kubelet_test_panics
Fix panic in kubelet test
2016-06-01 15:41:35 -04:00
Shaya Potter 049c51e7e7 removed --metric_resolution=60s per piosz 2016-06-01 12:00:35 -07:00
k8s-merge-robot 517dedd419 Merge pull request #26619 from jsafrane/fix-fake-recorder-flake
Automatic merge from submit-queue

Fix fake event recorder race

Event recorder should wait for some time to get all expected events, the event may be written by another goroutine that just have finished.

It should not slow down the test in most cases, only when there is a bug and expected event is not sent.

Fixes #26578 

Using P2 to speed up merge and to prevent further flakes.

@kubernetes/sig-storage
2016-06-01 11:41:46 -07:00
k8s-merge-robot 46323336cb Merge pull request #26559 from wojtek-t/max_idle_conns_per_host
Automatic merge from submit-queue

Max idle conns per host

Ref #26519

Hopefully, this will at least somehow help with #26519 

@gmarek @krousey @lavalamp
2016-06-01 11:41:42 -07:00
Yu-Ju Hong ede3e885d6 kubelet e2e: bumping cpu limit 2016-06-01 11:40:48 -07:00
Wojciech Tyczynski 13b57f8ffb Fix panic in kubelet test 2016-06-01 19:55:35 +02:00
Andy Zheng 9a413b3bea Trusty: fix breakage by #26413 and #26109 2016-06-01 09:57:50 -07:00
k8s-merge-robot 9336eb516b Merge pull request #26575 from mwielgus/gke-token-src
Automatic merge from submit-queue

Pass /etc/gce.conf to cluster autoscaler if needed

cc: @vulpecula @piosz @jszczepkowski @fgrzadkowski
2016-06-01 09:42:45 -07:00
k8s-merge-robot bc6c66d4d4 Merge pull request #25726 from jszczepkowski/hpa-testfix
Automatic merge from submit-queue

Rework of resource consumer.
2016-06-01 08:50:23 -07:00
k8s-merge-robot 41a01fcfed Merge pull request #26618 from wojtek-t/fix_large_kubelet_test
Automatic merge from submit-queue

Change Kubelet test to run also in large clusters

This should fix the recent failure of kubelet test in 2000-node cluster.

@zmerlynn - FYI
2016-06-01 08:00:31 -07:00
derekwaynecarr 1cf90a8f70 Fix table formatting in eviction proposal 2016-06-01 10:44:44 -04:00
k8s-merge-robot cb91816fc3 Merge pull request #26612 from andyzheng0831/gci-fix
Automatic merge from submit-queue

GCI: cherry-pick the fix in PR #25670

This PR simply copies the fix in #25670 into the GCI support.

cc/ @kubernetes/goog-image @dchen1107 @roberthbailey
2016-06-01 06:55:57 -07:00
k8s-merge-robot 0c0478e3f5 Merge pull request #26593 from bprashanth/glbc_logs
Automatic merge from submit-queue

Collect l7 controller e2e logs

https://github.com/kubernetes/kubernetes/pull/26048#issuecomment-222758050
I meant to check e2e output and see if the logs were being collected, but it merged before i could.
2016-06-01 06:55:54 -07:00
Jerzy Szczepkowski 967a7c95d2 Rework of resource consumer.
Major rework of resource consumer: added controller running as a pod that spreads requests around consumers. This should fix #21664 and #23536.
2016-06-01 15:50:03 +02:00
Marcin Wielgus fcea41e495 Merge pull request #26577 from mwielgus/ca-0.1.1
Bump cluster autoscaler to 0.1.1
2016-06-01 15:41:36 +02:00
k8s-merge-robot 5a5a6cc4d3 Merge pull request #26523 from luxas/fix_native_build_go
Automatic merge from submit-queue

Don't set the env var CC when not cross-compiling

I noticed that this script was trying to use `arm-linux-gnueabi-gcc` also when running natively on arm.
When running natively, `CC` should always be `gcc` (which also is the default)

Also added `federation-controller-manager` to the static list, I think someone forgot to do that.

@ixdy @david-mcmahon @spiffxp @spxtr
2016-06-01 05:58:03 -07:00
k8s-merge-robot b69c7064fd Merge pull request #26068 from jszczepkowski/kac-multimig-test
Automatic merge from submit-queue

Multiple MIGs in e2e cluster autoscaling tests.

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

Implemented support for multiple MIGs in e2e cluster autoscaling tests.
2016-06-01 05:02:45 -07:00
Marcin Wielgus 4c467e1017 Update underscore flag exceptions 2016-06-01 13:54:28 +02:00
Wojciech Tyczynski 1afe14deaf Change Kubelet test to run also in large clusters 2016-06-01 13:39:54 +02:00
Dr. Stefan Schimanski 026804c2be Fix kubectl --attach decription with deprecated --interactive 2016-06-01 13:21:39 +02:00
k8s-merge-robot 2976e892a4 Merge pull request #26562 from victorgp/master
Automatic merge from submit-queue

Minor typo in comment, SSLv3 instead of SSLv4

Minor fix in a comment from this PR https://github.com/kubernetes/kubernetes/pull/26169
2016-06-01 03:13:23 -07:00
k8s-merge-robot 6277eea57b Merge pull request #26200 from yifan-gu/remove_systemd_quotes
Automatic merge from submit-queue

rkt: Remove quotes in the systemd ExecStart command.

cc @euank @dcbw
2016-06-01 03:13:19 -07:00
k8s-merge-robot 99fab4a87d Merge pull request #25374 from brendandburns/plural
Automatic merge from submit-queue

Fix a bug with pluralization of third party resources

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

@kubernetes/sig-api-machinery 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-01 02:25:30 -07:00
Jerzy Szczepkowski 93e5b12a06 Multiple MIGs in e2e cluster autoscaling tests.
Implemented support for multiple MIGs in e2e cluster autoscaling tests.
2016-06-01 11:20:41 +02:00
k8s-merge-robot ea07d310d1 Merge pull request #26604 from zmerlynn/ssh-slow
Automatic merge from submit-queue

SSH e2e: Limit to 100 nodes, limit combinatorics

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()This limits the "for all hosts" to 100 nodes, and also limits the
combinatorial section so that we only do the other SSH command variant
testing on the first host rather than *all* of the hosts. I also
killed one of the variants because it didn't seem to be testing much
important.

Fixes #26600
2016-06-01 01:37:44 -07:00
Jan Safranek ee74cc4354 Fix fake event recorder race
Event recorder should wait for some time to get all expected events, the event
may be written by another goroutine that just have finished.

It should not slow down the test in most cases, only when there is a bug and
expected event is not sent.
2016-06-01 10:16:35 +02:00
Shaya Potter 4118bb1cf9 update heapster to beta2 - change to rest of k8s wasn't applied here 2016-06-01 00:51:52 -07:00
k8s-merge-robot 0a6a52b19d Merge pull request #26597 from caesarxuchao/fix-26425
Automatic merge from submit-queue

retry GetThirdPartyGroupVersions

GetThirdPartyGroupVersions() may return a "NotFound" error if a thirdparty group is deleted in the interim between the group-discovery and the resource-discovery. This is causing e2e flakes in all tests that run kubectl, because test/e2e/thirdparty.go is creating/deleting thirdparty groups.

Fix #26425

The e2e flakes will have the following pattern:
1. the test is calling kubectl
2. error message is `Error from server: the server could not find the requested resource`
3. in the apiserver log, you should see `GET /apis/company.com/v1: (518.944µs) 404 [[kubectl/v1.3.0 (linux/amd64) kubernetes/ae28564] 104.154.110.118:46043]`

For detail see [here](https://github.com/kubernetes/kubernetes/issues/26425#issuecomment-222844523)

cc @janetkuo @brendanburns
2016-06-01 00:02:43 -07:00
k8s-merge-robot c0dfccc388 Merge pull request #26550 from nikhiljindal/fixUnsecuredCluster
Automatic merge from submit-queue

federation cluster controller: load secretRef only if it is present

Ref https://github.com/kubernetes/kubernetes/pull/26132#issuecomment-222614042

Updated the code to load the secretRef only if it is present in the spec. This allows unsecured access to the cluster.

cc @kubernetes/sig-cluster-federation @mfanjie
2016-05-31 23:08:54 -07:00
k8s-merge-robot a1074e4381 Merge pull request #26461 from pwittrock/fix-25966-nodee2e-junit
Automatic merge from submit-queue

Node e2e test runner should still exit 0 if tests fail


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

- Exit non-0 if infrastructure failures happen
- Exit 0 if no infrastructure failures happen regardless of test results

(Jenkins will use junit.xml to determine test results)
2016-05-31 22:19:38 -07:00
k8s-merge-robot 04f77dd602 Merge pull request #26556 from jsafrane/fix-format
Automatic merge from submit-queue

Fix log arguments.

'i' is not printed.
@kubernetes/sig-storage
2016-05-31 21:24:50 -07:00
Andy Zheng a47d0ce1c2 GCI: cherry-pick the fix in PR #25670 2016-05-31 21:13:15 -07:00
Mike Danese f575c813da Merge pull request #26607 from mikedanese/fix-godeps
fix godeps on master broken in #26335
2016-05-31 20:05:48 -07:00
Mike Danese cadfaee621 fix godeps on master broken in #26335 2016-05-31 18:29:28 -07:00
nikhiljindal 8e3e5a8b85 load secretRef only if it is present 2016-05-31 18:17:42 -07:00
Zach Loafman 3d66c3be82 SSH e2e: Limit to 100 nodes, limit combinatorics
This limits the "for all hosts" to 100 nodes, and also limits the
combinatorial section so that we only do the other SSH command variant
testing on the first host rather than *all* of the hosts. I also
killed one of the variants because it didn't seem to be testing much
important.

Fixes #26600
2016-05-31 17:31:14 -07:00
Chao Xu 7cea7ccd8d retry GetThirdPartyGroupVersions 2016-05-31 17:14:24 -07:00
k8s-merge-robot 38d5be4f36 Merge pull request #26555 from jsafrane/stabilize-test-flakes
Automatic merge from submit-queue

Stabilize controller unit tests.

Remove test "5-1", it's flaky as it depends on order of execution of goroutines. When the controller starts, existing claim is enqueued as "initial sync event" and a new volume is enqueued to separate goroutine. It is not deterministic which goroutine processes its events first and there is no way how to tell that the claim event was processed.

Also, force resync of the controllers after the test to make sure all events are processed.

Fixes unit test flakes.
@kubernetes/sig-storage
2016-05-31 17:06:12 -07:00