- 10 Feb, 2017 40 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38252, 41122, 36101, 41017, 41264) Fix cluster-cidr flag **What this PR does / why we need it**: Fixes the kube-proxy daemonset config when using the `pod-network-cidr flag`. The return value of `getClusterCIDR` should be prefixed with a `-`. **Special notes for your reviewer**: None @luxas
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38252, 41122, 36101, 41017, 41264) Add alternative names for the server binaries to hyperkube **What this PR does / why we need it**: Right now one can't swap a server image to the hyperkube image without touching the `command` field in the yaml spec, and that's daunting and leading to extra and unnecessary logic for example in kubeadm. This makes the hyperkube image directly swappable, so now `/usr/local/bin/kube-*` is a portable first argument (or simply `kube-*` if there's a shell). **Special notes for your reviewer**: **Release note**: ```release-note Align the hyperkube image to support running binaries at /usr/local/bin/ like the other server images ``` @jessfraz @thockin @ixdy
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38252, 41122, 36101, 41017, 41264) BootstrapSigner and TokenCleaner controllers This is part of https://github.com/kubernetes/features/issues/130 and is an implementation of https://github.com/kubernetes/community/pull/189. Work that needs to be done yet in this PR: * [ ] ~~e2e tests~~ Will come in new PR. * [x] flag to disable this by default ```release-note Native support for token based bootstrap flow. This includes signing a well known ConfigMap in the `kube-public` namespace and cleaning out expired tokens. ``` @kubernetes/sig-cluster-lifecycle @dgoodwin @roberthbailey @mikedanese
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38252, 41122, 36101, 41017, 41264) Register deepcopy and defaulter funcs for metav1 Houston, we've had a problem here. ObjectMeta had used the reflection fallback path for deepcopy for probably some time. Remark: my original plan for https://github.com/kubernetes/kubernetes/pull/36412 was/is to rebase that during the master branch freeze for 1.6 and get it merged just before master opens again. Otherwise, I fear it will be rebase hell. With https://github.com/kubernetes/kubernetes/pull/36412 these kind of errors are not possible anymore.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38252, 41122, 36101, 41017, 41264) fix bug of runServer function in server.go What this PR does / why we need it: use parameter network instead of hardcode 'tcp' / the parameter network here is not equal to 'tcp' **Special notes for your reviewer**: NONE **Release note**: NONE
-
Andrew Rynhard authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41223, 40892, 41220, 41207, 41242) Backup etcd only before migration There is a bug currently that trigger backup on every run of a script (when we are running 2.2.1 version). @mml
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41223, 40892, 41220, 41207, 41242) reenable kubelet auth revert #41132 This reverts commit fd560782, reversing changes made to d953402c.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41223, 40892, 41220, 41207, 41242) kubeadm: preflight should only warn about unresolvable hostnames **What this PR does / why we need it**: This is quite often the case on AWS, and we really don't care if the hostname is resolvable or not. It's not an easy requirement to ask user to fix, and there is no functional penalty at the Kubernetes level, also it's possible that users fixes their host resolution eventually, we don't have to make them do so. **Special notes for your reviewer**: @dmmcquay @luxas PTAL
👍 **Release note**: ```release-note NONE ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41223, 40892, 41220, 41207, 41242) Fixes #40819 and Fixes #33114 **What this PR does / why we need it**: Start looking up the virtual machine by it's UUID in vSphere again. Looking up by IP address is problematic and can either not return a VM entirely, or could return the wrong VM. Retrieves the VM's UUID in one of two methods - either by a `vm-uuid` entry in the cloud config file on the VM, or via sysfs. The sysfs route requires root access, but restores the previous functionality. Multiple VMs in a vCenter cluster can share an IP address - for example, if you have multiple VM networks, but they're all isolated and use the same address range. Additionally, flannel network address ranges can overlap. vSphere seems to have a limitation of reporting no more than 16 interfaces from a virtual machine, so it's possible that the IP address list on a VM is completely untrustworthy anyhow - it can either be empty (because the 16 interfaces it found were veth interfaces with no IP address), or it can report the flannel IP. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # Fixes #40819 Fixes #33114 **Special notes for your reviewer**: **Release note**: ```release-note Reverts to looking up the current VM in vSphere using the machine's UUID, either obtained via sysfs or via the `vm-uuid` parameter in the cloud configuration file. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41223, 40892, 41220, 41207, 41242) skip iptables sync if no endpoint changes Alternative to https://github.com/kubernetes/kubernetes/pull/41173 fixes: #26637 No need to checksum. Just compare endpoint maps.
-
Joe Beda authored
This adds these to the list of controllers the Controller Manager can start. But as these are alpha, they are also currently disabled by default.
-
Joe Beda authored
-
Joe Beda authored
-
Joe Beda authored
-
Joe Beda authored
Move these form core API to a separate package (pkg/bootstrap/api). This also creates the constant for the new kube-public namespace.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add e2e test for external provisioners this is a retry of https://github.com/kubernetes/kubernetes/pull/39545 This time around: * take advantage of the system:persistent-volume-provisioner bootstrap cluster role to grant the external provisioner pod serviceaccount permissions * add storageclass suffix so that the first and third test don't conflict when one creates the storageclass with the same name before the other also tested more thoroughly myself on gce :) @jsafrane if you would like to re-review
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41248, 41214) Switch hpa controller to shared informer **What this PR does / why we need it**: switch the hpa controller to use a shared informer **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**: Only the last commit is relevant. The others are from #40759, #41114, #41148 **Release note**: ```release-note ``` cc @smarterclayton @deads2k @sttts @liggitt @DirectXMan12 @timothysc @kubernetes/sig-scalability-pr-reviews @jszczepkowski @mwielgus @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41248, 41214) Quick fix to node affinity matching Quick fix to #41171
-
Minhan Xia authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Improve the code coverage of /plugin/pkg/admission/deny part of #39559 refer to attachment for the coverage report: [combined-coverage.html.gz](https://github.com/kubernetes/kubernetes/files/746779/combined-coverage.html.gz)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41246, 39998) Cinder volume attacher: use instanceID instead of NodeID when verifying attachment **What this PR does / why we need it**: Cinder volume attacher incorrectly uses NodeID instead of openstack instance id, so that reconciliation fails. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #39978 **Special notes for your reviewer**: **Release note**: ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41246, 39998) Add more logs during the progress check @soltysh this is needed for debugging https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke/4460#k8sio-deployment-lack-of-progress-should-be-reported-in-the-deployment-status Probably the last set of logs I will need for this one. I have opened https://github.com/kubernetes/kubernetes/issues/41187 to reduce the verbosity level before 1.6 ships.
-
linyouchong authored
-
jayunit100 authored
-
Andy Goldstein authored
-
Andy Goldstein authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41236, 40992) Removed unnecessarly empty line.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add -- flag to test-e2e to send flags to kubetest ref https://github.com/kubernetes/test-infra/issues/1475 Will also do a PR for the docs in the community repo.
-
Michail Kargakis authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39418, 41175, 40355, 41114, 32325) add e2e tests for replicasets with weight, min and max replicas e2e test with weight, min and max replicas set #31904 #32014 @quinton-hoole @nikhiljindal @deepak-vij @kshafiee @mwielgus
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39418, 41175, 40355, 41114, 32325) Switch endpoints controller to shared informers cc @bprashanth @thockin @deads2k @sttts @liggitt @smarterclayton @kubernetes/sig-scalability-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39418, 41175, 40355, 41114, 32325) TaintController ```release-note This PR adds a manager to NodeController that is responsible for removing Pods from Nodes tainted with NoExecute Taints. This feature is beta (as the rest of taints) and enabled by default. It's gated by controller-manager enable-taint-manager flag. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39418, 41175, 40355, 41114, 32325) ResyncPeriod Comment ResyncPeriod Comment: // ResyncPeriod returns a function which generates a duration each time it is // invoked; this is so that multiple controllers don't get into lock-step and all // hammer the apiserver with list requests simultaneously.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39418, 41175, 40355, 41114, 32325) runtime.Object <-> Unstructured conversion Ref #39017
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41112, 41201, 41058, 40650, 40926) [Federation][e2e] Fix few flakes in federation e2e tests **What this PR does / why we need it**: Fixes few flakes in #37105 **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # partly fixes few test cases in the above mentioned issue. **Special notes for your reviewer**: While cleaning up in AfterEach Block some objects are returned while listing, but by the time the object is delete is issued the object is disappearing resulting in this flake occasionally. To fix this, we need to check if the err is NotFound while deleting, its ok and need not fail the test. **Release note**: `NONE` ```release-note ```
-