Commit Graph

42762 Commits (a3f8ee6578115e4c64f256b6ea01cf0b65b94024)

Author SHA1 Message Date
Jordan Liggitt 83e06d9fd1
Revert "Add the ability to edit fields within a config map."
This reverts commit 31eca372c9.
2017-01-25 09:12:32 -05:00
Kubernetes Submit Queue 6873d2a5d2 Merge pull request #39081 from ChenLingPeng/no-schedule-deleting-pod
Automatic merge from submit-queue

Skip schedule deleting pod

Since binding a deleting pod will always return fail, we should skip that kind of pod early
2017-01-25 06:06:47 -08:00
Shyam JVS c8e07f8004 Merge pull request #40420 from shyamjvs/add-kubemark-owners
Added OWNERS to kubemark subdirectories
2017-01-25 14:44:05 +01:00
Shyam Jeedigunta b48de58311 Added OWNERS to kubemark subdirectories 2017-01-25 14:37:57 +01:00
Harry Zhang 70941f65bf Do not swallow error in volume 2017-01-25 21:29:48 +08:00
deads2k 502bfdf944 client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
deads2k 3eeecb0848 preserve client tests that can't move to client-go 2017-01-25 08:29:48 -05:00
deads2k b0b156b381 make tools/cache authoritative 2017-01-25 08:29:45 -05:00
deads2k 437873cd62 update client-go 2017-01-25 08:28:28 -05:00
deads2k c2ae6d5b40 remove api to util dependency hiding types 2017-01-25 08:28:28 -05:00
Shyam Jeedigunta cad541eb0c fixing source for heapster eventer in kubemark 2017-01-25 14:16:06 +01:00
Kubernetes Submit Queue 82a5cab1ce Merge pull request #39419 from nebril/no-more-panics-in-apiserver-logs
Automatic merge from submit-queue

Get rid of panics.go in apiserver logs

Displaying the place in which the "real" handler is was discarded as too
big change - it would cause all HTTP handlers need to handle request
logging on their own.

fixes #37706
2017-01-25 03:09:08 -08:00
Michail Kargakis e7a2b3e43a kubectl: update deployment describer to correctly show total replicas 2017-01-25 11:30:11 +01:00
Kubernetes Submit Queue 373e7ef0c0 Merge pull request #40294 from tsmetana/persistent-volume-test-refactor
Automatic merge from submit-queue (batch tested with PRs 39064, 40294)

Refactor persistent volume tests

This is an attempt to make the binder tests a bit more concise. The PVCs are being created by a "templating" function. There is also a handful of PVs in the tests but those vary quite more and I don't think similar approach would save us much code.

Reference:
https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29006#-KPJuVeDE0O6TvDP9jia

@jsafrane: I hope this is what you have on mind.
2017-01-25 02:05:57 -08:00
Kubernetes Submit Queue 8ba2c7a984 Merge pull request #39064 from xingzhou/update-links
Automatic merge from submit-queue

Updated the document links in examples/guestbook README.

As all the Kubernetes doc has been moved to kubernetes.github.io,
update all the links in examples/guestbook README to directly
point at kubernetes.io, especially for the ones with inside page
anchors.
2017-01-25 01:28:49 -08:00
Maciej Kwiek 978d4f73e9 Get rid of panics.go in apiserver logs
Displaying the place in which the "real" handler is was discarded as too
big change - it would cause all HTTP handlers need to handle request
logging on their own.
2017-01-25 09:53:32 +01:00
Kubernetes Submit Queue d62fca231e Merge pull request #40142 from colemickens/colemickens-acr-login-server
Automatic merge from submit-queue (batch tested with PRs 37055, 40142)

azure: azure container registry: fix login server

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

Fixes the Azure Container Registry integration

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

**Special notes for your reviewer**:

Before this change, if I created an ACR with name `colemicktest`, then the login server would be `colemicktest-microsoft.azurecr.io`. This code was concating to form `colemicktest.azurecr.io` which does not work.

The fix is to reach into RegistryProperties and read out the login server domain name directly.

Also, this should eliminate that existed when ACR gets to sovereign clouds.

**Release note**:

