Commit Graph

41853 Commits

Author SHA1 Message Date
deads2k
b26e9dce9f remove API to server library dependency 2017-01-10 13:38:30 -05:00
Kubernetes Submit Queue
3683e0a691 Merge pull request #39610 from deads2k/generic-17-move-tests
Automatic merge from submit-queue

move tests which need to stay in k8s.io/kubernetes for API scheme

Preparatory for https://github.com/kubernetes/kubernetes/pull/39475 to keep from having modify packages that will become read-only.  It's a straight move of tests which have API scheme dependencies, but lived in the API machinery package.
2017-01-10 10:38:01 -08:00
deads2k
c49639c53c add subresource to forbidden message 2017-01-10 12:56:41 -05:00
Kubernetes Submit Queue
958466f9eb Merge pull request #39663 from piosz/owners
Automatic merge from submit-queue

Added owners to monitoring and logging related directories
2017-01-10 09:53:55 -08:00
Kubernetes Submit Queue
7d7ba8bafe Merge pull request #39442 from deads2k/generic-08-client-go-01
Automatic merge from submit-queue

switch webhook to clientgo

Switches the delegating authentication and authorization webhooks to use client-go.  The ripples go out aways, but I kept it as contained as I could.

@sttts
2017-01-10 09:53:41 -08:00
deads2k
453651cbfc rename kubernetes-discovery to kube-aggregator 2017-01-10 12:27:42 -05:00
Seth Jennings
4c30459e49 switch from local qos types to api types 2017-01-10 10:54:30 -06:00
Jerzy Szczepkowski
c74e664d42 Fixed cluster validation in e2e tests for HA master.
Fixed cluster validation in e2e tests for HA master.
2017-01-10 17:11:37 +01:00
Eric Paris
6f320061f5 Merge pull request #39649 from mbohlool/bugfix
Disable TestValidOpenAPISpec when -race test flag exists
2017-01-10 11:11:06 -05:00
deads2k
facc34fea5 move tests which need to stay in k8s.io/kubernetes for API scheme 2017-01-10 10:04:32 -05:00
Eric Paris
e3e101fbe3 Merge pull request #39668 from ncdc/fix-godeps
Fix verify godeps again
2017-01-10 09:27:57 -05:00
Andy Goldstein
fdc43e8e32 Fix verify godeps again 2017-01-10 08:01:17 -05:00
Michail Kargakis
43159a48f3 Fix the overlapping e2e test for deployments
Fix the test to correctly expect the older deployment to be marked as
overlapping since that has the newest selector that overlaps.
2017-01-10 12:57:38 +01:00
Michail Kargakis
5dc96b5238 Fix and tests for SelectorUpdatedBefore 2017-01-10 12:57:38 +01:00
Piotr Szczesniak
da7b81c4d8 Added owners to monitoring and logging related directories 2017-01-10 12:14:10 +01:00
Rob Franken
59ef8a4739 update dashboard version to v1.5.1 2017-01-10 11:57:21 +01:00
Michail Kargakis
df7a655d30 controller: unit tests for overlapping and recreate deployments 2017-01-10 10:54:23 +01:00
shashidharatd
9423e78826 use etcd2 as storage-backend for federation until it is completely tested with etcd3 2017-01-10 15:14:40 +05:30
Brendan Burns
c050826fea Set MemorySwap to zero on Windows 2017-01-09 23:08:48 -08:00
mbohlool
4590477630 Disable TestValidOpenAPISpec when -race test flag exists 2017-01-09 21:24:38 -08:00
Jordan Liggitt
caca81b1b5
Add support for groups to passwordfile 2017-01-10 00:04:26 -05:00
Jordan Liggitt
c6550af702
Allow proxier to write events 2017-01-09 23:36:09 -05:00
Jordan Liggitt
6d3b06125e
Allow the persistent volume binder to watch events 2017-01-09 23:36:09 -05:00
Jordan Liggitt
c59c11eb0d
fix role for pod-garbage-collector 2017-01-09 23:36:09 -05:00
Jordan Liggitt
bda95a59ad
Allow node-controller to update node status 2017-01-09 23:36:09 -05:00
nikhiljindal
7bc22d7e65 Deleting federation-util-14.go that is not being used anywhere 2017-01-09 17:43:58 -08:00
nikhiljindal
e7f9f54acd autogenerated bazel changes 2017-01-09 17:08:53 -08:00
nikhiljindal
9efa7f4751 Adding e2e test 2017-01-09 17:08:53 -08:00
nikhiljindal
1b4a998bcb Updating federation service controller to support cascading deletion 2017-01-09 17:08:52 -08:00
chrislovecnm
ac49139c9f updates from review 2017-01-09 17:20:19 -07:00
chrislovecnm
a973c38c7d The capability to control duration via controller-manager flags,
and the option to shut off reconciliation.
2017-01-09 16:47:13 -07:00
David Ashpole
c3951a72ab use dynamic config to set eviction hard threshold 2017-01-09 15:27:12 -08:00
Mike Danese
c2b5007f1c build test binary with bazel 2017-01-09 14:39:15 -08:00
Mike Danese
bc52211304 add unit tests for the signer 2017-01-09 14:00:08 -08:00
Kubernetes Submit Queue
e827393fa2 Merge pull request #39598 from Crassirostris/fluentd-self-logs-fix
Automatic merge from submit-queue

