Commit Graph

51459 Commits (ebf24c14a916adebc37023be69f112d2c97759a9)

Author SHA1 Message Date
Kubernetes Submit Queue ea78fe40db Merge pull request #47890 from marun/fed-namespace-sync
Automatic merge from submit-queue (batch tested with PRs 47999, 47890)

[Federation] Update namespace support to use the sync controller

This PR moves namespaces to use the sync controller.

cc: @kubernetes/sig-federation-pr-reviews
2017-07-13 17:13:39 -07:00
Kubernetes Submit Queue fa5b580c06 Merge pull request #47999 from ianchakeres/local-volume-2pod-e2e
Automatic merge from submit-queue (batch tested with PRs 47999, 47890)

LocalPV e2e test with two pods writing/reading to a shared file on one PVC

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

This PR adds an e2e test where one pod writes to a localPV and another reads from it. This e2e test is for the PersistentLocalVolumes alpha feature.

**Which issue this PR fixes**: fixes https://github.com/kubernetes/kubernetes/issues/48832

**Special notes for your reviewer**:

You need to setup the PersistentLocalVolumes feature-gate and NODE_LOCAL_SSDS environment variable.

For example:

```
KUBE_FEATURE_GATES="PersistentLocalVolumes=true" NODE_LOCAL_SSDS=1 go run hack/e2e.go -- -v --up

go run hack/e2e.go -- -v --test --test_args="--ginkgo.focus=\[Feature:LocalPersistentVolumes\]"

```
**Release note**:

```release-note
NONE
```
2017-07-13 17:13:36 -07:00
Matt Moyer ae35377ef5 kubeadm: fix broken `kubeadm init --config` flag.
This code was changed in ea196490a0 to validate that `--config` wasn't passed along with other flags. Unfortunately, the implementation was checking `PersistentFlags()`, which was not parsed at the point it was being validated. The result was that `--config` was _always_ rejected, not just when it was specified alongside other flags.

The fix is to use `Flags()` instead, which contains the expected data.
2017-07-13 16:41:32 -07:00
Chao Xu 503852a1b5 add approvers to pkg/controller/garbagecollector 2017-07-13 15:16:17 -07:00
Matt Liggett f5757bce5b Merge pull request #48902 from freehan/gce-api-endpint
fix gce cloud provider projects api endpoint
2017-07-13 15:10:32 -07:00
Phillip Wittrock 3c3c271d07 Import kubectl tests in e2e_test.go so they start running.
Also rename the Describe function
2017-07-13 15:10:17 -07:00
Yang Guo 020a03b862 Update dependencies 2017-07-13 14:31:19 -07:00
Cole Mickens cd177dcd11 add pkg/credentailprovider/azure to hack/.linted_packages 2017-07-13 14:29:11 -07:00
Cole Mickens 931002ec1f azure: acr docker cred provider reuses auth 2017-07-13 14:27:37 -07:00
Cole Mickens 8f55afd0cb azure: refactor azure.go to make auth reusable 2017-07-13 14:27:37 -07:00
Cole Mickens 4521c2312c azure: msi: add managed identity field, logic
The azure cloudprovider will now use the Managed Service Identity
to retrieve access tokens for the Azure ARM APIs, rather than
requiring hard-coded, user-specified credentials.
2017-07-13 14:27:37 -07:00
Minhan Xia a471140e13 fix gce cloud provider projects api 2017-07-13 14:00:02 -07:00
Jun Xiang Tee 3b75093e0a move sig-apps upgrade tests to its directory 2017-07-13 13:53:06 -07:00
juanvallejo f28ffdb5e9
replace hardcoded use of "kubectl" in apply warning msg 2017-07-13 16:19:19 -04:00
Eric Chiang 90a555545e client-go: add canonical import comment 2017-07-13 13:03:12 -07:00
Chao Xu 40be152c95 update verify-staging-imports.sh 2017-07-13 13:01:35 -07:00
Yang Guo bf2ced837c Updates Docker Engine API 2017-07-13 12:55:07 -07:00
Paul Michali e17a501bcb Support IPv6 addresses for getListener()
Currently, client-go requires that an IPv6 address string for hostname has
square brackets surrounding, so that it can be used with address:port in
an API request.

