1. 06 Jun, 2018 4 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #64354 from mtaufen/dkcfg-safe-fields · 0e44d8c4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64009, 64780, 64354, 64727, 63650). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      per-field dynamic config advice
      
      Dynamic Kubelet config gives cluster admins and k8s-as-a-service providers a lot of flexibility around reconfiguring the Kubelet in live environments. With great power comes great responsibility. These comments intend to provide more nuanced guidance around using dynamic Kubelet config by adding items to consider when changing various fields and pointing out where cluster admins and k8s-as-service providers should maintain extra caution.
      
      @kubernetes/sig-node-pr-reviews PLEASE provide feedback and help fill in the blanks here, I don't have domain expertise in all of these features.
      
      https://github.com/kubernetes/features/issues/281
      
      ```release-note
      NONE
      ```
      0e44d8c4
    • Kubernetes Submit Queue's avatar
      Merge pull request #64780 from luxas/kubeadm_new_dropins · 216009fb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64009, 64780, 64354, 64727, 63650). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      kubeadm: Update the dropin for the kubelet in v1.11
      
      **What this PR does / why we need it**:
      One of the final pieces of https://github.com/kubernetes/kubeadm/issues/851, https://github.com/kubernetes/kubeadm/issues/847 and https://github.com/kubernetes/kubeadm/issues/822
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      (partially)
      Fixes https://github.com/kubernetes/kubeadm/issues/822
      
      **Special notes for your reviewer**: Please check whether this release note makes sense to you.
      
      **Release note**:
      
      ```release-note
      [action required] The structure of the kubelet dropin in the kubeadm deb package has changed significantly.
      Instead of hard-coding the parameters for the kubelet in the dropin, a structured configuration file
      for the kubelet is used, and is expected to be present in `/var/lib/kubelet/config.yaml`.
      For runtime-detected, instance-specific configuration values, a environment file with
      dynamically-generated flags at `kubeadm init` or `kubeadm join` run time is used.
      Finally, if the user wants to override something specific for the kubelet that can't be done via
      the kubeadm Configuration file (which is preferred), they might add flags to the 
      `KUBELET_EXTRA_ARGS` environment variable in either `/etc/default/kubelet`
      or `/etc/sysconfig/kubelet`, depending on the system you're running on.
      ```
      @kubernetes/sig-cluster-lifecycle-pr-reviews
      216009fb
    • Kubernetes Submit Queue's avatar
      Merge pull request #64009 from feiskyer/windows-security-context · 999b2da4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64009, 64780, 64354, 64727, 63650). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Kubelet: Add security context for Windows containers
      
      **What this PR does / why we need it**:
      
      This PR adds windows containers to Kubelet CRI and also implements security context setting for docker containers.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      RunAsUser from Kubernetes API only accept int64 today, which is not supported on Windows. It should be changed to intstr for working with both Windows and Linux containers in a separate PR.
      
      **Release note**:
      
      ```release-note
      Kubelet: Add security context for Windows containers
      ```
      
      /cc @PatrickLang @taylorb-microsoft @michmike @JiangtianLi @yujuhong @dchen1107
      999b2da4
    • Kubernetes Submit Queue's avatar
      Merge pull request #64732 from jingxu97/June/attachVolumeLimit · ad9722c4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Set GCE PD attachable volume limit based on machineType
      
      This PR implements the function to return attachable volume limit based
      on machineType for GCE PD. This is part of the design in kubernetes/community#2051/
      ad9722c4
  2. 05 Jun, 2018 36 commits