Fix fluentd-gcp image config by avoiding processing its own logs

Section, discarding all records generated by fluentd itself from the pipeline was deleted by mistake in https://github.com/kubernetes/kubernetes/pull/37681. Returning it back and expanding the comment.

Not bumping image version for the later cumulative update.

CC @piosz
2017-01-09 13:58:51 -08:00
deads2k
1df5b658f2 switch webhook to clientgo 2017-01-09 16:53:24 -05:00
Jon Cope
f85ef3b83d Tag persistent volume GCE tests [Serial]
Added [Volume] tag per issue #35542; added [Flaky] to GCE tests until confirmed fixed.  Added [Serial] to NFS to address possible cross test contamination.
2017-01-09 15:31:50 -06:00
Mike Danese
19871dfb28 autogenerated 2017-01-09 13:24:28 -08:00
Mike Danese
fb099ae385 certificates: support allowed usage 2017-01-09 13:22:52 -08:00
Kubernetes Submit Queue
ee177dbbfe Merge pull request #38866 from xingzhou/kube-25579
Automatic merge from submit-queue (batch tested with PRs 37845, 39439, 39514, 39457, 38866)

Add software versions to "kubectl get nodes -o wide" output.

Added "OS-IMAGE" and "KERNEL-VERSION" two columns to
"kubectl get nodes -o wide" output. This will help to provide
more information for user to locate or debug issues. See discussion
in ticket #25579
2017-01-09 13:15:21 -08:00
Kubernetes Submit Queue
3c56041384 Merge pull request #39457 from zhouhaibing089/gcc
Automatic merge from submit-queue (batch tested with PRs 37845, 39439, 39514, 39457, 38866)

Log a warning message when failed to find kind for resource in garbage collector controller

at this time, I do not think thirdparty api group version resources should be taken care by garbage collector controllers, and this line of call will fail actually: https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/garbagecollector/garbagecollector.go#L565, and as a result, the garbagecollector controller failed to start.
2017-01-09 13:15:19 -08:00
Kubernetes Submit Queue
536c041fc3 Merge pull request #39514 from NickrenREN/controller-redundant-drop
Automatic merge from submit-queue (batch tested with PRs 37845, 39439, 39514, 39457, 38866)

fix redundant alias and remove unused function
2017-01-09 13:15:18 -08:00
Kubernetes Submit Queue
73727e3791 Merge pull request #39439 from smarterclayton/version_watch
Automatic merge from submit-queue (batch tested with PRs 37845, 39439, 39514, 39457, 38866)

