Commit Graph

35564 Commits (879a2dcdbd415638b8770a43d0f9fd8cd2899836)

Author SHA1 Message Date
Minhan Xia 879a2dcdbd bump master cidr range from /30 to /29 2016-09-16 13:41:58 -07:00
Kubernetes Submit Queue fc466743a8 Merge pull request #32592 from dims/update-google-cloud-api-imports
Automatic merge from submit-queue

Update Google Cloud API client import paths
2016-09-14 08:39:49 -07:00
Kubernetes Submit Queue 4387dcbdd5 Merge pull request #32659 from wojtek-t/fix_gke_cluster
Automatic merge from submit-queue

Make networking tests work reasonably fast in large clusters

@bprashanth - FYI
2016-09-14 06:22:52 -07:00
Kubernetes Submit Queue e56a32a22d Merge pull request #31772 from gmarek/wrong_flag
Automatic merge from submit-queue

Create a flag for route reconciliation and deprecate unused node-sync-…

cc @pwittrock to decide if it can go in 1.4. It's a zero risk cleanup, that will reduce confusion about cluster configuration.
2016-09-14 06:22:47 -07:00
Kubernetes Submit Queue b77e2728d8 Merge pull request #32560 from dshulyak/enable_signer_for_vagrant
Automatic merge from submit-queue

Allow to use GetSigner with vagrant provider

In order to run tests that require ssh access to a node on vagrant
we need to provide path to private ssh key.

Now it will be possible to do using VAGRANT_SSH_KEY environment variable
2016-09-14 05:35:55 -07:00
Kubernetes Submit Queue 298ec318b2 Merge pull request #31547 from mbohlool/fix2
Automatic merge from submit-queue

Ignore staging folder in update gofmt

small bugfix in hack/update-gofmt.sh
2016-09-14 05:35:51 -07:00
Kubernetes Submit Queue 7420061ee8 Merge pull request #32558 from guangxuli/k8s_test_new
Automatic merge from submit-queue

add break may be better in the loop
2016-09-14 05:35:46 -07:00
Kubernetes Submit Queue 33e5b0e0db Merge pull request #32504 from kargakis/top-pod-fixes
Automatic merge from submit-queue

kubectl: run validation for 'top pod'

@mksalawa @kubernetes/kubectl
2016-09-14 05:35:42 -07:00
Kubernetes Submit Queue 6b1565d275 Merge pull request #30678 from ping035627/ping035627-patch-0816
Automatic merge from submit-queue

Recombine the condition for the "shouldScale" function

The PR recombine the condition for the "shouldScale" function, abstract the common condition(hpa.Status.LastScaleTime == nil).
2016-09-14 04:50:49 -07:00
Kubernetes Submit Queue 75e09a892f Merge pull request #32161 from hongchaodeng/rb
Automatic merge from submit-queue

etcd: data rollback tool of v3 -> v2

ref: https://github.com/kubernetes/features/issues/44
ref #20504

What?
This provides a rollback tool for some users to rollback etcd data from v3 to v2.
2016-09-14 04:12:02 -07:00
Kubernetes Submit Queue 312acd9e30 Merge pull request #32342 from coufon/get_image_machine_info_from_apiserver
Automatic merge from submit-queue

Get image and machine info from apiserver in node e2e test

This PR changes node e2e test to get image and machine information from API server instead of pass them from Jenkins test framework. The original format to pass image and machine info is naming the test node as "machine-image-uuid", which is hard to parse because "-" occurs a lot in both machine and image names.

Now we add two labels "image" and "machine" into performance data. The machine type has the format "cpu:1core,memory:3.6GB".

This PR is based on #32250.
2016-09-14 03:34:45 -07:00
Wojciech Tyczynski b86ba6eab0 Make networking tests work reasonably fast in large clusters 2016-09-14 12:27:20 +02:00
Kubernetes Submit Queue 5ffb523cf8 Merge pull request #32259 from ZTE-PaaS/zhangke-patch-040
Automatic merge from submit-queue

Improving StopContainer failed log level

