- 31 Jan, 2017 40 commits
-
-
deads2k authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38772, 38797, 40732, 40740) Prevent spurious diff in all generated clients when adding new group/version Including custom arguments in the generated file comment means adding any new group/version results in a diff of all generated clients in all groups/versions @ncdc PTAL
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38772, 38797, 40732, 40740) Sync client-go – third try Follow-up of https://github.com/kubernetes/kubernetes/pull/40692 & https://github.com/kubernetes/kubernetes/pull/40699. Approval and lgtm from https://github.com/kubernetes/kubernetes/pull/40692.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38772, 38797, 40732, 40740) Synchronous spellcheck for pkg/volume/* **What this PR does / why we need it**: Increase code readability **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**: Minor contribution **Release note**: ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38772, 38797, 40732, 40740) AWS: Deprecate the bash deployment **What this PR does / why we need it**: Add a strong deprecation warning to the `kube-up.sh` AWS deployment. **Release note**: ```release-note The bash AWS deployment via kube-up.sh has been deprecated. See http://kubernetes.io/docs/getting-started-guides/aws/ for alternatives. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue refactor pv e2e code to improve readability **What this PR does / why we need it**: Moved the helper functions out of _persistent_volumes.go_ to a new file, _pvutil.go_, in order to improve readability and make it easier to add new tests. Also, all pod delete code now calls the same helper function `deletePodWithWait`. **Release note**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue e2e test should fail if err==timeout If err==timeout, it means the replicaset (the owner) is not deleted after 30s, which indicates a bug, so the e2e test should fail.
-
Jordan Liggitt authored
-
Jordan Liggitt authored
Including custom arguments means adding any new group/version results in a diff of all generates clients in all groups/versions
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove jsafrane from some tests I do not know anything about ESIPP nor clouddns and I have never touched these tests. It would be better to assign flakes to someone else. @bprashanth @quinton-hoole, PTAL. I took your names as authors of these two tests.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove spxtr from several owners files, add rmmh as test reviewer. **Release note**: ```release-note NONE ```
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40405, 38601, 40083, 40730) Enable services by default in load test
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40405, 38601, 40083, 40730) Remove extensions/v1beta1.Jobs leftover It looks like I missed this one file when removing `extensions/v1beta1.Jobs` last time (#38614). @caesarxuchao ptal, since you were reviewing last time @kubernetes/sig-api-machinery-misc fyi
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40405, 38601, 40083, 40730) fix typo **What this PR does / why we need it**: fix typo. **Release note**: ```NONE ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue Set NetworkInterfaces and Subnets to nil before updating Azure security groups **What this PR does / why we need it**: This is a workaround until we have an upstream fix in azure-sdk-for-go/go-autorest. Corresponding issues are https://github.com/kubernetes/kubernetes/issues/40332 and https://github.com/Azure/go-autorest/issues/112 In k8s 1.5.2, an update to azure-sdk-for-go was cherry-picked, which broke creation/updating of LBs on Azure. As we should have it back to a working state ASAP, I'd like to do a workaround for now and later when the upstream fix comes in, remove the workaround again. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #40332 **Release note**: ```release-note Fix failing load balancers in Azure ``` CC @colemickens
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40707, 40698) kubeadm: Default to control plane v1.6.0-alpha.1 and using RBAC Also use constants for authz modes **What this PR does / why we need it**: Defaults to v1.6.0-alpha.1 (will be cut later today) because the certificates API group has been upgraded to beta, so `kubeadm join` at HEAD doesn't work on a `v1.5` cluster anyway. By defaulting to v1.6.0-alpha.1, we can focus totally on v1.6 for kubeadm at HEAD, we don't support other versions in the upcoming v1.6 kubeadm release because of the alpha -> beta upgrades. **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 ``` @mikedanese @pires
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Bumped version of addon resizer ref https://github.com/kubernetes/contrib/issues/2337
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40392, 39242, 40579, 40628, 40713) Add --force-new-cluster when running etcd for migrations. This is required to avoid etcd trying to create quorum during migrations. Might fix #40110
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40392, 39242, 40579, 40628, 40713) fixed bug #36988 -- kubeadm join crashes when using multiple API endpoints **What this PR does / why we need it**: Simple bug fix for #36988 (kubeadm crashes when trying to join nodes to a master with multiple API endpoints) -- stopChan was getting closed multiple times, once per endpoint. Moved the close into the once.Do(...) **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #36988 **Special notes for your reviewer**: this is my first kubernetes commit, just getting familiar with the process, so any/all feedback is appreciated **Release note**:
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40392, 39242, 40579, 40628, 40713) Update rbac role data to v1beta1
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40392, 39242, 40579, 40628, 40713) optimize podSandboxChanged() function and fix some function notes
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40392, 39242, 40579, 40628, 40713) [Federation][kubefed] Create a dedicated service account for federation controller manager in the host cluster and give it appropriate permissions. Ref: Issue #39555 cc @kubernetes/sig-federation-pr-reviews @kubernetes/sig-auth-misc @kubernetes/sig-auth-pr-reviews ```release-note kubefed init creates a service account for federation controller manager in the federation-system namespace and binds that service account to the federation-system:federation-controller-manager role that has read and list access on secrets in the federation-system namespace. ```
-
Lucas Käldström authored
Default to control plane v1.6.0-alpha.1 for clusters deployed with kubeadm and using RBAC. Also use constants for authz modes
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38443, 40145, 40701, 40682) Move kubeadm etcd SELinux options from container to pod. **What this PR does / why we need it**: Works around a bug that surfaces in Docker 1.12+ related to the pause container's namespace and selinux labels being transferred to the etcd container when it runs. At present it appears that applying selinux options to a container may be broken, or perhaps shouldn't be supported at all. Moving these to the pod causes all containers (including pause) to run with the correct labels. **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**: Related to and partial fix for https://github.com/kubernetes/kubeadm/issues/107 This is one of several selinux related fixes in flight for upcoming releases, and newer versions of Docker. To successfully run kubeadm with selinux enforcing right now would like require a recent container-selinux build as uncovered in https://github.com/kubernetes/kubeadm/issues/107, a bugfix for the format labels in #40179, and finally this fix. **Release note**: ```release-note Fixed an SELinux issue in kubeadm on Docker 1.12+ by moving etcd SELinux options from container to pod. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38443, 40145, 40701, 40682) fix nil deref in exec admission Fixes #40615 @ncdc @jsravn @smarterclayton
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38443, 40145, 40701, 40682) pkg/util/iptables missing unit tests
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38443, 40145, 40701, 40682) fix GetVolumeInUse() function Since we just want to get volume name info, each volume name just need to added once. desiredStateOfWorld.GetVolumesToMount() will return volume and pod binding info, if one volume is mounted to several pods, the volume name will be return several times. That is not what we want in this function. We can add a new function to only get the volume name info or judge whether the volume name is added to the desiredVolumesMap array.
-
Anthony Yeh authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40691, 40551, 40683, 40700, 40702) Replace + with _ in the image tag version since + is not a valid image tag character. We already push the image to the registry by replacing `+` with `_` in the preceding build and push stages. This change is just propagating the same to the deploy stage. cc @kubernetes/sig-federation-pr-reviews @nikhiljindal @shashidharatd
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40691, 40551, 40683, 40700, 40702) Clean up generated comment for lister/informers The generated comment including the command line means the addition of a new group/version touches all listers/informers, not just the ones for the new group/version @ncdc PTAL
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40691, 40551, 40683, 40700, 40702) Enable protobufs as storage format by default **Release note**: ```release-note Change default storage format to protobufs. With this PR apiserver will be writing objects serialized as protobufs to etcd. If the apiserver was upgraded in the existing clusters, until an object will be written, it will still be stored as JSON. Apiserver can deal with some data being in json and some in protobuf format as of 1.4 release. ``` @kubernetes/sig-api-machinery-misc @kubernetes/sig-api-machinery-pr-reviews
-
Kubernetes Submit Queue authored
Merge pull request #40551 from juanvallejo/jvallejo/only-output-no-resources-found-for-human-readable-printer Automatic merge from submit-queue (batch tested with PRs 40691, 40551, 40683, 40700, 40702) only output "No resources found." for human readable printers **Release note**: ```release-note release note none ``` This patch removes the message `No resources found` (currently printed through stderr) when printing through a generic / non-human-readable printer (json, yaml, jsonpath, custom-columns). **Before*** ``` $ kubectl get pods -o json No resources found. { "apiVersion": "v1", "items": [], "kind": "List", "metadata": {}, "resourceVersion": "", "selfLink": "" } ``` **After** ``` $ kubectl get pods -o json { "apiVersion": "v1", "items": [], "kind": "List", "metadata": {}, "resourceVersion": "", "selfLink": "" } ``` cc @fabianofranz @stevekuznetsov -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40691, 40551, 40683, 40700, 40702) Juju kubernetes-master charm: improve status messages **What this PR does / why we need it**: This update to the kubernetes-master charm does the following: 1. Remove "Kubernetes master services ready" status which was occurring too early 2. Add "Waiting for kube-system pods to start" status 3. Replace "Rendering the Kubernetes DNS files." status with "Deploying KubeDNS" 4. Add "Waiting to retry KubeDNS deployment" status The purpose of this is to give better feedback to the operator during cluster deployment. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: Fixes https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/143, which we are tracking in a separate repository **Special notes for your reviewer**: This is a rebase of https://github.com/juju-solutions/kubernetes/pull/103, where prior review was done, though it was targeted against a fork. **Release note**: ```release-note Juju kubernetes-master charm: improve status messages ```
-
Jeff Vance authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40703, 40093, 40618, 40659, 39810) Add AndSelectors helper function I needed a simple way to logically `AND` two `Selectors` in https://github.com/openshift/origin/pull/11909 for [this](https://github.com/enj/origin/blob/7259bf75966b961cb9c7aa2c0ee2930471a59eed/pkg/oauth/registry/oauthclientauthorization/etcd/etcd.go#L95-L114). This seems like the cleanest way to express that intent. Signed-off-by:
Monis Khan <mkhan@redhat.com>
-