1. 13 Feb, 2017 14 commits
  2. 12 Feb, 2017 2 commits
  3. 11 Feb, 2017 11 commits
  4. 10 Feb, 2017 13 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #41264 from andrewrynhard/fix_cluster_cidr · a6952bc9
      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
      a6952bc9
    • Kubernetes Submit Queue's avatar
      Merge pull request #41017 from luxas/symlink_hyperkube · 32dd68ad
      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
      32dd68ad
    • Kubernetes Submit Queue's avatar
      Merge pull request #36101 from jbeda/bootstrap-signer · 866aa735
      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
      866aa735
    • Kubernetes Submit Queue's avatar
      Merge pull request #41122 from sttts/sttts-meta-deepcopy · d7ae4161
      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.
      d7ae4161
    • Kubernetes Submit Queue's avatar
      Merge pull request #38252 from linyouchong/linyouchong-20161207 · c3d6b1ca
      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
      c3d6b1ca
    • Jacob Beacham's avatar
      Allow the CertificateController to use any Signer implementation. · 7682aa53
      Jacob Beacham authored
      This will allow developers to create CertificateControllers with
      arbitrary Signers, instead of forcing the use of CFSSLSigner.
      7682aa53
    • Derek McQuay's avatar
      kubeadm: changed manifest files to yaml · 7c4d1375
      Derek McQuay authored
      7c4d1375
    • Andrew Rynhard's avatar
      Fix cluster-cidr flag · 052ceee4
      Andrew Rynhard authored
      052ceee4
    • Kubernetes Submit Queue's avatar
      Merge pull request #41242 from wojtek-t/dont_always_backup · b88b31cf
      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
      b88b31cf
    • Kubernetes Submit Queue's avatar
      Merge pull request #41207 from mikedanese/rerevert · 3b7440ca
      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.
      3b7440ca
    • Kubernetes Submit Queue's avatar
      Merge pull request #41220 from errordeveloper/fix-hostname-preflight-check · 40f147fe
      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
      ```
      40f147fe
    • Kubernetes Submit Queue's avatar
      Merge pull request #40892 from hpcloud/vsphere_findbyuuid · 93bd6b3b
      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.
      ```
      93bd6b3b
    • Kubernetes Submit Queue's avatar
      Merge pull request #41223 from freehan/kube-proxy-skip · fad94086
      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.
      fad94086