Commit Graph

36838 Commits (21188cadeb210887a61adff29aa53d732f02121f)

Author SHA1 Message Date
Michail Kargakis 7e972f4cbd kubectl: add watch flag in rollout status 2016-10-05 16:33:06 +02:00
Dr. Stefan Schimanski 68cee1d9ac Make genericapiserver handler chain customizable 2016-10-05 10:32:36 -04:00
Dr. Stefan Schimanski 7cfd0150e4 Turn RequestInfoResolver into a RequestInfoFactory 2016-10-05 10:32:36 -04:00
Kubernetes Submit Queue a7f6557f1d Merge pull request #34074 from asalkeld/annotate-local-option
Automatic merge from submit-queue

Add local option to annotate

**What this PR does / why we need it**:
Add the --local option to be both consistent with other commands and so it can be used with "set selector" and "create service".

**Which issue this PR fixes** 
Related: #7296

**Special notes for your reviewer**:
None

**Release note**:
```release-note
Add a new option "--local" to the `kubectl annotate`
```
2016-10-05 07:09:05 -07:00
Maciej Szulik 9cc2a0454d Add asgroups to audit log 2016-10-05 15:40:11 +02:00
Kubernetes Submit Queue 776af8e7f6 Merge pull request #33990 from asalkeld/local-option-label
Automatic merge from submit-queue

Add local option to the label command

**What this PR does / why we need it**:
Add the --local option to be both consistent with other commands and so it can be used with  "set selector" and "create service".

**Which issue this PR fixes** 
Related: #7296

**Special notes for your reviewer**:
None

**Release note**:
```release-note
Add a new option "--local" to the `kubectl label`
```
2016-10-05 06:32:13 -07:00
Kubernetes Submit Queue 350fafe011 Merge pull request #34023 from mwielgus/fed-deployment
Automatic merge from submit-queue

Add deployment to federation clientset

Only hack/update-codegen.sh was updated manually.

cc: @quinton-hoole @nikhiljindal @kubernetes/sig-cluster-federation
2016-10-05 05:55:21 -07:00
Kubernetes Submit Queue f932e8d2c1 Merge pull request #34089 from wojtek-t/with_serializable
Automatic merge from submit-queue

Make gets for previous value in watch serializable

Ref #33653
2016-10-05 05:55:14 -07:00
Wojciech Tyczynski ce1925b829 Don't set timeouts in clients in tests 2016-10-05 14:33:26 +02:00
Wojciech Tyczynski c215bd0eac Fix call to Index call in listers 2016-10-05 14:23:31 +02:00
Kubernetes Submit Queue 7856e46f1b Merge pull request #33967 from xiang90/fix_33772
Automatic merge from submit-queue

scheduler: initialize podsWithAffinity

Without initializing podsWithAffinity, scheduler panics when deleting
a pod from a node that has no pods with affinity ever scheduled to.

Fix #33772
2016-10-05 05:17:51 -07:00
deads2k 28358e4775 fix pod eviction storage 2016-10-05 07:55:49 -04:00
Marcin 34753b6950 Add deployment to federation clientset 2016-10-05 13:43:59 +02:00
Kubernetes Submit Queue 0ad50d2033 Merge pull request #33952 from deads2k/annoyance-specific-integration-test
Automatic merge from submit-queue

specify flags to test-integration

Allows a specific test to be run in test-integration:  ` hack/test-integration.sh auth -test.run=TestKindAuthorization`

@eparis I don't know how good or bad my bash is.
2016-10-05 04:41:01 -07:00
Wojciech Tyczynski 82c360a252 Make gets for previous value in watch serializable 2016-10-05 13:18:31 +02:00
Xiang Li dc62007478 scheduler: cache.delete deletes the pod from node specified in the cached state 2016-10-05 03:33:53 -07:00
Kubernetes Submit Queue 0331b27f45 Merge pull request #34053 from bprashanth/trim_string
Automatic merge from submit-queue

Check for empty string post trimming

We curl in a retry loop and timeout,  trimming stdout to find endpoint names. When curl hits the timeout, stdout is empty, so we insert the empty string into the received set of endpoints. 

Fixes https://github.com/kubernetes/kubernetes/issues/32684
2016-10-05 02:32:41 -07:00
Kubernetes Submit Queue 33103e576e Merge pull request #33639 from guangxuli/k8s_test_helper
Automatic merge from submit-queue

if test succ remove the tmp file
2016-10-05 01:56:18 -07:00
Kubernetes Submit Queue cccd3b3234 Merge pull request #33147 from vishh/fix-upgrade-sh
Automatic merge from submit-queue

Fix base image pinning during upgrades via cluster/gce/upgrade.sh

Fixes #33056

