- 01 Apr, 2017 1 commit
-
-
Antonio Murdaca authored
Signed-off-by:Antonio Murdaca <runcom@redhat.com>
-
- 20 Mar, 2017 5 commits
-
-
Antonio Murdaca authored
Signed-off-by:Antonio Murdaca <runcom@redhat.com>
-
Antonio Murdaca authored
Signed-off-by:Antonio Murdaca <runcom@redhat.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue GC: Fix re-adoption race when orphaning dependents. **What this PR does / why we need it**: The GC expects that once it sees a controller with a non-nil DeletionTimestamp, that controller will not attempt any adoption. There was a known race condition that could cause a controller to re-adopt something orphaned by the GC, because the controller is using a cached value of its own spec from before DeletionTimestamp was set. This fixes that race by doing an uncached quorum read of the controller spec just before the first adoption attempt. It's important that this read occurs after listing potential orphans. Note that this uncached read is skipped if no adoptions are attempted (i.e. at steady state). **Which issue this PR fixes**: Fixes #42639 **Special notes for your reviewer**: **Release note**: ```release-note ``` cc @kubernetes/sig-apps-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation] Fix deletion logic in service controller This is a regression from 1.5 exposed by cascading deletions. In order to apply updates, the service controller locks access to a cached service and spawns go routines without waiting for them. When updates and deletions arrive in quick succession, previous goroutines remain active and race with the deletion logic. Coupled with this, the service_helper was not re-evaluating the value of the DeletionTimestamp. Without this patch, federation will sometimes leak resources at destruction time about half the time. In e2e land, about 4-5 test runs cause service tests to eat up all global fwd-ing rules and in turn, every subsequent ingress test will fail until we manually clean up leaked resources. No possibility to go green in fed e2e until this is merged.
-
Christian Bell authored
This is a regression from 1.5 exposed by cascading deltions. In order to apply updates, the service controller locks access to a cached service and spawns go routines without waiting for them. When updates and deletions arrive in quick succession, previous goroutines remain active and race with the deletion logic. Coupled with this, the service_helper was not re-evaluating the value of the DeletionTimestamp. Without this patch, federation will sometimes leak resources at destruction time.
-
- 19 Mar, 2017 5 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43355, 42827) [Federation] Rewrite ReplicaSet CRUD and Preferences tests. I think `should create replicasets and rebalance them` test is still flaky. I still don't know the source of this flakiness. I will continue hunting. But it is a lot less flaky than before (or perhaps it even never passed before?). This PR could be merged now and flake hunting can happen in parallel. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43355, 42827) kubeadm: In-cluster DNS should be used when self-hosting **What this PR does / why we need it**: I noticed that the master components doesn't use the built-in cluster DNS which they really should do in order to be able to discover other services inside the cluster (like extension API Servers like service catalog). This is a really small change that fixes a misconfiguration that had slipped though earlier. **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 ``` @jbeda @bowei @MrHohn
-
Lucas Käldström authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubeadm: Default to v1.6.0 stable in offline scenarios in beforehand **What this PR does / why we need it**: In offline scenarios, kubeadm will fallback to the latest well-known version. This PR bumps that to v1.6. We can merge now, and in the small gap between the merge of this PR and the actual v1.6 release, kubeadm devs will have to explicitely set k8s version. **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 ``` @jbeda
-
Madhusudan.C.S authored
-
- 18 Mar, 2017 13 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation][e2e] Provide less strict timeouts on destruction paths The CI tests show that some timeouts are too strict. This PR harmonizes some of the "ForeverWaitTimeouts" in one place. The goal is to reduce the e2e flakiness.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Export KUBE_VERSION for consumption by get-kube-binaries.sh /assign @ixdy https://github.com/kubernetes/kubernetes/pull/43331 will not have any effect until we update get-kube.sh to export KUBE_VERSION
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix federated config map unit tests Fixes #41419 and #42847 and possibly other issues in this area. cc: @nikhiljindal @csbell @perotinus
-
Christian Bell authored
-
Erick Fejta authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43331, 43336) Mark failing PersistentVolumes:GCEPD tests flaky Move failing `PersistentVolumes:GCEPD` tests to flaky, Fixes https://github.com/kubernetes/kubernetes/issues/43200. PR https://github.com/kubernetes/kubernetes/pull/40609 incorrectly removed the flaky tag. PR https://github.com/kubernetes/kubernetes/pull/40924 re-added the flaky tag, but did not get all the tests. This PR marks these as flaky as well: ``` [k8s.io] PersistentVolumes [Volume][Serial] [k8s.io] PersistentVolumes:GCEPD should test that deleting a PVC before the pod does not cause pod deletion to fail on PD detach [k8s.io] PersistentVolumes [Volume][Serial] [k8s.io] PersistentVolumes:GCEPD should test that deleting the Namespace of a PVC and Pod causes the successful detach of Persistent Disk [k8s.io] PersistentVolumes [Volume][Serial] [k8s.io] PersistentVolumes:GCEPD should test that deleting the PV before the pod does not cause pod deletion to fail on PD detach ``` CC @copejon @jeffvance @kubernetes/sig-storage-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43331, 43336) Do not override KUBERNETES_RELEASE if already set /assign @ixdy If the user calls `get-kube.sh` with `KUBERNETES_RELEASE` and `KUBERNETES_RELEASE_URL` already set, continue to use these values.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42828, 43116) Apply taint tolerations for NoExecute for all static pods. Fixed https://github.com/kubernetes/kubernetes/issues/42753 **Release note**: ``` Apply taint tolerations for NoExecute for all static pods. ``` cc/ @davidopp
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update field descriptions of DaemonSet rolling udpate @kargakis @lukaszo @kubernetes/sig-apps-bugs
-
saadali authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Replace out of date security disclosure doc This document was inconsistent with the process described at https://kubernetes.io/security/, so I replaced its content with a link to the new process. /cc @liggitt @jessfraz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Give apiserver full access to kubelet API the kubelet stats API calls use both GET and POST. POST calls proxied through the API server were getting forbidden because only `get` was allowed. more broadly, the apiserver is responsible for proxying authorized API calls to the kubelet API... I think this means the apiserver should have access to all verbs on the kubelet subresources. Fixes #42045
-
Tim Hockin authored
Update obsolete links in README and PR template
-
- 17 Mar, 2017 16 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use storage.k8s.io/v1 in tests instead of v1beta1 This is trimmed version of #42477 and contains only tests of the new storage API. Together with #43285 it passes all dynamic provisioning tests on my GCE. I did not change vsphere_utils.go and vsphere_volume_diskformat.go as @divyenpatel runs master vsphere tests with Kubernetes 1.5 - @divyenpatel, did I get it right? @kubernetes/sig-storage-pr-reviews, @msau42, @ethernetdan ```release-note NONE ```
-
Anthony Yeh authored
The GC expects that once it sees a controller with a non-nil DeletionTimestamp, that controller will not attempt any adoption. There was a known race condition that could cause a controller to re-adopt something orphaned by the GC, because the controller is using a cached value of its own spec from before DeletionTimestamp was set. This fixes that race by doing an uncached quorum read of the controller spec just before the first adoption attempt. It's important that this read occurs after listing potential orphans. Note that this uncached read is skipped if no adoptions are attempted (i.e. at steady state).
-
Erick Fejta authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43313, 43257, 43271, 43307) Fix AWS untagged instances To revert to 1.5 behaviour we need to consider untagged instances if no clusterID has been specified or found. Fixes https://github.com/kubernetes/kubernetes/issues/43063 cc @justinsb
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43313, 43257, 43271, 43307) Remove 'all namespaces' meaning of empty list in PodAffinityTerm Removes the distinction between `null` and `[]` for the PodAffinityTerm#namespaces field (option 4 discussed in https://github.com/kubernetes/kubernetes/issues/43203#issuecomment-287237992), since we can't distinguish between them in protobuf (and it's a less than ideal API) Leaves the door open to reintroducing "all namespaces" function via a dedicated field or a dedicated token in the list of namespaces Wanted to get a PR open and tests green in case we went with this option. Not sure what doc/release-note is needed if the "all namespaces" function is not present in 1.6
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43313, 43257, 43271, 43307) Fix typo in kubefed init's example fixes #43256
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43313, 43257, 43271, 43307) In DaemonSet e2e tests, use Patch instead of Update to avoid conflict Fixes #43310 @marun @kargakis @lukaszo @kubernetes/sig-apps-bugs
-
Jordan Liggitt authored
-
Janet Kuo authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: Use v1.5-compatible ownership logic when listing dependents. **What this PR does / why we need it**: This restores compatibility between kubectl 1.6 and clusters running Kubernetes 1.5.x. It introduces transitional ownership logic in which the client considers ControllerRef when it exists, but does not require it to exist. If we were to ignore ControllerRef altogether (pre-1.6 client behavior), we would introduce a new failure mode in v1.6 because controllers that used to get stuck due to selector overlap will now make progress. For example, that means when reaping ReplicaSets of an overlapping Deployment, we would risk deleting ReplicaSets belonging to a different Deployment that we aren't about to delete. This transitional logic avoids such surprises in 1.6 clusters, and does no worse than kubectl 1.5 did in 1.5 clusters. To prevent this when kubectl 1.5 is used against 1.6 clusters, we can cherrypick this change. **Which issue this PR fixes**: Fixes #43159 **Special notes for your reviewer**: **Release note**: ```release-note ```
-
Janet Kuo authored
-
Janet Kuo authored
-
Dawn Chen authored
pods.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue e2e: bump the memory limit for kubelet The test is mainly for monitoring and tracking resource leaks. Bump the limit to account for variations in different settings.
-
Yu-Ju Hong authored
The test is mainly for monitoring and tracking resource leaks. Bump the limit to account for variations in different settings.
-
Anthony Yeh authored
-