This change, removes that requirement, and has getListener() add the
square brackets for IPv6 addresses for hosts. If IPv4 or hostname, the name
will not be modified.

Decided to change here, rather than everywhere client-go is used (thinking
that there may be places where we DON'T want the square brackets applied).

This issue was found in kubelet, which, at startup, creates a listener for
services and nodes. If an IPv6 address is used, the URI was malformed.
2017-07-13 19:52:48 +00:00
Nick Sardo 999c7195a4 Add known GCE issue for 1.7.0 2017-07-13 12:28:02 -07:00
krousey f818cbeaed Merge pull request #48881 from gmarek/networkProject
Revert "Merge pull request #48560 from nicksardo/gce-network-project"
2017-07-13 12:23:28 -07:00
Yang Guo 22253a6e6a Add cos-beta-60-9592-52-0 to benchmark tests 2017-07-13 12:06:59 -07:00
Clayton Coleman 461c3701f0
Do not persist SelfLink into etcd storage
This behavior regressed in an earlier release. Clearing the self link
ensures that a new version is always written and reduces the size of the
stored object by a small amount. Add tests to verify that Create and
Update result in no SelfLink stored in etcd.
2017-07-13 13:24:03 -04:00
Mike Danese c201553f27 remove some people from OWNERS so they don't get reviews anymore
These are googlers who don't work on the project anymore but are still
getting reviews assigned to them:
- bprashanth
- rjnagal
- vmarmol
2017-07-13 10:02:21 -07:00
Maru Newby 6ba0e92bf4 fed: Enable the namespace controller in integration tests 2017-07-13 09:50:07 -07:00
gmarek afe1a2c71b Revert "Merge pull request #48560 from nicksardo/gce-network-project"
This reverts commit d4881dd491, reversing
changes made to b5c4346130.
2017-07-13 18:34:24 +02:00
Guangya Liu d874548eed Added `CriticalAddonsOnly` toleration for npd. 2017-07-13 23:44:15 +08:00
Aleksandra Malinowska 7eb429644e Add current members of autoscaling teams to autoscaling tests OWNERS 2017-07-13 17:23:38 +02:00
Konstantinos Tsakalozos ca0f042854 Set default snap channel on charms to 1.7 stable 2017-07-13 16:24:48 +03:00
FengyunPan a1be23679c Fix the order of deletion
1. EnsureLoadBalancer can't delete pool without deleting members,
   just let EnsureLoadBalancerDeleted do it.
2. Add some friendly error message
2017-07-13 21:10:23 +08:00
FengyunPan dfc8b667a2 Fix parsing empty CIDR
Fix #48795
Checking ClusterCIDR and ServiceCIDR before parsing them.
2017-07-13 21:08:43 +08:00
Ian Chakeres 791970025e Added localPV e2e tests with two pods and refactored existing tests 2017-07-13 08:53:57 -04:00
sakeven d9c65bce5c use v1.ResourcePods instead of hard coding 'pods'
Signed-off-by: sakeven <jc5930@sina.cn>
2017-07-13 18:20:47 +08:00
sakeven 5435268e06 remove error since err is always nil
Signed-off-by: sakeven <jc5930@sina.cn>
2017-07-13 17:45:14 +08:00
Aleksandra Malinowska e12e630376 add more logs for debugging to autoscaling tests 2017-07-13 11:40:49 +02:00
Jerzy Szczepkowski 1cef818cd0 Fixed cluster validation for multizonal clusters.
Fixed cluster validation for multizonal clusters.
This should fix HA master e2e tests.
2017-07-13 11:03:57 +02:00
Guangya Liu a8e7be58cf Correct the comment in PSP examples. 2017-07-13 16:58:36 +08:00
Kubernetes Submit Queue 74f1943774 Merge pull request #48849 from nicksardo/gce-panic-fix
Automatic merge from submit-queue (batch tested with PRs 48555, 48849)

GCE: Fix panic when service loadbalancer has static IP address

Fixes #48848 

```release-note
Fix service controller crash loop when Service with GCP LoadBalancer uses static IP (#48848, @nicksardo)
```
2017-07-12 23:59:03 -07:00
Kubernetes Submit Queue 009858f18d Merge pull request #48555 from redbaron/hostPath-and-subPath-symlink
Automatic merge from submit-queue

Fix subPath existence check to not follow symlink

**What this PR does / why we need it**:
Volume mounting logic introduced in #43775 and #45623 checks
for subPath existence before attempting to create a directory,
should subPath not be present.

This breaks if subPath is a dangling symlink, os.Stat returns
"do not exist" status, yet `os.MkdirAll` can't create directory
as symlink is present at the given path.

This patch makes existence check to use os.Lstat which works for
normal files/directories as well as doesn't not attempt to follow
symlink, therefore it's "do not exist" status is more reliable when
making a decision whether to create directory or not.

subPath symlinks can be dangling in situations where kubelet is
running in a container itself with access to docker socket, such
as CoreOS's kubelet-wrapper script

**Release note**:
```release-note
Fix pods failing to start when subPath is a dangling symlink from kubelet point of view, which can happen if it is running inside a container
```
2017-07-12 23:43:12 -07:00
Kubernetes Submit Queue 222ac7be1e Merge pull request #48845 from crimsonfaith91/upgrade-test
Automatic merge from submit-queue

add [sig-apps] identifier to relevant upgrade tests

**What this PR does / why we need it**: This PR adds [sig-apps] identifier to relevant upgrade tests.

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

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-07-12 20:07:13 -07:00
Nick Sardo 98368d974e Remove address getter from CreateAddress(Region and Global) 2017-07-12 20:06:18 -07:00
Kubernetes Submit Queue 540cb782be Merge pull request #48828 from crimsonfaith91/test-regex
Automatic merge from submit-queue

add [sig-apps] prefix to workload e2e tests

**What this PR does / why we need it**: This PR adds [sig-apps] prefix to workload e2e tests in accord to requirements of adding a SIG dashboard to testgrid. Refer PR #48781 for guidelines.

**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-07-12 19:23:44 -07:00
Chao Xu ca32e8cc0a Update CHANGELOG.md for v1.8.0-alpha.2. 2017-07-13 03:47:47 +02:00
ravisantoshgudimetla db120eb8ca Changes for converting node to v1 in drain 2017-07-12 21:36:29 -04:00
Kubernetes Submit Queue 3c080e83c7 Merge pull request #48642 from freehan/gce-api-endpint
Automatic merge from submit-queue

Support GCE alpha/beta api endpoint override

fixes: https://github.com/kubernetes/kubernetes/issues/48568
2017-07-12 18:23:37 -07:00
Mike Danese 8744db432c add make bazel-test-integration target 2017-07-12 17:34:55 -07:00
Mike Danese 6ae11fdc5d use testmain in integration tests 2017-07-12 17:34:55 -07:00
Mike Danese 8e23c656ca add testmain setup func to the integration framework 2017-07-12 17:34:55 -07:00
Kubernetes Submit Queue ef229eaf51 Merge pull request #48813 from shyamjvs/fix-inflight-handler
Automatic merge from submit-queue

maxinflight handler should let panicrecovery handler call NewLogged

Fixes #48700 #48782 

/cc @deads2k @sttts
2017-07-12 17:24:34 -07:00
Jun Xiang Tee c35662b667 add [sig-apps] identifier to relevant upgrade tests 2017-07-12 16:48:44 -07:00
Jun Xiang Tee 0c93f75629 add [sig-apps] prefix to workload e2e tests 2017-07-12 16:37:27 -07:00