```release-note
azure: fix Azure Container Registry integration
```
2017-01-25 00:40:02 -08:00
Kubernetes Submit Queue 5b391ae2e1 Merge pull request #37055 from mbohlool/dev
Automatic merge from submit-queue

Add version to OpenAPI spec

OpenAPI is missing a version string. It should follow kubernetes version. It is a bugfix that need to be cherrypicked in 1.5 too.
2017-01-25 00:07:40 -08:00
foxyriver 7345b94387 Object r repeat close 2017-01-25 15:49:31 +08:00
Xing Zhou 793c58b56c Updated the document links in examples/guestbook README.
As all the Kubernetes doc has been moved to kubernetes.github.io,
update all the links in examples/guestbook README to directly
point at kubernetes.io, especially for the ones with inside page
anchors.
2017-01-25 15:22:40 +08:00
Kubernetes Submit Queue 5ab741deed Merge pull request #40394 from david-mcmahon/fixtoc
Automatic merge from submit-queue

Fix TOC.

```
cd /path/to/kubernetes/release
source $(dirname $(readlink -ne $BASH_SOURCE))/lib/common.sh
common::mdtoc ../kubernetes/CHANGELOG.md
```

cc @ixdy
2017-01-24 20:47:03 -08:00
Kubernetes Submit Queue d5d9a594d8 Merge pull request #39515 from xilabao/fix-rsync-err
Automatic merge from submit-queue

fix rsync err when make release

fix #39513
2017-01-24 19:46:29 -08:00
Jeff Vance 2478d9d29f test host cleanup in kubelet 2017-01-24 18:24:13 -08:00
Kubernetes Submit Queue f42440cc25 Merge pull request #39523 from xiangfeiz/fixVsphereVolumeExample
Automatic merge from submit-queue (batch tested with PRs 40215, 40340, 39523)

Use the same name in volumeMounts and volumes

In some example files of vSphere volumes, volumeMounts and volumes
have different names. kubectl create will fail with error message
saying the pod is invalid because volumeMount with the name is not
found.



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

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

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-01-24 18:24:01 -08:00
Kubernetes Submit Queue f9b3e73954 Merge pull request #40340 from smarterclayton/12605
Automatic merge from submit-queue (batch tested with PRs 40215, 40340, 39523)

Retry resource quota lookup until count stabilizes

On contended servers the service account controller can slow down,
leading to the count changing during a run. Wait up to 5s for the count
to stabilize, assuming that updates come at a consistent rate, and are
not held indefinitely.

Upstream of openshift/origin#12605 (we create more secrets and flake more often)
2017-01-24 18:23:59 -08:00
Kubernetes Submit Queue 243dd9e426 Merge pull request #40215 from shashidharatd/federation-e2e
Automatic merge from submit-queue

Fix federation component logging when e2e test case fails

When a federation e2e test case fails, federation component logs (esp. controller-manager) were very useful in debugging the failure cause. Due to recent updates in framework, the logs were not captured. This PR will fix those issues.

cc @kubernetes/sig-federation-misc @nikhiljindal @madhusudancs
2017-01-24 18:18:35 -08:00
Michael Mrowetz 5bdae77e0c add default for OS_USER_DOMAIN_NAME 2017-01-25 10:46:47 +09:00
Michael Mrowetz 87ee6b34ce pass openstack-heat OS_USER_DOMAIN_NAME config to domain-name in openstack.conf 2017-01-25 10:39:49 +09:00
Kubernetes Submit Queue 84e98251ed Merge pull request #40315 from madhusudancs/fed-log-uniq-cluster-names
Automatic merge from submit-queue (batch tested with PRs 40335, 40320, 40324, 39103, 40315)

Use the e2e zone name as the cluster name.

This needs a revamp, but for now e2e zone name is used as the
unique cluster identifier in our e2e tests and we will continue
to use that pattern.

This is a follow up to PR #38638.

cc @kubernetes/sig-federation-pr-reviews @nikhiljindal
2017-01-24 17:30:10 -08:00
Kubernetes Submit Queue e6ed110705 Merge pull request #39103 from a-robinson/v1.5
Automatic merge from submit-queue (batch tested with PRs 40335, 40320, 40324, 39103, 40315)

