- 25 Mar, 2017 19 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41000, 42989) Avoid unnecessary copies of endpoints object in kube-proxy
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue remove NewCloudNodeController() second return value
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Better messaging when GKE certificate signing fails. **What this PR does / why we need it**: On errors, the GKE signing API can respond with a JSON body that contains an error message explaining the failure. If we're able to extract it, use that message when reporting the error instead of the generic error returned by the webhook library. Also, always add an event to the CSR object on signing errors. **Release note**: ```release-note NONE ``` CC @mikedanese @jcbsmpsn
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix the anchor link **What this PR does / why we need it**: fix the anchor links about "kubectl rolling-update" and "kubectl delete", they did not work at present.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43653, 43654, 43652) CRI: Check nil pointer to avoid kubelet panic. When working on the containerd kubernetes integration, I casually returns an empty `sandboxStatus.Linux{}`, but it cause kubelet to panic. This won't happen when runtime returns valid data, but we should not make the assumption here. /cc @yujuhong @feiskyer -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43653, 43654) [Federation] Disable the E2E test for federated replica set rebalancing We are able to reproduce the flaky failure locally, and can debug without running this on the CI.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation] Create a unique label and label selector for each replica set created by the replica sets E2E test. Previously, each replica set created would use the same pod labels and replica set label selectors, so tests run in parallel could conflict with each other. This ensures that each replica set test has its own set of pods to work with. This should fix the currently-very-flaky E2E test for weighted federated replica set preferences.
-
NickrenREN authored
NewCloudNodeController() will never return err,remove it
-
Jonathan MacMillan authored
[Federation] Create a unique label and label selector for each replica set created by the replica sets E2E test.
-
Jonathan MacMillan authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43642, 43170, 41813, 42170, 41581) Cleanup make test-integration ``make test-integration`` was using the first positional arg passed to ``WHAT`` to filter the list of integration test packages. This PR switches to passing ``WHAT`` verbatim to be consistent with how ``make test`` works. That means the new way to scope execution to a single integration package will be: ```bash make test-integration WHAT="./test/integration/auth" KUBE_TEST_ARGS="-run=^TestKindAuthorization$" ``` Instead of: ```bash make test-integration WHAT="auth -test.run=^TestKindAuthorization$" ``` This PR also ensures that the script exits after running a single test case and that etcd cleanup is not done twice at the end of a successful test run. Both were issues encountered while diagnosing the scoping issue. cc: @thockin @deads2k @stevekuznetsov @ncdc @derekwaynecarr
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43642, 43170, 41813, 42170, 41581) Enable storage class support in Azure File volume **What this PR does / why we need it**: Support StorageClass in Azure file volume **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 Support StorageClass in Azure file volume ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43642, 43170, 41813, 42170, 41581) Be able to specify the timeout to wait for pod for kubectl logs/attach Fixes https://github.com/kubernetes/kubernetes/issues/41786 current flag is `get-pod-timeout`, we can have a discussion if you have better one, default unit is seconds, above 0 @soltysh @kargakis ptal, thanks @kubernetes/sig-cli-feature-requests
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43642, 43170, 41813, 42170, 41581) Add the ability to customize federation system namespace in e2e turn up scripts. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43642, 43170, 41813, 42170, 41581) Update a few regex patterns to support release candidates **What this PR does / why we need it**: A release candidate was cut for 1.6 (v1.6.0-rc.1), but some scripts don't recognize this version string. **Release note**: ```release-note NONE ```
-
Random-Liu authored
-
krousey authored
Remove an accidentally duplicated line when adding a defer in #42157. Unblocking queue
-
Ryan Hitchman authored
-
- 24 Mar, 2017 21 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42522, 42545, 42556, 42006, 42631) optimize the binding logic of bindClaimToVolume extract var shouldSetBoundByController and do not need to judge volumename twice **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42522, 42545, 42556, 42006, 42631) Fixes MountVolume.NewMounter errors not displayed to users via describe events Fixes #42004 This fixes the problem of mount errors being eaten and not displayed to users again. Specifically erros caught in MountVolume.NewMounter (like missing endpoints, etc...) Current behavior for any mount failure: ``` Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 12m 12m 1 default-scheduler Normal Scheduled Successfully assigned glusterfs-bb-pod1 to 127.0.0.1 10m 1m 5 kubelet, 127.0.0.1 Warning FailedMount Unable to mount volumes for pod "glusterfs-bb-pod1_default(67c9dfa7-f9f5-11e6-aee2-5254003a59cf)": timeout expired waiting for volumes to attach/mount for pod "default"/"glusterfs-bb-pod1". list of unattached/unmounted volumes=[glusterfsvol] 10m 1m 5 kubelet, 127.0.0.1 Warning FailedSync Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "default"/"glusterfs-bb-pod1". list of unattached/unmounted volumes=[glusterfsvol] ``` New Behavior: For example on glusterfs - deliberately didn't create endpoints, now correct message is displayed: ``` Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 2m 2m 1 default-scheduler Normal Scheduled Successfully assigned glusterfs-bb-pod1 to 127.0.0.1 54s 54s 1 kubelet, 127.0.0.1 Warning FailedMount Unable to mount volumes for pod "glusterfs-bb-pod1_default(8edd2c25-fa09-11e6-92ae-5254003a59cf)": timeout expired waiting for volumes to attach/mount for pod "default"/"glusterfs-bb-pod1". With error timed out waiting for the condition. list of unattached/unmounted volumes=[glusterfsvol] 54s 54s 1 kubelet, 127.0.0.1 Warning FailedSync Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "default"/"glusterfs-bb-pod1". With error timed out waiting for the condition. list of unattached/unmounted volumes=[glusterfsvol] 2m 6s 814 kubelet, 127.0.0.1 Warning FailedMount MountVolume.NewMounter failed for volume "kubernetes.io/glusterfs/8edd2c25-fa09-11e6-92ae-5254003a59cf-glusterfsvol" (spec.Name: "glusterfsvol") pod "8edd2c25-fa09-11e6-92ae-5254003a59cf" (UID: "8edd2c25-fa09-11e6-92ae-5254003a59cf") with: endpoints "glusterfs-cluster" not found ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42522, 42545, 42556, 42006, 42631) Use pod sandbox id in checkpoint **What this PR does / why we need it**: we should log out sandbox id when checkpoint error **Release note**: ```NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42522, 42545, 42556, 42006, 42631) add e2e test for `apply set/view last-applied` command @pwittrock @kubernetes/sig-cli-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue print err message when update store failed ```release-note NONE ```
-
Madhusudan.C.S authored
-
Jeff Grafton authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add bowei to OWNERS of cloudproviders/gce ```release-note none ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42237, 42297, 42279, 42436, 42551) Cleanup federation_util.go in e2e/framework The only function GetValidDNSSubdomainName in test/e2e/framework/federation_util.go is no longer used for some time now. so cleaning it up. cc @kubernetes/sig-federation-pr-reviews @madhusudancs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42237, 42297, 42279, 42436, 42551) Add example for how to use vSphere volumes in Stateful Sets **What this PR does / why we need it**: Examples yaml for using vSphere volumes in stateful sets. **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 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42237, 42297, 42279, 42436, 42551) Reword PVC polling message to log a more readable message. **What this PR does / why we need it**: Previous message used to report an error is misleading and poorly written. This PR changes the log to be more readable. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42237, 42297, 42279, 42436, 42551) should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) Signed-off-by:yupengzte <yu.peng36@zte.com.cn> **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 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue controller: drop extra rs deep-copy @janetkuo @mwielgus
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix test for provisioning in unmanaged zone. defer evaluates arguments of the deferred function immediately, so it actually deleted a storage class and a claim before the test could do anything useful. The test passed just accidentally, as the test is expected to time out. It timed out from wrong reasons though. @copejon @kubernetes/sig-storage-pr-reviews ```release-note NONE ```
-
Bowei Du authored
-
Anthony Yeh authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41139, 41186, 38882, 37698, 42034) Add support for bring-your-own ip address for Services on Azure @colemickens @codablock
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41139, 41186, 38882, 37698, 42034) Make kubelet never delete files on mounted filesystems With bug #27653, kubelet could remove mounted volumes and delete user data. The bug itself is fixed, however our trust in kubelet is significantly lower. Let's add an extra version of RemoveAll that does not cross mount boundary (rm -rf --one-file-system). It calls lstat(path) three times for each removed directory - once in RemoveAllOneFilesystem and twice in IsLikelyNotMountPoint, however this way it's platform independent and the directory that is being removed by kubelet should be almost empty.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41139, 41186, 38882, 37698, 42034) create configmap from-env-file Allow ConfigMaps to be created from Docker based env files. See proposal https://github.com/kubernetes/community/issues/165 **Release-note:** ```release-note 1. create configmap has a new option --from-env-file that populates a configmap from file which follows a key=val format for each line. 2. create secret has a new option --from-env-file that populates a configmap from file which follows a key=val format for each line. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41139, 41186, 38882, 37698, 42034) update the signing key for percona debian and ubuntu packages **What this PR does / why we need it**: > W: GPG error: http://repo.percona.com trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9334A25F8507EFA5 The signing key has already been updated. Please refer to [Update the Signing Key for Percona Debian and Ubuntu Packages](https://www.percona.com/blog/2016/10/13/new-signing-key-for-percona-debian-and-ubuntu-packages/) for detailed explanations.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue config set cluster api value Related bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1420280 **Release note**: ```release-note release-note-none ``` This patch sets a specified api version if one is given while setting cluster values in kubeconfig cc @AdoHe @pweil-
-