Using at least Warning level will be more property
2016-09-14 02:53:55 -07:00
gmarek 4f0129b023 Create a flag for route reconciliatio and deprecate unused node-sync-period one 2016-09-14 11:49:50 +02:00
Kubernetes Submit Queue 8f4c0bbcb7 Merge pull request #32649 from piosz/heapster
Automatic merge from submit-queue

Bumped Heapster to v1.2.0

```release-note
Bumped Heapster to v1.2.0.
More details about the release https://github.com/kubernetes/heapster/releases/tag/v1.2.0
```

Version `v1.2.0` is a stable release of the previous release candidate `v1.2.0-beta.3`. The only difference is bumped Kubernetes deps to the lastest stable release `v1.4.0-beta.3` https://github.com/kubernetes/heapster/pull/1290.

It's low risk change. It may impact HPA and Monitoring e2e tests.
2016-09-14 01:54:29 -07:00
Kubernetes Submit Queue e03d35cfd2 Merge pull request #32173 from bprashanth/nginx_slow
Automatic merge from submit-queue

Move nginx ingress e2e to slow

Normal GCE L7 e2e takes ~15m and runs in a feature private suite. This e2e ensure that the api isn't broken, by creating an nginx controller. I plan to write a really slimmed down version for presubmit, but I need to shave off a minute to get it below 5m. 

Fixes https://github.com/kubernetes/kubernetes/issues/23416
2016-09-14 01:13:40 -07:00
Piotr Szczesniak 0f40f94dd9 Bumped Heapster to v1.2.0 2016-09-14 09:16:09 +02:00
Kubernetes Submit Queue 8b78066918 Merge pull request #32164 from ixdy/build-semantic-version
Automatic merge from submit-queue

kubectl version -c has been deprecated, use --client instead

```
Flag shorthand -c has been deprecated, please use --client instead.
```
2016-09-14 00:07:32 -07:00
Kubernetes Submit Queue 1443fffc5d Merge pull request #30701 from ardnaxelarak/28695_suppress_noisy_output
Automatic merge from submit-queue

Add test for --quiet flag for kubectl run

This adds a test for the changes introduced in #30247 and #28801.

Ref #28695
2016-09-13 23:28:47 -07:00
Kubernetes Submit Queue b6c25b235f Merge pull request #32486 from wojtek-t/scheduler_map_reduce_2
Automatic merge from submit-queue

Migrate a bunch of priority functions to map-reduce framework

Ref #24246
2016-09-13 22:48:57 -07:00
Kubernetes Submit Queue 61ba82c637 Merge pull request #32632 from jlowdermilk/petset-e2e
Automatic merge from submit-queue

Only skip petset test if resource is missing

**What this PR does / why we need it**:
Unblock testing petset on other providers.

cc @pwittrock. Would like to cherrypick onto 1.4 but this is test code only, so it can wait til after release cut.
2016-09-13 22:09:40 -07:00
Kubernetes Submit Queue b256b07007 Merge pull request #32407 from deads2k/authz-01-lsar
Automatic merge from submit-queue

add local subject access review API

Adds a local subject access review endpoint to allow a project-admin (someone with full rights within a namespace) the power to inspect whether a person can perform an action in his namespace.  This is a separate resource be factoring like this ensures that it is impossible for him to look outside his namespace and makes it possible to create authorization rules that can restrict this power to a project-admin in his own namespace.  Other factorings require introspection of objects.

@kubernetes/sig-auth
2016-09-13 22:09:35 -07:00
Kubernetes Submit Queue e357b9a6f4 Merge pull request #32582 from jlowdermilk/api-all
Automatic merge from submit-queue

make --runtime-config=api/all=true|false work

`Passing --runtime-config=api/all=true|false to apiserver will enable/disable all registered api groups`

Previously, only api/all=false was recognized, and it only disabled groups with resources.
2016-09-13 20:27:34 -07:00
Kubernetes Submit Queue 8cca9d4fad Merge pull request #32626 from janetkuo/skip-kubectl-test
Automatic merge from submit-queue