cc @timstclair @maisem
2016-10-05 01:19:56 -07:00
Wojciech Tyczynski 2bfcb1a850 Set deserialization cache size based on target memory usage 2016-10-05 10:00:02 +02:00
Kubernetes Submit Queue 0ae65b2ff6 Merge pull request #34026 from timstclair/summary-test
Automatic merge from submit-queue

Tweak summary test memory expectations

To handle recent flakes of the summary test (https://k8s-testgrid.appspot.com/google-node#kubelet-flaky-gce-e2e)
2016-10-05 00:43:37 -07:00
Kubernetes Submit Queue e1d3caeee6 Merge pull request #34018 from kargakis/update-update-all
Automatic merge from submit-queue

hack: run openapi-spec as part of update-all.sh

@gmarek ptal
2016-10-05 00:07:18 -07:00
Kubernetes Submit Queue 6b82792880 Merge pull request #34030 from MrHohn/e2e_service_fix
Automatic merge from submit-queue

Improve source ip preservation test, fail the test instead of panic.

From #31085.

The source IP preserve test starts to be flake again. Sending out this PR to get rid of panicing and log the unexpected output for future investigation.

@freehan
2016-10-05 00:07:11 -07:00
Kubernetes Submit Queue 0b04890605 Merge pull request #33282 from guangxuli/k8s_0922_03
Automatic merge from submit-queue

remove the tmp file
2016-10-04 23:30:17 -07:00
Kubernetes Submit Queue cd918a9f39 Merge pull request #33948 from deads2k/api-22-fix-loopback
Automatic merge from submit-queue

fix loopback client config for integration tests

Wires an authenticator/authorizer pair much closer to what the actual master start does.  Several pulls I have in progress require this.

@liggitt second commit wiring changes.
2016-10-04 22:53:28 -07:00
Angus Salkeld 5cb945d672 Add local option to the label command
This is to be used with the new "set selector" command.
2016-10-05 15:45:43 +10:00
Kubernetes Submit Queue 092b2cc081 Merge pull request #31994 from caesarxuchao/client-gen-versioned-options
Automatic merge from submit-queue

[Client-gen] Let versioned client use versioned options

i.e., use v1.ListOptions, v1.DeleteOptions when possible.

Remove the extension/v1beta1.ListOptions, because it's exactly the same as v1.ListOptions, and is not referred throughout the code base. After its removal, I register v1.ListOptions during extensions/v1beta1 scheme registration.

First three commits are manual changes.

Fix #27753

cc @lavalamp
2016-10-04 22:16:40 -07:00
Chao Xu 04ac4a4020 discovery client retry serverPreferredResources() in case groups changed in the middle 2016-10-04 21:49:53 -07:00
Angus Salkeld b86b85dea9 Add local option to annotate 2016-10-05 14:39:56 +10:00
Kubernetes Submit Queue 457d3785de Merge pull request #33862 from luxas/remove_experimental_flannel
Automatic merge from submit-queue

Remove the flannel experimental overlay

<!--  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**:

It removes the deprecated flannel overlay integration in kubelet.
It's completely unnecessary now with CNI which can handle everything smoothly when flannel is running in a daemonset.

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

cc @kubernetes/sig-network @thockin @freehan @bprashanth @yujuhong @dchen1107
2016-10-04 21:39:20 -07:00
Kubernetes Submit Queue a9003a36ba Merge pull request #33976 from jingxu97/head-10-3
Automatic merge from submit-queue

Add a check for file size if the reading content returns empty

In order to debug the flaky tests for writing/reading files via
contains, this PR adds a check for file size if reading returns empty
content.
2016-10-04 21:03:00 -07:00
Chao Xu a3861b9cb9 generated 2016-10-04 20:39:29 -07:00
Chao Xu 75cc05de82 manual changes to let client-gen use versioned options 2016-10-04 20:39:29 -07:00
Kubernetes Submit Queue 11ba1aa5f3 Merge pull request #33854 from Random-Liu/fix-kubelet-perf-data
Automatic merge from submit-queue

Fix kubelet perf data to make it work again for perfdash.

Addresses https://github.com/kubernetes/kubernetes/pull/30333#issuecomment-248791257.

Add the "node" label back to fix kubelet perf dash. At least for now, we still need original perfdash to catch summary api performance regression.

/cc @coufon @yujuhong
2016-10-04 20:25:41 -07:00
Kubernetes Submit Queue a6f37d557c Merge pull request #33852 from deads2k/fix-startup
Automatic merge from submit-queue

fix apiserver startup check

Startup detection logic was broken.  The integration tests weren't checking it because kube integration works differently that openshift integration. :(

@liggitt You at least knew this existed. ptal.
2016-10-04 19:47:51 -07:00
Kubernetes Submit Queue 49e9a90762 Merge pull request #33779 from timstclair/summary-test-matchers
Automatic merge from submit-queue

Add the original summary test back
2016-10-04 19:07:59 -07:00
Kubernetes Submit Queue 5d271dc486 Merge pull request #33006 from bprashanth/netexec
Automatic merge from submit-queue

Cleanup netexec image and usage.

Get tests onto 1.7 and fix a bug in netexec's http handler
2016-10-04 18:27:36 -07:00
Kubernetes Submit Queue f1041e75cf Merge pull request #33728 from mikedanese/cfg-kubeadm
Automatic merge from submit-queue

kubeadm: refactor config

1) break object into substructures
2) seperate a config object for master and node
3) centralize defaulting and validation

