- 01 Aug, 2017 13 commits
-
-
xiangpengzhao authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fixes kubernetes/kubeadm#347: empty node name when joining nodes with kubeadm Node name discovery failed on `kubeadm join`. If a node name is not explicitly provided, it will be looked up. **What this PR does / why we need it**: `kubeadm join` fails because the preflight checks always see an empty node name. This corrects that issue. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes kubernetes/kubeadm#347 **Special notes for your reviewer**: **Release note**: ```release-note kubeadm: Fix join preflight check false negative ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46519, 49794, 49720, 49692, 49821) [route_controller] Emit event when failed to create route **What this PR does / why we need it**: When route controller failed to create route for nodes, pod's networking is likely broken. We surface this situation through node condition (https://github.com/kubernetes/kubernetes/blob/v1.7.2/pkg/controller/route/routecontroller.go#L197-L231), but this might not be easily tracked when user have a large cluster with many nodes. Surface the error through event might make things more obvious. **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**: cc @bowei **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46519, 49794, 49720, 49692, 49821) fix missing verb at end of format string **What this PR does / why we need it**: A missing verb at end of format string in Errorf call happens in `vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc_test.go`, This PR fixes this problem. **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**: `NONE`
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46519, 49794, 49720, 49692, 49821) [make verify] Display list of failed tests to the user at the end **What this PR does / why we need it**: Minor improvement to verify all script as it now displays list of failed tests at the end, makes it easier for fixing errors ``` $KUBE_VERIFY_GIT_BRANCH=someBranch hack/make-rules/verify.sh -v -Q . . . ======================== FAILED TESTS ======================== hack/make-rules/../../hack/verify-boilerplate.sh hack/make-rules/../../hack/verify-godep-licenses.sh hack/make-rules/../../hack/verify-readonly-packages.sh ``` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #49845 **Special notes for your reviewer**: **Release note**: ```release-note None ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46519, 49794, 49720, 49692, 49821) Log attach detach controller skipping pods at higher priority This will help us in tracking down problems related to pods not getting added to desired state of world because of events arriving out of order or some other problem related to that. cc @kubernetes/sig-storage-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46519, 49794, 49720, 49692, 49821) Federation: Add delaying deliverer to dns controller **What this PR does / why we need it**: - if `ensureDNSRecords` returned an error there was no retry, so now introduced an delaying deliverer which would reattempt to do ensureDNSRecords. - ~~Revamped unit test cases of DNS controller. Added more test cases and increased the test coverage. This was a leftover job from earlier refactoring PR's.~~ ```release-note NONE ``` /assign @quinton-hoole cc @marun @madhusudancs @kubernetes/sig-federation-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49284, 49555, 47639, 49526, 49724) skip WaitForAttachAndMount for terminated pods in syncPod Fixes https://github.com/kubernetes/kubernetes/issues/49663 I tried to tread lightly with a small localized change because this needs to be picked to 1.7 and 1.6 as well. I suspect this has been as issue since we started unmounting volumes on pod termination https://github.com/kubernetes/kubernetes/pull/37228 xref openshift/origin#14383 @derekwaynecarr @eparis @smarterclayton @saad-ali @jwforres /release-note-none
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49284, 49555, 47639, 49526, 49724) Supply Portworx StorageClass paramters in volume spec labels for server-side processing **What this PR does / why we need it**: This change offloads the requirement of successfully parsing all existing and new portworx volume parameters to it's server-side components. As a result, for fixing bugs in existing volume parameters parsing and adding new support, we will not need to submit a k8s PR. **Which issue this PR fixes**: fixes #49525 **Release note**: ```release-note Fix incorrect parsing of io_priority in Portworx volume StorageClass and add support for new paramters. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49284, 49555, 47639, 49526, 49724) Change pod config to manifest **What this PR does / why we need it**: As per https://github.com/kubernetes/kubernetes/pull/46494#discussion_r119675805, change `config` to `manifest` to avoid ambiguous. **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**: Since it's a minor fix, there is no issue here. /cc @mtaufen **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49284, 49555, 47639, 49526, 49724) amend spec.PersistentVolume.Spec **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 NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49284, 49555, 47639, 49526, 49724) Add clusterroles for approving CSRs easily **What this PR does / why we need it**: Adds ClusterRoles for CSR approving. Currently consumers like kubeadm and GKE have to create these rules by themselves, but are doing it slightly differently which leads to sprawl. Instead, the ClusterRoles are created by core, and the actual bindings created by respective deployment method. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # fixes https://github.com/kubernetes/kubernetes/issues/48191 **Special notes for your reviewer**: **Release note**: ```release-note The API Server now automatically creates RBAC ClusterRoles for CSR approving. Each deployment method should bind users/groups to the ClusterRoles if they are using this feature. ``` cc @kubernetes/sig-auth-pr-reviews @kubernetes/sig-cluster-lifecycle-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add KMS plugin registry Allows supporting KMS services as encryption providers using a plugin mechanism similar to admission plugins. Simplifies #48574 Progresses #48522 @deads2k PTAL
-
- 31 Jul, 2017 16 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49651, 49707, 49662, 47019, 49747) conversion-gen: support recursive types Currently, conversion-gen goes into an infinite recursion for recursive types. This fixes it to support recursive types. Needed for #47263. **Release note**: ```release-note NONE ``` /cc @sttts
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49651, 49707, 49662, 47019, 49747) Add support for `no_new_privs` via AllowPrivilegeEscalation **What this PR does / why we need it**: Implements kubernetes/community#639 Fixes #38417 Adds `AllowPrivilegeEscalation` and `DefaultAllowPrivilegeEscalation` to `PodSecurityPolicy`. Adds `AllowPrivilegeEscalation` to container `SecurityContext`. Adds the proposed behavior to `kuberuntime`, `dockershim`, and `rkt`. Adds a bunch of unit tests to ensure the desired default behavior and that when `DefaultAllowPrivilegeEscalation` is explicitly set. Tests pass locally with docker and rkt runtimes. There are also a few integration tests with a `setuid` binary for sanity. **Release note**: ```release-note Adds AllowPrivilegeEscalation to control whether a process can gain more privileges than it's parent process ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49651, 49707, 49662, 47019, 49747) improve detectability of deleted pods **What this PR does / why we need it**: Adds comment to `waitForPodTerminatedInNamespace` to better explain how it's implemented. ~~It improves pod deletion detection in the e2e framework as follows:~~ ~~1. the `waitForPodTerminatedInNamespace` func looks for pod.Status.Phase == _PodFailed_ or _PodSucceeded_ since both values imply that all containers have terminated.~~ ~~2. the `waitForPodTerminatedInNamespace` func also ignores the pod's Reason if the passed-in `reason` parm is "". Reason is not really relevant to the pod being deleted or not, but if the caller passes a non-blank `reason` then it will be lower-cased, de-blanked and compared to the pod's Reason (also lower-cased and de-blanked). The idea is to make Reason checking more flexible and to prevent a pod from being considered running when all of its containers have terminated just because of a Reason mis-match.~~ Releated to pr [49597](https://github.com/kubernetes/kubernetes/pull/49597) and issue [49529](https://github.com/kubernetes/kubernetes/issues/49529). **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49651, 49707, 49662, 47019, 49747) remove the redundant err define **What this PR does / why we need it**: some place has define err ,like class, err := volutil.GetClassForVolume(d.plugin.host.GetKubeClient(), d.spec) so delete the err define! **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 NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49651, 49707, 49662, 47019, 49747) StatefulSet: Remove `initialized` annotation from apps/v1beta2. The annotation was already removed from apps/v1beta1 in #49251, but this copy survived due to another concurrent PR. ref #41605
-
Jeff Grafton authored
Use --sandbox_fake_username with bazel build
-
Lucas Käldström authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix hack/local-up-cluster.sh apiserver not listening bug **What this PR does / why we need it**: This PR fix a potential bug int hack/local-up-cluster.sh and it helps developers to build local cluster properly **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # fix #49728 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Reduce kubectl calls from O(#nodes) to O(1) in cluster logdump Ref https://github.com/kubernetes/kubernetes/issues/48513 Each node's logexporter is made to write a file to a GCS directory on success (https://github.com/kubernetes/test-infra/pull/3782). We now use that directory as a registry of successful nodes and get it through a single "gsutil ls" call. This: - reduces the current waiting time for logexporter in 5k-node cluster from >1hr to <10s. - eliminates dependency on `kubectl logs` calls which seem to be unreliable sometimes (e.g when kubelet (or apiserver) is down) /cc @kubernetes/sig-scalability-misc @wojtek-t @gmarek @fejta
-
Jeff Grafton authored
-
Edmund Rhudy authored
Node name discovery failed on `kubeadm join`. If a node name is not explicitly provided, it will be looked up.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Enable node authorizer in local-up-cluster Fixes #49822 Enables the Node authorization mode to ensure the kubelet credential we create has permission to do kubelet-related things. Matches the default authorizers in gce/gke and CI clusters. Related to the deprecation of the automatic binding of the `system:nodes` group to the `system:node` role on new deployments (https://github.com/kubernetes/kubernetes/pull/49638) ```release-note `hack/local-up-cluster.sh` now enables the Node authorizer by default. Authorization modes can be overridden with the `AUTHORIZATION_MODE` environment variable, and the `ENABLE_RBAC` environment variable is no longer used. ```
-
https://github.com/kubernetes/kubernetes/issues/49728wulihua authored
Let user choose ADVERTISE_ADDRESS in case the apiserver heuristic for the external address is broken
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix invalid issue link in api conversion **What this PR does / why we need it**: When working on #49336, found invalid link `https://github.com/kubernetes/kubernetextensionsssues/39865`. **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**: cc @janetkuo **Release note**: ```release-note None ```
-
Shyam Jeedigunta authored
-
jianglingxia authored
-
- 30 Jul, 2017 3 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49533, 49264) Add test items for pdb describe **What this PR does / why we need it**: Add test items for pdb describe **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # NONE **Special notes for your reviewer**: ref: #49362 **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49533, 49264) rename stop.go to delete.go to avoid confusion **What this PR does / why we need it**: Refer to [comments](https://github.com/kubernetes/kubernetes/pull/46784#issuecomment-317582927) from @foxish and @janetkuo **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # xref #46784 **Special notes for your reviewer**: /cc @janetkuo @foxish **Release note**: ```release-note rename stop.go file to delete.go to avoid confusion ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Adding option to set the federation api server port if nodeport is set **What this PR does / why we need it**: Kubefed will deploy the respected services and then it will do a health check. Prior to this patch if the user selects the nodeport a random port is opened. In environments where firewalls are in place this random port selection will cause the health check to fail. With this patch we enable users to designate a specific port, after for example opening it on their firewall. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #46021 **Special notes for your reviewer**: **Release note**: ``` Kubefed init allows for setting port in Nodeport configuration ```
-
- 29 Jul, 2017 7 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49538, 49708, 47665, 49750, 49528) Add ext4 and xfs tests to GCE PD basic mount tests **What this PR does / why we need it**: Add ext4 and xfs to basic GCE PD mount tests. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #49511 **Special notes for your reviewer**: **Release note**: /release-note-none /sig storage
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49538, 49708, 47665, 49750, 49528) Lowercases hostname for kubeadm cert slice **What this PR does / why we need it**: Previously, unit tests on master were failing due to this error: ``` --- FAIL: TestSubCmdApiServerFlags (0.99s) certs_test.go:149: APIserverCert.DNSNames[0] is danehans-m-c1kp instead of DANEHANS-M-C1KP ``` The PR fixes the TestSubCmdApiServerFlags test, which uses the OS hostname to compare the apiserver serving cert and fails if the OS hostname is in caps. **Which issue this PR fixes**: fixes # https://github.com/kubernetes/kubeadm/issues/361 **Special notes for your reviewer**: **Release note**: ```NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49538, 49708, 47665, 49750, 49528) Enable garbage collection of custom resources Enhance the garbage collector to periodically refresh the resources it monitors (via discovery) to enable custom resource definition GC (addressing #44507 and reverting #47432). This is a replacement for #46000. /cc @lavalamp @deads2k @sttts @caesarxuchao /ref https://github.com/kubernetes/kubernetes/pull/48065 ```release-note The garbage collector now supports custom APIs added via CustomeResourceDefinition or aggregated apiservers. Note that the garbage collector controller refreshes periodically, so there is a latency between when the API is added and when the garbage collector starts to manage it. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49538, 49708, 47665, 49750, 49528) Add a support for GKE regional clusters in e2e tests. **What this PR does / why we need it**: Add a support for GKE regional clusters in e2e tests. **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 NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49538, 49708, 47665, 49750, 49528) Use the core client with version **What this PR does / why we need it**: Replace the **deprecated** `clientSet.Core()` with `clientSet.CoreV1()`. **Which issue this PR fixes**: fixes #49535 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
huangjiuyuan authored
-
Di Xu authored
-
- 28 Jul, 2017 1 commit
-
-
Zihong Zheng authored
-