Commit Graph

36869 Commits

Author SHA1 Message Date
Kubernetes Submit Queue
87393e1da9 Merge pull request #34106 from kargakis/rollout-status-watch-flag
Automatic merge from submit-queue

kubectl: add watch flag in rollout status

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

@kubernetes/kubectl
2016-10-05 13:09:01 -07:00
Kubernetes Submit Queue
debac32d51 Merge pull request #33972 from bowei/flake-issue-27023
Automatic merge from submit-queue

Add a retry loop to KubeletManagerEtcHosts flake

Add a retry loop to KubeletManagerEtcHosts flake
    
    Note: this still makes the test fail if a retry occurs, but
    will give us more information regarding whether or not the
    test flake could be occuring due to delay in mounting of
    /etc/hosts.
2016-10-05 12:27:28 -07:00
deads2k
c30b2efc46 update replicaset lister 2016-10-05 15:20:27 -04:00
Random-Liu
b7b95ccb19 Add serial and benchmark test suite. 2016-10-05 12:03:32 -07:00
Kubernetes Submit Queue
d4088fc47b Merge pull request #34020 from juanvallejo/jvallejo/allow-empty-annotation-values
Automatic merge from submit-queue

Allow empty annotation values

Related downstream issue: https://github.com/openshift/origin/issues/11175

**Release note**:
```release-note
release-note-none
```

Annotations with empty values can be used, for example, in diagnostics
logging. This patch removes the client-side check for empty values in
an annotation key-value pair.

**Before**
```
$ kubectl annotate pod zookeeper-1 node-selector="" --overwrite
error: invalid annotation format: node-selector=
```

**After**
```
$ kubectl annotate pod zookeeper-1 node-selector="" --overwrite
pod "zookeper-1" annotated
```

```
$ kubectl get po/zookeeper-1 --template='{{.metadata.annotations}}'
map[... node-selector: test-label:test]
```

@fabianofranz @liggitt
2016-10-05 11:48:02 -07:00
Kubernetes Submit Queue
da44775a2c Merge pull request #34107 from MrHohn/e2e_sourceip_fix
Automatic merge from submit-queue

Fix #31085, include output checking in retry loop

Fix #31085.

`wget -qO-` might omit the error and `RunHostCmd()` won't be able to catch it sometimes. Verify stdout is not empty within the retry loop to fix. Test passed 1500+ times in a row.

@freehan
2016-10-05 11:02:35 -07:00
Minhan Xia
1a9bafd679 fix bug in DialFromNode where it fail the test when encountered a command execution failure 2016-10-05 11:00:57 -07:00
Marcin
64d5335f98 Daemonset in federated clientset 2016-10-05 19:58:49 +02:00
Minhan Xia
df92825c33 Revert "Revert "move pod networking tests common"" 2016-10-05 10:53:22 -07:00
derekwaynecarr
0071cca51e Add generated code for kubelet flags 2016-10-05 13:48:37 -04:00
derekwaynecarr
36eb79b42b Add cgroup driver and cgroups-per-qos flags to kubelet 2016-10-05 13:48:37 -04:00
deads2k
358a57d74a update deployment lister 2016-10-05 13:27:35 -04:00
Bowei Du
d61d3e48ee Add a retry loop to KubeletManagerEtcHosts flake
Note: this still makes the test fail if a retry occurs, but
will give us more information regarding whether or not the
test flake could be occuring due to delay in mounting of
/etc/hosts.
2016-10-05 10:24:21 -07:00
juanvallejo
a872657371
Allow empty annotation values
Annotations with empty values can be used, for example, in diagnostics
logging. This patch removes the client-side check for empty values in
an annotation key-value pair.

**Before**
```
$ kubectl annotate pod zookeeper-1 node-selector="" --overwrite
error: invalid annotation format: node-selector=
```

**After**
```
$ kubectl annotate pod zookeeper-1 node-selector="" --overwrite
pod "zookeper-1" annotated
```

```
$ kubectl get po/zookeeper-1 --template='{{.metadata.annotations}}'
map[... node-selector: test-label:test]
```
2016-10-05 13:17:08 -04:00
deads2k
8ea2acc6a3 use service accounts as clients for controllers 2016-10-05 13:15:16 -04:00
deads2k
c2ed560991 fix watch.until and added listwatch 2016-10-05 13:15:16 -04:00
Kubernetes Submit Queue
617fa91264 Merge pull request #34098 from deads2k/sttts-handlerchain
Automatic merge from submit-queue

Customizable genericapiserver handler chain

Rebase of https://github.com/kubernetes/kubernetes/pull/33662.  This is @sttts, but I rebased it for him since he's out this week.
2016-10-05 09:45:57 -07:00
Dan Williams
e2c96db72b kubenet: make it more apparent that kubenet ignores PodCIDR updates
https://github.com/kubernetes/kubernetes/issues/32900
2016-10-05 11:24:02 -05:00
MrHohn
c61911eedd Fix #31085, include output checking in retry loop 2016-10-05 09:13:19 -07:00
Kubernetes Submit Queue
5caf7199ee Merge pull request #33934 from soltysh/audit_groups
Automatic merge from submit-queue

Add asgroups to audit log

@deads2k || @sttts while reworking origing to use upstream I've noticed we're missing this, ptal
2016-10-05 09:08:23 -07:00
Kubernetes Submit Queue
a6b9e53da5 Merge pull request #34103 from gmarek/long_integration_tests
Automatic merge from submit-queue

Allow setting short value in integration tests

@deads2k
2016-10-05 08:30:01 -07:00
Kubernetes Submit Queue
0798f02391 Merge pull request #33942 from kargakis/sttts-kubectl-run-watch-until
Automatic merge from submit-queue

Switch kubectl to use watch.Until

Squashed version of https://github.com/kubernetes/kubernetes/pull/30235 

@ncdc PTAL

cc: @kubernetes/kubectl
2016-10-05 08:29:54 -07:00
Kubernetes Submit Queue
740458255b Merge pull request #34093 from wojtek-t/fix_index_listing
Automatic merge from submit-queue

Fix call to Index call in listers

This will actually eliminated all logs like this:
```
can not retrieve list of objects using index : object has no meta: object does not implement the Object interfaces
```

And it should also speed up different things (as so far we we basically not using indexes at all.

@kubernetes/sig-api-machinery
2016-10-05 07:45:58 -07:00
gmarek
cb167270bf Allow setting short value in integration tests 2016-10-05 16:36:47 +02:00
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