Add pod anti-affinity and a disruption budget to cockroachdb example

Pulling in some useful 1.5 features.
2017-01-24 17:30:08 -08:00
Kubernetes Submit Queue e3ba25714f Merge pull request #40324 from chuckbutler/upstream-rebase-forreal
Automatic merge from submit-queue (batch tested with PRs 40335, 40320, 40324, 39103, 40315)

Splitting master/node services into separate charm layers

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

This branch includes a roll-up series of commits from a fork of the
Kubernetes repository pre 1.5 release because we didn't make the code freeze.
This additional effort has been fully tested and has results submit into
the gubernator to enhance confidence in this code quality vs. the single
layer, posing as both master/node.

To reference the gubernator results, please see:
https://k8s-gubernator.appspot.com/builds/canonical-kubernetes-tests/logs/kubernetes-gce-e2e-node/

Apologies in advance for the large commit however, we did not want to
submit without having successful upstream automated testing results.

This commit includes:

 - Support for CNI networking plugins
 - Support for durable storage provided by Ceph
 - Building from upstream templates (read: kubedns - no more template
 drift!)
 - An e2e charm-layer to make running validation tests much simpler/repeatable
 - Changes to support the 1.5.x series of Kubernetes



**Special notes for your reviewer**:

Additional note: We will be targeting -all- future work against upstream
so large pull requests of this magnitude will not occur again.

**Release note**:




```release-note
- Splits Juju Charm layers into master/worker roles
- Adds support for 1.5.x series of Kubernetes
- Introduces a tactic for keeping templates in sync with upstream eliminating template drift
- Adds CNI support to the Juju Charms
- Adds durable storage support to the Juju Charms
- Introduces an e2e Charm layer for repeatable testing efforts and validation of clusters

```
2017-01-24 17:30:06 -08:00
Kubernetes Submit Queue 623b4ef618 Merge pull request #40320 from jeffvance/e2e-vol-hardening
Automatic merge from submit-queue (batch tested with PRs 40335, 40320, 40324, 39103, 40315)

add some resillency to the new volume-server func

**What this PR does / why we need it**: server-pod `Create` won't fail the test if the server pod already exists.

**Special notes for your reviewer**: Formerly this pr was part of #38214
2017-01-24 17:30:04 -08:00
Kubernetes Submit Queue 2e4939a688 Merge pull request #40335 from zmerlynn/b.gcr.io
Automatic merge from submit-queue

Move b.gcr.io/k8s_authenticated_test to gcr.io/k8s-authenticated-test

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

Per https://cloud.google.com/container-registry/docs/support/deprecation-notices, b.gcr.io access will be deprecated soon.

I've already mirrored the repo to the location specified in this PR.
2017-01-24 17:18:11 -08:00
Quinton Hoole 7db3f36fb9 Propose adding quinton-hoole to federation/OWNERS 2017-01-24 17:13:16 -08:00
David McMahon 79f6e27a41 Fix TOC. 2017-01-24 16:53:02 -08:00
Kubernetes Submit Queue e2c0bf3fca Merge pull request #40384 from zmerlynn/zmerlynn-owners
Automatic merge from submit-queue

pkg/cloudprovider/providers/aws: Add zmerlynn to OWNERS
2017-01-24 16:26:36 -08:00
Kubernetes Submit Queue 6262710480 Merge pull request #40333 from ixdy/bazel-release-tars-version-file
Automatic merge from submit-queue (batch tested with PRs 39260, 40216, 40213, 40325, 40333)

bazel: save git version in kubernetes.tar.gz

