1. 04 Feb, 2017 11 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #40924 from copejon/pv-e2e-add-flaky-tag · 4810dded
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40906, 40924, 40938, 40902, 40911)
      
      Add [Flaky] tag to persistent volumes tests
      
      **What this PR does / why we need it**:
      Persistent Volume tests continue to flake in CI.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      ```release-note
      NONE
      ```
      4810dded
    • Kubernetes Submit Queue's avatar
      Merge pull request #40906 from du2016/checkAPIVersions · b40fed9e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40906, 40924, 40938, 40902, 40911)
      
      Check whether apiversions is empty
      
      What this PR does / why we need it:
      #39719 check whether apisversions get from /api is empty
      Special notes for your reviewer:
      @caesarxuchao
      b40fed9e
    • Kubernetes Submit Queue's avatar
      Merge pull request #40747 from krousey/upgrades · d6a4394b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add an upgrade test for secrets.
      
      **What this PR does / why we need it**: This PR adds an upgrade test for secrets. It creates a secret and makes sure that pods can consume it before an after an upgrade.
      d6a4394b
    • Kubernetes Submit Queue's avatar
      Merge pull request #40957 from janetkuo/test-e2e-owners · 807ed7bb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add Janet and Michail to test approver list
      
      @kargakis @fejta
      807ed7bb
    • Kubernetes Submit Queue's avatar
      Merge pull request #40727 from Random-Liu/handle-cri-in-place-upgrade · 4796c7b4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      CRI: Handle cri in-place upgrade
      
      Fixes https://github.com/kubernetes/kubernetes/issues/40051.
      
      ## How does this PR restart/remove legacy containers/sandboxes?
      With this PR, dockershim will convert and return legacy containers and infra containers as regular containers/sandboxes. Then we can rely on the SyncPod logic to stop the legacy containers/sandboxes, and the garbage collector to remove the legacy containers/sandboxes.
      
      To forcibly trigger restart:
      * For infra containers, we manually set `hostNetwork` to opposite value to trigger a restart (See [here](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kuberuntime/kuberuntime_manager.go#L389))
      * For application containers, they will be restarted with the infra container.
      ## How does this PR avoid extra overhead when there is no legacy container/sandbox?
      For the lack of some labels, listing legacy containers needs extra `docker ps`. We should not introduce constant performance regression for legacy container cleanup. So we added the `legacyCleanupFlag`:
      * In `ListContainers` and `ListPodSandbox`, only do extra `ListLegacyContainers` and `ListLegacyPodSandbox` when `legacyCleanupFlag` is `NotDone`.
      * When dockershim starts, it will check whether there are legacy containers/sandboxes.
        * If there are none, it will mark `legacyCleanupFlag` as `Done`.
        * If there are any, it will leave `legacyCleanupFlag` as `NotDone`, and start a goroutine periodically check whether legacy cleanup is done.
      This makes sure that there is overhead only when there are legacy containers/sandboxes not cleaned up yet.
      
      ## Caveats
      * In-place upgrade will cause kubelet to restart all running containers.
      * RestartNever container will not be restarted.
      * Garbage collector sometimes keep the legacy containers for a long time if there aren't too many containers on the node. In that case, dockershim will keep performing extra `docker ps` which introduces overhead.
        * Manually remove all legacy containers will fix this.
        * Should we garbage collect legacy containers/sandboxes in dockershim by ourselves? /cc @yujuhong 
      * Host port will not be reclaimed for the lack of checkpoint for legacy sandboxes. https://github.com/kubernetes/kubernetes/pull/39903 /cc @freehan 
      
      /cc @yujuhong @feiskyer @dchen1107 @kubernetes/sig-node-api-reviews 
      **Release note**:
      
      ```release-note
      We should mention the caveats of in-place upgrade in release note.
      ```
      4796c7b4
    • Kubernetes Submit Queue's avatar
      Merge pull request #40935 from liggitt/sar-subresource · 67859efa
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Plumb subresource through subjectaccessreview
      
      plumb all fields for subjectaccessreview into the resulting `authorizer.AttributesRecord`
      
      ```release-note
      The SubjectAccessReview API passes subresource and resource name information to the authorizer to answer authorization queries.
      ```
      67859efa
    • Janet Kuo's avatar
      Add Janet and Michail to test approver list · 86a6d1a7
      Janet Kuo authored
      86a6d1a7
    • Kubernetes Submit Queue's avatar
      Merge pull request #40945 from colemickens/cmpr-azure-doc-storageclass · 7028abc5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      examples: PV docs clarify Azure storage account restriction
      
      **What this PR does / why we need it**: One line doc fix, clarifies a constraint for using `AzureDisk` volumes.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #40276
      
      **Special notes for your reviewer**: None
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      cc: @rootfs @otaviosoares
      7028abc5
    • Kubernetes Submit Queue's avatar
      Merge pull request #40894 from MHBauer/groupmetafactoryargs-doc · 55480054
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      GroupMetaFactoryArgs documentation
      
      **What this PR does / why we need it**:
      Documentation for people writing new API-Groups.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: documentation
      
      **Special notes for your reviewer**:
      @deads2k @pmorie my thoughts from writing the service-catalog apiserver.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      55480054
    • Kubernetes Submit Queue's avatar
      Merge pull request #40842 from spxtr/tidy · ef54fbd0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Tidy up the main README.
      
      Removed the coveralls link since it hasn't been updated in a few years. Made some punctuation more consistent.
      **Release note**:
      ```release-note
      NONE
      ```
      ef54fbd0
    • Kubernetes Submit Queue's avatar
      Merge pull request #40655 from vishh/flag-gate-critical-pod-annotation · f20b4fc6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Optionally avoid evicting critical pods in kubelet
      
      For #40573
      
      ```release-note
      When feature gate "ExperimentalCriticalPodAnnotation" is set, Kubelet will avoid evicting pods in "kube-system" namespace that contains a special annotation - `scheduler.alpha.kubernetes.io/critical-pod`
      This feature should be used in conjunction with the rescheduler to guarantee availability for critical system pods - https://kubernetes.io/docs/admin/rescheduler/
      ```
      f20b4fc6
  2. 03 Feb, 2017 29 commits