Skip kubectl tests (create quota and exit code) on not supported versions

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: Fixing broken kubernetes-e2e-gke-1.4-1.3-kubectl-skew tests. Because we're running 1.4 kubectl tests against 1.3 kubectl, some kubectl tests need to be skipped on older kubectl versions. 

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**: @pwittrock 

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```
2016-09-13 19:44:44 -07:00
Jeff Lowdermilk 1631c6dd24 update comment, only skip on missing resource if provider is not gce 2016-09-13 19:30:00 -07:00
Davanum Srinivas 64efc3a744 Update Google Cloud API client import paths
Bump version of golang.org/x/oauth2
Vendor google.golang.org/cloud/
Vendor google.golang.org/api/
Vendor cloud.google.com/go/compute/
Replace google.golang.org/cloud with cloud.google.com/go/

Fixes #30069
2016-09-13 22:21:06 -04:00
Kubernetes Submit Queue e2cb4755c4 Merge pull request #32608 from timstclair/cadvisor-godeps
Automatic merge from submit-queue

Update cAdvisor Godeps with new google cloud import path

For https://github.com/kubernetes/kubernetes/issues/30069
2016-09-13 18:51:40 -07:00
Jeff Lowdermilk 915e735d21 Only skip petset test if resource is missing 2016-09-13 18:50:36 -07:00
Kubernetes Submit Queue 18a29c4089 Merge pull request #32604 from coufon/increase_qps
Automatic merge from submit-queue

Enable DynamicKubeletConfig in benchmark test properties

This PR fixes "change QPS limit" failure by adding "TEST_ARGS='--feature-gates=DynamicKubeletConfig=true'" in jenkins-benchmark.properties
2016-09-13 18:10:52 -07:00
Janet Kuo 79373b698e Skip kubectl tests (create quota and exit code) on not supported versions 2016-09-13 17:25:19 -07:00
Kubernetes Submit Queue a26da7a1c4 Merge pull request #32160 from mml/evict.test.extra
Automatic merge from submit-queue

Refactor disruption e2e test and add some eviction test cases.
2016-09-13 17:23:02 -07:00
Kubernetes Submit Queue de9739e3c5 Merge pull request #31576 from feiskyer/kuberuntime-filter
Automatic merge from submit-queue

Kubelet: remove name filter from CRI

Since #30753 and #30463, `name` is not used to identify the container/sandbox, so remove it from CRI.

cc @yujuhong @kubernetes/sig-node @kubernetes/sig-rktnetes
2016-09-13 16:42:13 -07:00
Kubernetes Submit Queue c4893df894 Merge pull request #32151 from bboreham/fix-cni-on-gci
Automatic merge from submit-queue

Add flag to set CNI bin dir, and use it on gci nodes

**What this PR does / why we need it**:

When using `kube-up` on GCE, following #31023 which moved the workers from debian to gci, CNI just isn't working.  The root cause is basically as discussed in #28563: one flag (`--network-plugin-dir`) means two different things, and the `configure-helper` script uses it for the wrong purpose.

This PR adds a new flag `--cni-bin-dir`, then uses it to configure CNI as desired.

As discussed at #28563, I have also added a flag `--cni-conf-dir` so users can be explicit 

**Which issue this PR fixes** : fixes #28563

**Special notes for your reviewer**:

I left the old flag largely alone for backwards-compatibility, with the exception that I stop setting the default when CNI is in use.  The value of `"/usr/libexec/kubernetes/kubelet-plugins/net/exec/"` is unlikely to be what is wanted there.

**Release note**:
```release-note
Added new kubelet flags `--cni-bin-dir` and `--cni-conf-dir` to specify where CNI files are located.
Fixed CNI configuration on GCI platform when using CNI.
```
2016-09-13 16:42:06 -07:00
Kubernetes Submit Queue 91aa443d2b Merge pull request #32423 from mml/buildcop
Automatic merge from submit-queue

clarify weekend responsibilities
2016-09-13 15:59:17 -07:00
Kubernetes Submit Queue a7e736e2cf Merge pull request #32609 from yifan-gu/fix_example_pod
Automatic merge from submit-queue

examples/pod: Revert the previous changes.

The previous changes (https://github.com/kubernetes/kubernetes/pull/32148) checked in the example file by accident. Reverting.
2016-09-13 15:59:13 -07:00
Kubernetes Submit Queue 51c4170c69 Merge pull request #32588 from maisem/upgrade_images
Automatic merge from submit-queue

Adding support for upgrading testing across image types.

Adds support for upgrade testing across image types.

@spxtr @vishh @ixdy @pwittrock

This change only affects upgrade testing. This does not touch production code and hence should be safe for cherrypicks into the 1.4 release branch.
2016-09-13 15:59:08 -07:00
Matt Liggett 138647e329 Refactor disruption e2e test and add some eviction test cases. 2016-09-13 15:31:49 -07:00
Kubernetes Submit Queue 4d0d9fa8f3 Merge pull request #32545 from nikhiljindal/fixFedSecTest
Automatic merge from submit-queue

Fixing federation secret and replicaset e2e tests

Verified that both of these pass once https://github.com/kubernetes/kubernetes/pull/32438 is merged.

cc @kubernetes/sig-cluster-federation 

Ref https://github.com/kubernetes/kubernetes/pull/31655#discussion_r78432043
2016-09-13 15:17:15 -07:00
Yifan Gu 077c271dc7 examples/pod: Revert the previous changes.
The previous changes (#32148) checked in the example file by accident. Reverting.
2016-09-13 15:09:25 -07:00
Tim St. Clair 5f8e4ee1e0
Update cAdvisor Godeps with new google cloud import path 2016-09-13 14:57:29 -07:00
Bryan Boreham 8a69683178 Regenerate codecgen files 2016-09-13 21:42:53 +00:00
Kubernetes Submit Queue 804de8a149 Merge pull request #32244 from tksm/fix-cache-race
Automatic merge from submit-queue

LRUExpireCache#Get requires write lock

**What this PR does / why we need it**:

[LRUExpireCache#Get](dbfad789e3/pkg/util/cache/lruexpirecache.go (L48)) requires write lock since [groupcache/lru#Get](a6b377e340/lru/lru.go (L74)) needs to manipulate its list to track recently used item. Currently it uses read lock so it may introduce race condition.

- [test code which introduces race condition with current LRUExpireCache#Get](https://gist.github.com/tksm/17c7a610ed0574c165e6f6edeca351b7#file-lru_race_test-go)

**Which issue this PR fixes** #31081
2016-09-13 14:36:26 -07:00
Zhou Fang b47e22d013 endable DynamicKubeletConfig in benchmark test properties 2016-09-13 13:59:19 -07:00
Kubernetes Submit Queue f052de66ca Merge pull request #32585 from yujuhong/test_again
Automatic merge from submit-queue

dockershim: add unit tests for sandbox/container status

Also add a fake clock in the FakeDockerClient to allow testing container
CreatedAt, StartedAt, FinishedAt timestamps.
2016-09-13 13:55:07 -07:00
Kubernetes Submit Queue ad3b9813b0 Merge pull request #32587 from mbohlool/changelog_fix
Automatic merge from submit-queue

Update release notes of OpenAPI support

OpenAPI support is enabled by default in 1.4 (no documentation or automation system depends on it yet), this PR reflect the fact that it is enabled by default in release notes.
2016-09-13 13:55:02 -07:00
Maisem Ali 19ca81cd36 Adding support for upgrading testing across image types. 2016-09-13 13:46:20 -07:00
Bryan Boreham db5fa5297d Fix unit tests and known flags list 2016-09-13 20:42:52 +00:00
Saad Ali 1125eb3484 Merge pull request #32591 from spxtr/revertbroken
Revert "Allow webhook authenticator to use TokenReviewsInterface"
2016-09-13 12:53:50 -07:00
nikhiljindal d19cfc0dcc Fixing federation secret and replicaset e2e tests 2016-09-13 12:20:46 -07:00
Jeff Lowdermilk e85f8d700c make --runtime-config=api/all=true|false work
Currently, only api/all=false does something (disables
all groups that have resources). Make api/all=false disable all groups
(not just those with resources), and make api/all=true enable
all groups
2016-09-13 12:03:25 -07:00