Move watch/versioned to pkg/apis/meta/v1/watch.go

Watch is a part of the server API
2017-01-09 13:15:16 -08:00
Kubernetes Submit Queue
f9d95bcdaf Merge pull request #37845 from rootfs/azure-31978
Automatic merge from submit-queue

Azure disk volume fixes

fix #36571: Do not report error when deleting an attached volume
fix #38362: create blob vhds container if not exists
2017-01-09 12:48:00 -08:00
Alejandro Escobar
6a4f8b54f7 fixed error log that would cause two log lines to run into each other. This can be reproduced by running local-up-cluster.sh on osx.
found source of log issue and it was further upstream at the hyperkube level.

removed extra \n items i added to make things clearer.
2017-01-09 12:13:45 -08:00
Kubernetes Submit Queue
124b3a7943 Merge pull request #36243 from kargakis/validate-status-replicas-correctly
Automatic merge from submit-queue (batch tested with PRs 39394, 38270, 39473, 39516, 36243)

Update status validation for ds/deploy/rs/rc
2017-01-09 12:05:25 -08:00
Kubernetes Submit Queue
d726434330 Merge pull request #39516 from shyamjvs/fix-kubemark-e2e
Automatic merge from submit-queue (batch tested with PRs 39394, 38270, 39473, 39516, 36243)

Modified run-gcloud-compute-with-retries and used it wherever possible in kubemark

This PR fixes #39335 
Simple changes fixing flaky issues within kubemark.

@kubernetes/sig-scalability-misc @wojtek-t @gmarek
2017-01-09 12:05:23 -08:00
Kubernetes Submit Queue
59b1f4a12e Merge pull request #39473 from php-coder/improve_err_msg_about_privileged
Automatic merge from submit-queue (batch tested with PRs 39394, 38270, 39473, 39516, 36243)

Improve an error message when privileged containers are disallowed on the cluster

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

At present when user creates privileged pod and creation of privileged containers disallowed globally by a system administrator (kubelet and api-server were running with `--allow-privileged=false`), user will get the following error message:
```console
$ kubectl create -f nginx.pod 
The Pod "nginx" is invalid: spec.containers[0].securityContext.privileged: Forbidden: disallowed by policy
```
"Disallowed by policy" may give a wrong assumption to a user that creation of privileged containers disallowed by [`PodSecurityPolicy`](http://kubernetes.io/docs/user-guide/pod-security-policy/) while it's not.

This commit improves error message and tries to point user to the right direction:
```console
$ kubectl create -f nginx.pod 
The Pod "nginx" is invalid: spec.containers[0].securityContext.privileged: Forbidden: privileged containers are disallowed on this cluster by a system administrator
```

**Release note**:

```release-note
NONE
```

PTAL @pweil-
2017-01-09 12:05:21 -08:00
Kubernetes Submit Queue
125bf9c164 Merge pull request #38270 from resouer/fix-zone
Automatic merge from submit-queue (batch tested with PRs 39394, 38270, 39473, 39516, 36243)

Fix wrong skipf parameter

**How to reproduce**

When run e2e test, it reports `%!!(MISSING)d(MISSING)`:
```
STEP: Checking for multi-zone cluster.  Zone count = 1
Dec  6 14:16:43.272: INFO: Zone count is %!!(MISSING)d(MISSING), only run for multi-zone clusters, skipping test
[AfterEach] [k8s.io] Multi-AZ Clusters
```

We need to pass a string parameter to `SkipUnlessAtLeast`
2017-01-09 12:05:19 -08:00
Kubernetes Submit Queue
73d36ce587 Merge pull request #39394 from wlan0/master
Automatic merge from submit-queue (batch tested with PRs 39394, 38270, 39473, 39516, 36243)

make private method private

@thockin
2017-01-09 12:05:17 -08:00