- 26 May, 2017 40 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46383, 45645, 45923, 44884, 46294) Created unit tests for GCE cloud provider storage interface. - Currently covers CreateDisk and DeleteDisk, GetAutoLabelsForPD - Created ServiceManager interface in gce.go to facilitate mocking in tests. **What this PR does / why we need it**: Increasing test coverage for GCE Persistent Disk. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #44573 **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46383, 45645, 45923, 44884, 46294) Node status updater now deletes the node entry in attach updates... … when node is missing in NodeInformer cache. - Added RemoveNodeFromAttachUpdates as part of node status updater operations. **What this PR does / why we need it**: Fixes issue of unnecessary node status updates when node is deleted. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #42438 **Special notes for your reviewer**: Unit tested added, but a more comprehensive test involving the attach detach controller requires certain testing functionality that is currently absent, and will require larger effort. Will be added at a later time. There is an edge case caused by the following steps: 1) A node is deleted and restarted. The node exists, but is not yet recognized by Kubernetes. 2) A pod requiring a volume attach with nodeName specifically set to this node. This would make the pod stuck in ContainerCreating state. This is low-pri since it's a specific edge case that can be avoided. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46383, 45645, 45923, 44884, 46294) Fix test not use test flags **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**: old code not use test.flags, now use it **Release note**: ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46383, 45645, 45923, 44884, 46294) fix certificates flake Fixes https://github.com/kubernetes/kubernetes/issues/46365 Fixes https://github.com/kubernetes/kubernetes/issues/46374
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue test case for set_resources PR adds basic unit test for set_resources.go
-
Mike Danese authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add support for specifying certificate duration at runtime.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update GlusterFS examples readme.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46501, 45944, 46473) Enable the ip-masq-agent on GCE installs Setting this will trigger cluster/addons/ip-masq-agent/ip-masq-agent.yaml to be installed as an addon, which disable configure IP masquerade for all of RFC1918, rather than just 10.0/8. Because the flag defaulted to 10.0/8 we can't just change the default. I think anyone who needs IP masquerade set up should probably use this instead. @justinsb @kubernetes/sig-cluster-lifecycle-misc Fixes #11204 @dnardo - any reason not to do this? Release Note: ```release-note GCE installs will now avoid IP masquerade for all RFC-1918 IP blocks, rather than just 10.0.0.0/8. This means that clusters can be created in 192.168.0.0./16 and 172.16.0.0/12 while preserving the container IPs (which would be lost before). ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46501, 45944, 46473) fix func comment in helpers.go **What this PR does / why we need it**: fix func comment in helpers.go **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**: NONE **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46501, 45944, 46473) apiextensions: fix missing storage on CRD delete without previous CR access Create CR storage on demand when needed from CRD finalizer controller. /cc @nikhita
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add crd shortname Adds a shortname, `crd`, for `CustomResourceDefinition`.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't print message at the top of `set selector` or `set subject` **What this PR does / why we need it**: Stop printing "running in local/dry-run mode..." at the top of `set selector` or `set subject`, because the user may be trying to pipe the output of this command as the input to another. **Which issue this PR fixes**: fixes #46505 **Special notes for your reviewer**: This PR makes `set subject` and `set resources` consistent with similar commands in the same directory. **Release note**: ```release-note `set selector` and `set subject` no longer print "running in local/dry-run mode..." at the top, so their output can be piped as valid yaml or json ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation] Move service dns controller to its own package This PR does nothing but just moves service dns controller code to its own package. **Release note**: ```release-note NONE ``` cc @kubernetes/sig-federation-pr-reviews /assign @marun
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue remove duplicate, flaky tests These tests were replaced in https://github.com/kubernetes/kubernetes/pull/45864, but we forgot to remove the originals. This just removes the originals, but all the test cases were covered in that other pull.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typo in test_helper `CompareObjectMeta` is comparting Name attribute, but logging Namespace. Looks like a copy/paste error.
-
deads2k authored
-
deads2k authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add test in descibe resourcequota **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 ```
-
Bryan Boreham authored
because the user may be trying to pipe the output of this command as the input to another. This makes `set subject` and `set resources` consistent with all similar commands in this directory. Signed-off-by:Bryan Boreham <bryan@weave.works>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix err message typo and small change in UX **What this PR does / why we need it**: 1. small ux change 2. fix typo: convertable to convertible **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 ```
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add createdby annotation for rbd and quobyte and make dynamical createdby key const make dynamical createdby key const **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue print the name of invalid host to help to fix the bug print the name of invalid host to help to fix the bug.
-
NickrenREN authored
make dynamical createdby key const
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update examples in Makefile with WHAT arguments changed. **What this PR does / why we need it**: The examples `make check WHAT` and `make vet WHAT` in Makefile don't work anymore. This PR updates them. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # xref: https://github.com/kubernetes/community/issues/327, https://github.com/kubernetes/community/pull/296, https://github.com/kubernetes/kubernetes/pull/39433 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
lixiaobing1 authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue documentation for implementors of RESTCreateStrategy **What this PR does / why we need it**: Documentation useful for those implementing these methods. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: no issue. **Special notes for your reviewer**: I am implementing these for service broker, and gives me examples of what is done or should be done. **Release note**: --> ```release-note NONE ```
-
shashidharatd authored
-
shashidharatd authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make BoundedFrequencyRunner Run() really non-blocking
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46429, 46308, 46395, 45867, 45492) deduplicate endpoints before DNS registration **What this PR does / why we need it**: Multizone clusters will return duplicated endpoints to the federation controller manager. The FCM will then attempt to create an A record with duplicate entries, which will fail. As a result, federated services on multi-AZ clusters don't work right now. This PR deduplicates the endpoint IPs before attempting the DNS record registration. **Which issue this PR fixes**: fixes #35997 **Special notes for your reviewer**: I believe there is a lot of refactoring required with multizone federated clusters, most notably with regard to AWS and optimising for ALIAS records rather than A, but this PR will at least allow basic functionality to work. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46429, 46308, 46395, 45867, 45492) Controller history **What this PR does / why we need it**: Implements the ControllerRevision API object and clientset to allow for the implementation of StatefulSet update and DaemonSet history ```release-note ControllerRevision type added for StatefulSet and DaemonSet history. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46429, 46308, 46395, 45867, 45492) Implement FakeVolumePlugin's ConstructVolumeSpec method according to interface expectation. This fixes #45803 and #46204. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46429, 46308, 46395, 45867, 45492) Summary Test looks at pods that have containers that restart. Occasionally, the node can report extra containers that had been restarted through the summary API. This test change tests a pod that restarts, and hopefully should allow us to reproduce and debug this behavior. /assign @dchen1107 /release-note-none
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46429, 46308, 46395, 45867, 45492) Bump Go version to 1.8.3 This PR also removed this patched version of Go 1.8.1 which we used to use to workaround performance problem of Go 1.8.1. Fix https://github.com/kubernetes/kubernetes/issues/45216 Ref #46391 @timothysc @bradfitz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Panic server on watch errors during etcd test **What this PR does / why we need it**: This change makes it so that errors during watch decoding panic the server during the etcd storage test. This allows us to catch coder errors related to storing incompatible types at the same location in etcd. For example, https://github.com/kubernetes/kubernetes/pull/39164#discussion_r116619172 would have failed like so (instead of silently recording an error to the master log and passing the test): ``` I0518 14:39:32.413038 4654 storage_rbac.go:257] created rolebinding.rbac.authorization.k8s.io/system:controller:bootstrap-signer in kube-public panic: v1beta1.NetworkPolicy is not suitable for converting to {{"networking.k8s.io" "__internal"} [{"networking.k8s.io" ""} {"networking.k8s.io" ""}]} goroutine 799 [running]: k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.decodeObj(0x71146c0, 0xc420eb9d80, 0x7129340, 0x733cdf8, 0xc423708360, 0x118, 0x120, 0x86, 0x0, 0x0, ...) /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:382 +0x115 k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).prepareObjs(0xc420958f60, 0xc422ee9ef0, 0xc42003c600, 0x8a3b9b, 0x70f36c0, 0xc4209585a0, 0x4583f0, 0xc4215d0f58) /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:353 +0x2cd k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).transform(0xc420958f60, 0xc422ee9ef0, 0x0) /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:248 +0x4d k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).processEvent(0xc420958f60, 0xc420132010) /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:213 +0x122 created by k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).run /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:116 +0xe9 exit status 2 FAIL k8s.io/kubernetes/test/integration/etcd 13.065s Makefile:164: recipe for target 'test' failed ``` @liggitt PTAL Signed-off-by:
Monis Khan <mkhan@redhat.com> **Release note**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Bump elasticsearch and kibana to 5.4.0 **What this PR does / why we need it**: Updates elasticsearch and kibana docker image assets to 5.4.0 version **Release note**: ```release-note Upgrade Elasticsearch Addon to v5.4.0 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Support TCP type runtime endpoint for kubelet **What this PR does / why we need it**: Currently the grpc server for kubelet and dockershim has a hardcoded endpoint: unix socket '/var/run/dockershim.sock', which is not applicable on non-unix OS. This PR is to support TCP endpoint type besides unix socket. **Which issue this PR fixes** This is a first attempt to address issue https://github.com/kubernetes/kubernetes/issues/45927 **Special notes for your reviewer**: Before this change, running on Windows node results in: ``` Container Manager is unsupported in this build ``` After adding the cm stub, error becomes: ``` listen unix /var/run/dockershim.sock: socket: An address incompatible with the requested protocol was used. ``` This PR is to fix those two issues. After this change, still meets 'seccomp' related issue when running on Windows node, needs more updates later. **Release note**:
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Copy kubeconfig to kubemark master This should save the effort of digging through jenkins agent and its container to get the kubeconfig. Ideally we should have kubectl directly working on the kubemark master, but I'm facing some issues due to older version of kubectl present by default on the node. cc @wojtek-t @gmarek
-