Hacked til it compiled. Have not done 3 yet.

Step one of #33715
2016-10-04 17:48:14 -07:00
Kubernetes Submit Queue 3f4a66f3d6 Merge pull request #33970 from yifan-gu/remove_names
Automatic merge from submit-queue

CRI: Remove the mount name and port name.

Per discussion on https://github.com/kubernetes/kubernetes/issues/33873.

Currently the mount name is not being used and also involves some
incorrect usage (sometimes it's referencing a mount name, sometimes
it's referecing a volume name), so we decide to remove it from CRI.

The port name is also not used, so remove it as well.

Fix #33873
Fix #33526 

/cc @kubernetes/sig-node @kubernetes/sig-rktnetes
2016-10-04 17:08:20 -07:00
Kubernetes Submit Queue e63cf8bf4f Merge pull request #31357 from jeffvance/ex-wordpress-mysql
Automatic merge from submit-queue

Document selinux considerations in wordpress-mysql example

Fixes #31269.
Even though host path is unsuitable for production environments, it is an option in the wordpress-mysql example. When I followed this example on a RHEL 7.2 system I had issues with selinux.
2016-10-04 16:30:59 -07:00
Paul Morie 4a5781e4c8 Proposal: SELinux enhancements 2016-10-04 19:04:51 -04:00
Kubernetes Submit Queue 31f415a7be Merge pull request #34049 from jessfraz/update-cherry-pick-script-to-include-suject
Automatic merge from submit-queue

hack: Update cherry-pick script to include original PR subject

<!--  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**:
Updates the cherrypick script to include the original PR subject.

We need it because I know nothing about the original PR based off a number and this is more expressive.

**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**:

**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
```
2016-10-04 14:53:35 -07:00
Kubernetes Submit Queue 5a0824ecd6 Merge pull request #34050 from zmerlynn/add-kops-kube-version
Automatic merge from submit-queue

e2e.go / kops: Add --kops-kube-version

**What this PR does / why we need it**: This adds a flag to override the version we're deploying with kops for e2es. (The kops experience is disconnected from the actual source tree we're running tests from, which is similar to GKE.)
2016-10-04 14:53:28 -07:00
Kubernetes Submit Queue ac535e2937 Merge pull request #33794 from nikhiljindal/describeRS
Automatic merge from submit-queue

Enable kubectl describe rs to work when apiserver does not support pods

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

Similar to https://github.com/kubernetes/kubernetes/pull/32823

Small fix for easy cherrypicking in 1.4.1.
Eventually we want to fix all describers: https://github.com/kubernetes/kubernetes/issues/32883

cc @kubernetes/sig-cluster-federation
2016-10-04 14:53:21 -07:00
bprashanth 99957d2ae1 Add netexec 1.7 to whitelists 2016-10-04 14:47:33 -07:00
bprashanth 1d7cdffebc Cleanup netexec image and usage. 2016-10-04 14:22:41 -07:00
Kubernetes Submit Queue 9d270ad5ed Merge pull request #33870 from Random-Liu/summary-api-cri
Automatic merge from submit-queue

CRI: Implement temporary ImageStats in kuberuntime_manager

For #33048 and #33189.

This PR:
1) Implement a temporary `ImageStats` in kuberuntime_manager.go
2) Add container name label on infra container to make the current summary api logic work with dockershim.

I run the summary api test locally and it passed for me. Notice that the original summary api test is not showing up on CRI testgrid because it was removed yesterday. It will be added back in https://github.com/kubernetes/kubernetes/pull/33779.

@yujuhong @feiskyer
2016-10-04 14:15:55 -07:00
bprashanth fd9b152f28 Check for empty string post trimming 2016-10-04 14:11:59 -07:00
Zach Loafman ca58119af7 e2e.go / kops: Add --kops-kubernetes-version
This adds a flag to override the version we're deploying with kops for
e2es. (The kops experience is disconnected from the actual source tree
we're running tests from, which is similar to GKE.)
2016-10-04 14:01:31 -07:00
Jess Frazelle ba6328d5c1
hack: Update cherry-pick script to include original PR subject
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-10-04 13:45:22 -07:00