1. 01 Sep, 2018 29 commits
  2. 31 Aug, 2018 11 commits
    • Mike Danese's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #68100 from vishh/add-node-termination-handle · 2d7b92ee
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64283, 67910, 67803, 68100). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Adding GCE node termination handler as an optional addon. 
      
      This step is a pre-requisite for auto-deploying that addon in GKE
      
      cc @mikedanese
      2d7b92ee
    • Kubernetes Submit Queue's avatar
      Merge pull request #67803 from saad-ali/csiClusterReg3 · 85300f4f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64283, 67910, 67803, 68100). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      CSI Cluster Registry and Node Info CRDs
      
      **What this PR does / why we need it**:
      Introduces the new `CSIDriver` and `CSINodeInfo` API Object as proposed in https://github.com/kubernetes/community/pull/2514 and https://github.com/kubernetes/community/pull/2034
      
      **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 https://github.com/kubernetes/features/issues/594
      
      **Special notes for your reviewer**:
      Per the discussion in https://groups.google.com/d/msg/kubernetes-sig-storage-wg-csi/x5CchIP9qiI/D_TyOrn2CwAJ the API is being added to the staging directory of the `kubernetes/kubernetes` repo because the consumers will be attach/detach controller and possibly kubelet, but it will be installed as a CRD (because we want to move in the direction where the API server is Kubernetes agnostic, and all Kubernetes specific types are installed).
      
      **Release note**:
      
      ```release-note
      Introduce CSI Cluster Registration mechanism to ease CSI plugin discovery and allow CSI drivers to customize Kubernetes' interaction with them.
      ```
      
      CC @jsafrane
      85300f4f
    • Kubernetes Submit Queue's avatar
      Merge pull request #67910 from liztio/cert-renewal · 17dde46b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64283, 67910, 67803, 68100). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Kubeadm Cert Renewal
      
      **What this PR does / why we need it**:
      
      adds explicit support for renewal of certificates via command
      
      **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 kubernetes/kubeadm#206
      
      **Special notes for your reviewer**:
      The targeted documentation is at kubernetes/website#9712
      
      **Release note**:
      
      ```release-note
      Adds the commands `kubeadm alpha phases renew <cert-name>`
      ```
      17dde46b
    • Kubernetes Submit Queue's avatar
      Merge pull request #64283 from jessfraz/ProcMountType · 39004e85
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64283, 67910, 67803, 68100). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Add a ProcMount option to the SecurityContext & AllowedProcMountTypes to PodSecurityPolicy
      
      So there is a bit of a chicken and egg problem here in that the CRI runtimes will need to implement this for there to be any sort of e2e testing.
      
      **What this PR does / why we need it**: This PR implements design proposal https://github.com/kubernetes/community/pull/1934. This adds a ProcMount option to the SecurityContext and AllowedProcMountTypes to PodSecurityPolicy
      
      Relies on https://github.com/google/cadvisor/pull/1967
      
      **Release note**:
      
      ```release-note
      ProcMount added to SecurityContext and AllowedProcMounts added to PodSecurityPolicy to allow paths in the container's /proc to not be masked.
      ```
      
      cc @Random-Liu @mrunalp
      39004e85
    • Katharine Berry's avatar
      Update stale comment. · facce197
      Katharine Berry authored
      facce197
    • Katharine Berry's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #68117 from andyzhangx/azurefile-crsss-rg · e1a270d6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 68051, 68130, 67211, 68065, 68117). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      support cross resource group for azure file
      
      **What this PR does / why we need it**:
      support cross resource group for azure file: by `resourceGroup` field, azure cloud provider will create azure file on user specified resource group
      
      ```
      ---
      kind: StorageClass
      apiVersion: storage.k8s.io/v1
      metadata:
        name: azurefile-rg
      provisioner: kubernetes.io/azure-file
      parameters:
        resourceGroup: RESOURCE_GROUP_NAME
        storageAccount: EXISTING_STORAGE_ACCOUNT
      ```
      **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 #64428
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```
      resourcegroup parameter is added to AzureFile storage class to support azure file dyanmic provision in cross resource group.
      ```
      
      /kind bug
      /sig azure
      /assign @feiskyer 
      cd @khenidak
      e1a270d6
    • Kubernetes Submit Queue's avatar
      Merge pull request #68065 from wojtek-t/fix_unnecessary_too_old_rv_errors · 3966b8bb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 68051, 68130, 67211, 68065, 68117). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Fix unnecessary too-old-errors from watch cache
      
      When initializing watch cache via LIST, we set its resource version to the RV of the list request.
      However, before this PR, the first incoming watch event (updating the watch cache) was moving the "smallest oldest known version" to RV of that watch event. So watch requests passing rv equal to the RV returned from the initial list were failing with "too old resource version".
      That is not needed, because we know that in the meantime there weren't any other watch events.
      
      This PR is addressing that issue.
      
      /assign @liggitt
      3966b8bb
    • Kubernetes Submit Queue's avatar
      Merge pull request #67211 from juanvallejo/jvallejo/prototype-sorter · c6824961
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 68051, 68130, 67211, 68065, 68117). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Update `kubectl get` sorter to deal with server-side printing
      
      **Release note**:
      ```release-note
      NONE
      ```
      
      ### Why?
      
      Currently, we default to non-server-side printing when sorting items in `kubectl get`. This means that instead of taking advantage of having the server tell `kubectl` how to display information, `kubectl` falls back to using hardcoded resource types to figure out how to print its output. This does not really work with resources that `kubectl` does not know about, and it goes against our goal of snipping any dependencies that `kubectl` has on the core repo.
      
      This patch adds a sorter capable of dealing with Table objects sent by the server when using "server-side printing".
      
      A few things left to take care of:
      
      - ~~[ ] When printing `all` resources, this implementation does not handle sorting every single Table object, but rather _only_ the rows in each object. As a result, output will contain sorted resources of the same _kind_, but the overall list of mixed resources will _not_ itself be sorted. Example:~~
      
      ```bash
      $ kubectl get all --sort-by .metadata.name
      NAME            READY     STATUS    RESTARTS   AGE
      # pods here will be sorted:
      pod/bar         0/2       Pending   0          31m
      pod/foo         1/1       Running   0          37m
      
      NAME                        DESIRED   CURRENT   READY     AGE
      # replication controllers here will be sorted as well:
      replicationcontroller/baz   1         1         1         37m
      replicationcontroller/buz   1         1         1         37m
      
      # ... but the overall mixed list of rc's and pods will not be sorted
      ```
      This occurs because each Table object received from the server contains all rows for that resource _kind_. We would need a way to build an ambiguous Table object containing all rows for all objects regardless of their type to have a fully sorted mixed-object output.
      
      - [ ] handle sorting by column-names, rather than _only_ with jsonpaths (Tracked in https://github.com/kubernetes/kubernetes/issues/68027)
      
      cc @soltysh @kubernetes/sig-cli-maintainers @seans3 @mengqiy
      c6824961
    • Kubernetes Submit Queue's avatar
      Merge pull request #68130 from k82cn/k8s_68126 · d8502e06
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 68051, 68130, 67211, 68065, 68117). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Wait for Scheduler cache empty.
      Signed-off-by: 's avatarKlaus Ma <klaus1982.cn@gmail.com>
      
      **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 #68126 
      
      **Release note**:
      ```release-note
      None
      ```
      d8502e06