**What this PR does / why we need it**: adds a workspace status command for bazel (inspired by #36128) and then uses the saved values to generate the `version` file in `kubernetes.tar.gz`. We need this for `get-kube.sh` to work properly.

**Special notes for your reviewer**: I had to change a few things from #36128 - see comments for explanation.

**Release note**:

```release-note
NONE
```
2017-01-24 16:26:05 -08:00
Kubernetes Submit Queue 2229b1cf13 Merge pull request #40325 from krousey/upgrades
Automatic merge from submit-queue (batch tested with PRs 39260, 40216, 40213, 40325, 40333)

Adding framework to allow multiple upgrade tests

**What this PR does / why we need it**: This adds a framework for multiple tests to run during an upgrade. This also moves the existing services test to that framework.
2017-01-24 16:26:04 -08:00
Kubernetes Submit Queue 7fbb458f6d Merge pull request #40213 from jszczepkowski/ha-e2e-tests
Automatic merge from submit-queue (batch tested with PRs 39260, 40216, 40213, 40325, 40333)

Fixed propagation of kube master certs during master replication.

Fixed propagation of kube-master-certs during master replication.
2017-01-24 16:26:02 -08:00
Kubernetes Submit Queue df42444742 Merge pull request #40216 from sttts/sttts-more-cutoffs
Automatic merge from submit-queue (batch tested with PRs 39260, 40216, 40213, 40325, 40333)

genericapiserver: more dependency cutoffs

- cut-off pkg/api.Resource and friends - lgtm
- authn plugins -> k8s.io/apiserver - 
- webhook authz plugin -> k8s.io/apiserver - lgtm
- ~~pkg/cert -> k8s.io/apimachinery (will rebase on @deads2k's PR also moving it)~~
- split pkg/config into kubelet config merger and flags - lgtm
- split feature gate between generic apiserver and kube - lgtm
- move pkg/util/flag into k8s.io/apiserver - lgtm
2017-01-24 16:26:00 -08:00
Rene Saenz 1bf6c76928 Rename controller pkg/registry/core/controller to pkg/registry/core/replicationcontroller 2017-01-24 18:15:51 -06:00
Kubernetes Submit Queue ee94968f94 Merge pull request #39260 from tanshanshan/check-empty-set
Automatic merge from submit-queue

check if the set is empty , and delete the reduntant type convert.

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

check if the set is empty , and delete the reduntant type convert.

Thanks.

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-01-24 15:53:37 -08:00
Kubernetes Submit Queue 089d6e26db Merge pull request #40388 from madhusudancs/e2e-owners
Automatic merge from submit-queue

Add myself to test/OWNERS.
2017-01-24 15:05:19 -08:00
Kubernetes Submit Queue a4f33195a3 Merge pull request #38880 from justinsb/peninsula_club
Automatic merge from submit-queue

AWS: trust region if found from AWS metadata

```release-note
AWS: trust region if found from AWS metadata
```

Means we can run in newly announced regions without a code change.

We don't register the ECR provider in new regions, so we will still need
a code change for now.

Fix #35014
2017-01-24 15:05:01 -08:00
Clayton Coleman 8a303b9908
Retry resource quota lookup until count stabilizes
On contended servers the service account controller can slow down,
leading to the count changing during a run. Wait up to 5s for the count
to stabilize, assuming that updates come at a consistent rate, and are
not held indefinitely.
2017-01-24 17:52:50 -05:00
Kubernetes Submit Queue dd22743b54 Merge pull request #38952 from tanshanshan/fix-doc
Automatic merge from submit-queue

replace the file name with the file url

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

replace the file name with the file url 

Thanks.

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-01-24 14:11:55 -08:00
Kubernetes Submit Queue aacb222085 Merge pull request #40344 from smarterclayton/move_all_options
Automatic merge from submit-queue

Move remaining *Options to metav1

Primarily delete options, but will remove all internal references to non-metav1 options (except ListOptions).

Still working through it @sttts @deads2k
2017-01-24 14:11:38 -08:00
Madhusudan.C.S 0c4b5fdc82 Add myself to test/OWNERS. 2017-01-24 14:00:57 -08:00
Kubernetes Submit Queue 8444d47627 Merge pull request #40381 from fejta/expand
Automatic merge from submit-queue

Expand test/OWNERS approver pool
2017-01-24 13:18:05 -08:00
Kubernetes Submit Queue e4a4368c12 Merge pull request #40343 from nikhiljindal/e2eOWNERS
Automatic merge from submit-queue

Adding OWNERS file for federation e2e tests

Now that we have a separate `test/e2e_federation` dir for federation tests (thanks to @shashidharatd), we can have our own OWNERS file.

OWNERS file copied from https://github.com/kubernetes/kubernetes/pull/40328.

cc @kubernetes/sig-federation-misc
2017-01-24 13:17:50 -08:00