1. 27 Oct, 2017 12 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #54585 from bradtopol/addprobeprestopnetworkingconform · 7d34b7a5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53730, 51608, 54459, 54534, 54585). 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>.
      
      Add probe, pre_stop, and networking related container annotations.
      Signed-off-by: 's avatarBrad Topol <btopol@us.ibm.com>
      
      Add probe, pre_stop, and networking related container annotations.
      
      /sig testing
      /area conformance
      @sig-testing-pr-reviews
      
      This PR adds probe, pre_stop, and networking related conformance annotations to the e2e test suite.
      
      The PR fixes a portion of #53822. It focuses on adding conformance annotations as defined by the Kubernetes Conformance Workgroup for a subset of the pod based e2e conformance tests.
      Special notes for your reviewer:
      
      Please see https://docs.google.com/spreadsheets/d/1WWSOqFaG35VmmPOYbwetapj1VPOVMqjZfR9ih5To5gk/edit#gid=62929400
      for the list of SIG Arch approved test names and descriptions that I am using.
      
      
      
      **Release note**:
      
      ```release-note NONE
      ```
      7d34b7a5
    • Kubernetes Submit Queue's avatar
      Merge pull request #54534 from bradtopol/addprojectedvolumeconform · fa6df94f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53730, 51608, 54459, 54534, 54585). 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>.
      
      Add conformance annotations for projected volume tests
      Signed-off-by: 's avatarBrad Topol <btopol@us.ibm.com>
      Add projected volume related conformance annotations
      
      /sig testing
      /area conformance
      @sig-testing-pr-reviews
      
      This PR adds projected volume related related conformance annotations to the e2e test suite.
      
      The PR fixes a portion of #53822. It focuses on adding conformance annotations as defined by the Kubernetes Conformance Workgroup for a subset of the pod based e2e conformance tests.
      Special notes for your reviewer:
      Please see https://docs.google.com/spreadsheets/d/1WWSOqFaG35VmmPOYbwetapj1VPOVMqjZfR9ih5To5gk/edit#gid=62929400
      for the list of SIG Arch approved test names and descriptions that I am using.
      
      **Release note**:
      
      ```release-note NONE
      ```
      fa6df94f
    • Kubernetes Submit Queue's avatar
      Merge pull request #54459 from andyzhangx/azure-change-default-pv-kind · d85fd8b2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53730, 51608, 54459, 54534, 54585). 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>.
      
      fix azure storage account num exhausting issue
      
      **What this PR does / why we need it**:
      If customer is using the default storage class of azure-disk, create lots of azure disk pvs by using default storage class of azure-disk, the storage account num would be exhausted in the azure subscription. Change default `kind` value of azure disk storge class from `Dedicated` to `Shared`, which means only a few storage accounts would be created even there are even hundreds of azure disk PVs.
      
      **Which issue this PR fixes**:
      fixes #54669
      fix storage account num exhausting issue when lots of azure disk pvs are created by using the default storage class of azure-disk
      
      **Special notes for your reviewer**:
      fix azure storage account num exhausting issue when lots of azure disk pvs are created by using the default storage class of azure-disk
      I would suggest also cherry pick this fix to v1.7, v1.8
      
      **Release note**:
      
      ```
      fix azure storage account num exhausting issue
      ```
      
      /sig azure
      @karataliu @rootfs @brendanburns
      d85fd8b2
    • Kubernetes Submit Queue's avatar
      Merge pull request #51608 from cofyc/rbd_attach_detach · 90a35f1d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53730, 51608, 54459, 54534, 54585). 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>.
      
      RBD Plugin: Implement Attacher/Detacher interfaces.
      
      **What this PR does / why we need it**:
      
      This PR continues @rootfs 's work in #33660. It implements volume.Attacher/Volume.Detacher interfaces to resolve RBD image locking and makes RBD plugin more robust.
      
      Summary of interfaces and what they do for RBD plugin:
      
      - Attacher.Attach(): does nothing
      - Attacher.VolumesAreAttached(): method to query volume attach status
      - Attacher.GetDeviceMountPath(): method to get device mount path 
      - Attacher.WaitForAttach(): kubelet maps the image on the node (and lock the image if needed)
      - Attacher.MountDevice(): kubelet mounts device at the device mount path
      - Detacher.UnmountDevice: kubelet unmounts device from the device mount path (currently, we need to unmaps image from the node here) (and unlock the image if needed)
      - Detacher.Detach(): does nothing
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      fixes #50142.
      
      **Special notes for your reviewer**:
      
      RBD changes:
      
        1) Modify rbdPlugin to implement volume.AttachableVolumePlugin interface.
        2) Add rbdAttacher/rbdDetacher structs to implement
        volume.Attacher/Detacher interfaces.
        3) Add mount.SafeFormatAndMount/mount.Exec fields to rbdPlugin, and setup them in
        rbdPlugin.Init for later uses. Attacher/Mounter/Unmounter/Detacher
        reference rbdPlugin to use mounter and exec. This simplifies
        code.
        4) Add testcase struct to abstract RBD Plugin test case, etc.
        5) Add newRBD constructor to unify rbd struct initialization.
      
      Non-RBD changes:
      
        1) Fix FakeMounter.IsLikelyNotMountPoint to return ErrNotExist if the
        directory does not exist. Mounter.IsLikelyNotMountPoint interface
        requires this, and RBD plugin depends on it.
        2) ~~Extend Detacher.Detach method to pass `*volume.Spec`, RBD plugin
        needs it to detach device from the node.~~
        3) ~~Extend Volume.Spec struct to include namespace string, RBD Plugin needs
        it to locate objects (e.g. secrets) in Pod's namespace.~~
        4) ~~Update RABC bootstrap policy to allow
        `system:controller:attachdetach-controller` cluster role to get
        Secrets object. RBD attach/detach needs to access secrets object in
        Pod's namespace.~~
      
      **Release note**:
      
      ```
      NONE
      ```
      90a35f1d
    • Kubernetes Submit Queue's avatar
      Merge pull request #53730 from bsteciuk/kubeadm-windows-e2e_node · 931bc9ed
      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>.
      
      Add Windows support to the system verification check
      
      **What this PR does / why we need it**:  This PR (in conjunction with https://github.com/kubernetes/kubernetes/pull/53553 ) adds initial support for adding a Windows worker node to a Kubernetes cluster using
       kubeadm.  It was suggested on that PR to open a separate PR for the changes in test/e2e_node for review by sig-node devs.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #364 in conjuction with #53553 
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Add Windows support to the system verification check
      ```
      931bc9ed
    • Kubernetes Submit Queue's avatar
      Merge pull request #51240 from andyzhangx/windows-abs-path · 87cefa08
      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>.
      
      allow windows mount path
      
      **What this PR does / why we need it**:
      Currently mount path onlly allow Linux absolute path,  allow windows mount path in this PR.
      This code snippet in kubelet will run in both Linux and Windows, so use IsAbs func to tell whether it's a absolute path is not sufficient as for k8s windows cluster, the master is Linux and agent is Windows node.
      
      **Special notes for your reviewer**:
      The example pod with mount path is like below:
      ```
      ---
      kind: Pod
      apiVersion: v1
      metadata:
        name: pod-uses-shared-hdd-5g
        labels:
          name: storage
      spec:
        containers:
        - image: microsoft/iis
          name: az-c-01
          volumeMounts:
          - name: blobdisk01
            mountPath: 'F:'
        nodeSelector:
          beta.kubernetes.io/os: windows
        volumes:
        - name: blobdisk01
          persistentVolumeClaim:
            claimName: pv-dd-shared-hdd-5
      ```
      
      
      **Release note**:
      
      ```release-note
      ```
      87cefa08
    • Kubernetes Submit Queue's avatar
      Merge pull request #54620 from xiangpengzhao/fix-toc-badformat · aabfc555
      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>.
      
      Fix bad format anchor in CHANGELOG
      
      **What this PR does / why we need it**:
      
      **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**:
      We should update the relnotes associated scripts.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      aabfc555
    • Kubernetes Submit Queue's avatar
      Merge pull request #54338 from bradtopol/addsecretlatencyconform · 4aee6080
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54112, 54150, 53816, 54321, 54338). 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>.
      
      Add service latency and secret related conformance annotations
      Signed-off-by: 's avatarBrad Topol <btopol@us.ibm.com>
      
      /sig testing
      /area conformance
      @sig-testing-pr-reviews
      
      This PR adds service latency and secret related conformance annotations to the e2e test suite.
      
      The PR fixes a portion of #53822. It focuses on adding conformance annotations as defined by the Kubernetes Conformance Workgroup for a subset of the pod based e2e conformance tests.
      Special notes for your reviewer:
      
      Please see https://docs.google.com/spreadsheets/d/1WWSOqFaG35VmmPOYbwetapj1VPOVMqjZfR9ih5To5gk/edit#gid=62929400
      for the list of SIG Arch approved test names and descriptions that I am using.
      
      **Release note**:
      
      ```release-note NONE
      ```
      4aee6080
    • Kubernetes Submit Queue's avatar
      Merge pull request #54321 from bradtopol/addexpansionserviceconform · 706d7b90
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54112, 54150, 53816, 54321, 54338). 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>.
      
      Add conformance annotations for expansion and service tests
      Signed-off-by: 's avatarBrad Topol <btopol@us.ibm.com>
      
      /sig testing
      /area conformance
      @sig-testing-pr-reviews
      
      This PR adds expansion and service test conformance annotations to the e2e test suite.
      
      The PR fixes a portion of #53822. It focuses on adding conformance annotations as defined by the Kubernetes Conformance Workgroup for a subset of the pod based e2e conformance tests.
      Special notes for your reviewer:
      Please see https://docs.google.com/spreadsheets/d/1WWSOqFaG35VmmPOYbwetapj1VPOVMqjZfR9ih5To5gk/edit#gid=62929400
      for the list of SIG Arch approved test names and descriptions that I am using.
      
      
      
      ```release-note NONE
      ```
      706d7b90
    • Kubernetes Submit Queue's avatar
      Merge pull request #53816 from marun/remove-federation · 51652d1c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54112, 54150, 53816, 54321, 54338). 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>.
      
      Remove federation
      
      This PR removes the federation codebase and associated tooling from the tree.
      
      The first commit just removes the `federation` path and should be uncontroversial.  The second commit removes references and associated tooling and suggests careful review.
      
      Requirements for merge:
      
      - [x] Bazel jobs no longer hard-code federation as a target ([test infra #4983](https://github.com/kubernetes/test-infra/pull/4983))
      - [x] `federation-e2e` jobs are not run by default for k/k
      
      **Release note**:
      
      ```release-note
      Development of Kubernetes Federation has moved to github.com/kubernetes/federation.  This move out of tree also means that Federation will begin releasing separately from Kubernetes.  The impact of this is Federation-specific behavior will no longer be included in kubectl, kubefed will no longer be released as part of Kubernetes, and the Federation servers will no longer be included in the hyperkube binary and image.
      ```
      
      cc: @kubernetes/sig-multicluster-pr-reviews @kubernetes/sig-testing-pr-reviews
      51652d1c
    • Kubernetes Submit Queue's avatar
      Merge pull request #54150 from ihmccreery/mdc-e2e · abe9d2f7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54112, 54150, 53816, 54321, 54338). 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>.
      
      Enable metadata concealment for tests
      
      **What this PR does / why we need it**: Metadata concealment is going to beta for v1.9; enable it by default in tests.  Also, just use `ENABLE_METADATA_CONCEALMENT` instead of two different vars.  Work toward #8867.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: none
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Metadata concealment on GCE is now controlled by the `ENABLE_METADATA_CONCEALMENT` env var.  See cluster/gce/config-default.sh for more info.
      ```
      abe9d2f7
    • Kubernetes Submit Queue's avatar
      Merge pull request #54112 from jianglingxia/jlx-kubelet · b3205553
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54112, 54150, 53816, 54321, 54338). 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>.
      
      correct the kubeDeps.Cloud instead of kcfg.Cloud
      
      **What this PR does / why we need it**:
      default to hostname if kubeDeps.Cloud == nil not kcfg.Cloud
      **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**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      b3205553
  2. 26 Oct, 2017 28 commits