1. 09 Nov, 2017 31 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #49429 from enisoc/dedup-rc-rs · 3e315aa0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54773, 52523, 47497, 55356, 49429). 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>.
      
      Deduplicate RC/RS controller code.
      
      The code was already 99% similar between RC and RS. This is a wild idea to try to deduplicate the two controllers in a type-safe manner without adding tons of boilerplate, and without using code generation.
      
      They are still separate resources and separate worker pools. This is a refactor that isn't intended to change any behavior.
      
      ```release-note
      ReplicationController now shares its underlying controller implementation with ReplicaSet to reduce the maintenance burden going forward. However, they are still separate resources and there should be no externally visible effects from this change.
      ```
      
      ref #49429
      3e315aa0
    • Kubernetes Submit Queue's avatar
      Merge pull request #55356 from ericchiang/cert-manager-reduce-backoff · 0ff21718
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54773, 52523, 47497, 55356, 49429). 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>.
      
      certificate manager: reduce max backoff from 128s to 32s
      
      For TLS bootstrapping in bootkube we run a kubelet with a control plane run through static pods. That static control plane has an API server and controller manager that approve the kubelet's CSR.
      
      Since the kubelet has to wait for the static control plane to come up to be approved, we hit this backoff every time and it actually adds a notable overhead to startup times.
      
      https://github.com/kubernetes-incubator/bootkube/pull/663
      
      If this choice is somewhat arbitrary, I'd like to see it lowered for 1.9.
      
      /assign @jcbsmpsn @mikedanese 
      
      ```release-note
      NONE
      ```
      0ff21718
    • Kubernetes Submit Queue's avatar
      Merge pull request #47497 from mikedanese/binary · f7dc3966
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54773, 52523, 47497, 55356, 49429). 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>.
      
      don't check in mounter binary
      
      ```release-note
      GCI mounter is moved from the manifests tarball to the server tarball.
      ```
      f7dc3966
    • Kubernetes Submit Queue's avatar
      Merge pull request #52523 from NickrenREN/ephemeral-storage-e2e · b616dff2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54773, 52523, 47497, 55356, 49429). 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 ephemeral storage e2e tests
      
      Add e2e tests of limitrange/quota/downward_api for local ephemeral storage
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: part of #52463
      
      **Special notes for your reviewer**:
      Add e2e tests of limitrange/quota/downwardapi for local ephemeral storage
      
      **Release note**:
      ```release-note
      Add limitrange/resourcequota/downward_api  e2e tests for local ephemeral storage
      ```
      
      /assign @jingxu97
      b616dff2
    • Kubernetes Submit Queue's avatar
      Merge pull request #54773 from phsiao/dns_options_handling · 3b359fb6
      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>.
      
      Support copying "options" in resolv.conf into pod sandbox when dnsPolicy is Default
      
      **What this PR does / why we need it**:
      
      This PR adds support for copying "options" from host's /etc/resolv.conf (or --resolv-conf) into pod's resolv.conf when dnsPolicy is Default.  Being able to customize options is important because it is common to leverage options to fine-tune the behavior of DNS client.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #42542
      
      **Special notes for your reviewer**:
      
      I originally wanted to also tackle the issue of copying options for when dnsPolicy is ClusterFirst, but with ability to "merge" with default options (ndots:5 more specifically) when it makes sense.  I decided to leave it off for now because the "merging" may need more discussions.   Happy to add that to this PR or create another PR for that if it makes sense and is clear what should be done.   I think even when dnsPolicy is ClusterFirst it is important to allow customization.
      
      **Release note**:
      
      ```kubelet: add support for copying "options" from /etc/resolv.conf (or --resolv-conf if it is used) into pod's /etc/resolv.conf when dnsPolicy is Default.```
      3b359fb6
    • Kubernetes Submit Queue's avatar
      Merge pull request #55352 from shyamjvs/remove-cluster-ip-range-hack · a8b355cf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55092, 55348, 55095, 55277, 55352). 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 hack for CLUSTER_IP_RANGE in e2e framework no longer needed
      
      As discussed in https://github.com/kubernetes/test-infra/pull/5386#discussion_r149523537, we no longer need it as we're using the flag to pass the value.
      
      /cc @krzyzacy
      a8b355cf
    • Kubernetes Submit Queue's avatar
      Merge pull request #55277 from mikedanese/cleanup · 21caeae7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55092, 55348, 55095, 55277, 55352). 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>.
      
      proxy: cleanup old build file
      
      this is cruft from when we moved the apigroup.
      
      ```release-note
      NONE
      ```
      21caeae7
    • Kubernetes Submit Queue's avatar
      Merge pull request #55095 from smarterclayton/fix_mac · 73d53678
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55092, 55348, 55095, 55277, 55352). 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 unit tests on darwin / non-linux platforms
      73d53678
    • Kubernetes Submit Queue's avatar
      Merge pull request #55348 from jpbetz/fix-testcrd-race · 8a9d4491
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55092, 55348, 55095, 55277, 55352). 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 data race in TestCRD
      
      Fix this race:
      ```
      ==================
      WARNING: DATA RACE
      Write at 0x00c42a845350 by goroutine 748:
        k8s.io/kubernetes/cmd/kube-apiserver/app/testing.TestCRD()
            cmd/kube-apiserver/app/testing/server_test.go:257 +0x15da
        testing.tRunner()
            /root/.cache/bazel/_bazel_root/e9f728bbd90b3fba632eb31b20e1dacd/external/go_sdk/src/testing/testing.go:746 +0x16c
      
      Previous write at 0x00c42a845350 by goroutine 481:
        k8s.io/kubernetes/cmd/kube-apiserver/app/testing.TestCRD.func2()
            cmd/kube-apiserver/app/testing/server_test.go:250 +0x241
      ```
      
      Related to #54095
      8a9d4491
    • Kubernetes Submit Queue's avatar
      Merge pull request #55092 from mengqiy/refactor_factory · 2ee10cc7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55092, 55348, 55095, 55277, 55352). 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>.
      
      refactor build in kubectl factory
      
      Refactor kubectl factory and resource builder.
      
      This will be helpful for `kinflate`.
      
      ```release-note
      NONE
      ```
      
      /assign @monopole
      2ee10cc7
    • Kubernetes Submit Queue's avatar
      Merge pull request #55125 from oracle/for/upstream/master/#55124 · d0cf4de5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55301, 55319, 54018, 55322, 55125). 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 support for configmap resource lock type to CCM
      
      **What this PR does / why we need it**: 
      
      Adds support for configmap resource locks which can be specified currently via CLI args to the CCM. Currently the `--leader-elect-resource-lock=configmaps` is ignored. 
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #55124
      
      ```release-note
      Fix support for configmap resource lock type in CCM
      ```
      
      /cc @wlan0 @luxas @andrewsykim 
      
      @prydie 
      
      
      Output after running with this flag. 
      ```
      $ kubectl -n kube-system get cm cloud-controller-manager -oyaml
      apiVersion: v1
      kind: ConfigMap
      metadata:
        annotations:
          control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"<host>-external-cloud-controller","leaseDurationSeconds":15,"acquireTime":"2017-11-06T00:14:41Z","renewTime":"2017-11-06T00:17:54Z","leaderTransitions":0}'
        creationTimestamp: 2017-11-06T00:14:41Z
        name: cloud-controller-manager
        namespace: kube-system
        resourceVersion: "2548197"
        selfLink: /api/v1/namespaces/kube-system/configmaps/cloud-controller-manager
        uid: 7c4cfe24-c287-11e7-99e4-0000170192f0
      ```
      d0cf4de5
    • Kubernetes Submit Queue's avatar
      Merge pull request #55322 from deads2k/demo-2 · ddcb1f0c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55301, 55319, 54018, 55322, 55125). 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 webhook admission in local up cluster
      
      Adds GenericAdmissionWebhook to the default admission to match the initializers already present.  This is a no-op unless someone actually chooses to create an admission webhook via config.
      ddcb1f0c
    • Kubernetes Submit Queue's avatar
      Merge pull request #54018 from vmware/vSphereScaleTest · 1c9d6f53
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55301, 55319, 54018, 55322, 55125). 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>.
      
      E2E scale test for vSphere Cloud Provider Volume lifecycle operations
      
      This PR adds an E2E test for vSphere Cloud Provider which will create/attach/detach/detach the volumes at scale with multiple threads based on user configurable values for number of volumes, volumes per pod and number of threads. (Since this is a scale test, number of threads would be low. This is only used to speed up the operation)
      
      Test performs following tasks.
      
      1. Create Storage Classes of 4 Categories (Default, SC with Non Default Datastore, SC with SPBM Policy, SC with VSAN Storage Capalibilies.)
      2. Read VCP_SCALE_VOLUME_COUNT from System Environment.
      3. Launch VCP_SCALE_INSTANCES go routines for creating VCP_SCALE_VOLUME_COUNT volumes. Each go routine is responsible for create/attach of VCP_SCALE_VOLUME_COUNT/VCP_SCALE_INSTANCES volumes.
      4. Read VCP_SCALE_VOLUMES_PER_POD from System Environment. Each pod will be have VCP_SCALE_VOLUMES_PER_POD attached to it.
      5. Once all the go routines are completed, we delete all the pods and volumes.
      
      Which issue this PR fixes
      fixes # vmware#291
      
      ```release-note
      None
      ```
      1c9d6f53
    • Kubernetes Submit Queue's avatar
      Merge pull request #55319 from shyamjvs/add-shyamjvs-to-test-owners · 62575414
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55301, 55319, 54018, 55322, 55125). 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 shyamjvs to test/OWNERS
      
      I've been reviewing quite some PRs recently and have reviewed many in the past. + I have >80 commits in this code path (git log test | grep "shyamjvs@google.com") touching various parts including e2e/framework, utils, perftype, kubemark, e2e fixes from other SIGs (mostly in regard of scalability).
      
      /cc @gmarek @spiffxp @krzyzacy @kubernetes/sig-testing-misc
      62575414
    • Kubernetes Submit Queue's avatar
      Merge pull request #55301 from xiangpengzhao/bump-min-go · 7e1ef2f1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55301, 55319, 54018, 55322, 55125). 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>.
      
      Bump minimum supported go version to 1.9.1
      
      **What this PR does / why we need it**:
      If #55293 gets merged, we should bump minimum_go_version to 1.9.1
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      ref: #51375 https://github.com/kubernetes/kubernetes/pull/55293#issuecomment-342723106
      
      **Special notes for your reviewer**:
      /cc @cblecker @ixdy @luxas 
      
      **Release note**:
      
      ```release-note
      The minimum supported go version bumps to 1.9.1.
      ```
      7e1ef2f1
    • Kubernetes Submit Queue's avatar
      Merge pull request #55311 from CaoShuFeng/scheduler-trivial · 4886a709
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53747, 54528, 55279, 55251, 55311). 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>.
      
      [trivil] fix comment in kube-scheduler
      
      **Release note**:
      ```
      NONE
      ```
      4886a709
    • Kubernetes Submit Queue's avatar
      Merge pull request #55251 from deads2k/admission-13-toleration · 412271d4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53747, 54528, 55279, 55251, 55311). 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>.
      
      update podtolerations admission to mutate and validate separately
      
      Updates the podtolerations admission plugin to mutate and validate separately.  This also fixes the bug where the toleration whitelist isn't respected for memory pressure.
      
      ```release-note-action-required
      The `node.kubernetes.io/memory-pressure` taint now respects the configured whitelist.  If you need to use it, you'll have to add it to the whitelist.
      ```
      412271d4
    • Kubernetes Submit Queue's avatar
      Merge pull request #55279 from spxtr/ImperialToSI · d1ba5447
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53747, 54528, 55279, 55251, 55311). 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>.
      
      Stop running unit tests outside of Bazel.
      
      We tried this a while ago, but had to revert because Bazel did not have
      race detection. Now it does.
      
      Previous issue: #40602 and #52443
      
      Relevant parties: @ixdy @mikedanese @smarterclayton @deads2k @liggitt 
      
      /sig testing
      
      ```release-note
      NONE
      ```
      d1ba5447
    • Kubernetes Submit Queue's avatar
      Merge pull request #54528 from yanxuean/ds-cm-typo · f47a54e8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53747, 54528, 55279, 55251, 55311). 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>.
      
      a typo in dockershim.cm.containerManager.doWork
      Signed-off-by: 's avataryanxuean <yan.xuean@zte.com.cn>
      
      **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**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /sig node
      f47a54e8
    • Kubernetes Submit Queue's avatar
      Merge pull request #53747 from vmware/bulkverify_test · 8fee4d1d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53747, 54528, 55279, 55251, 55311). 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>.
      
      Adding e2e test to verify volume attach status after master kubelet restart
      
      **What this PR does / why we need it**:
      This PR adds test to verify volume remains attached after the kubelet is restarted on master node.
      
      **Which issue this PR fixes** : 
      fixes vmware#274
      
      **Special notes for your reviewer**:
      This test does not run as part of existing sig-storage test grid. It has been tested internally at VMware.
      Test logs
      ```
      root@k8s-dev-vm-01:~/shahzeb/k8s/kubernetes# go run hack/e2e.go --check-version-skew=false -v -test --test_args='--ginkgo.focus=Volume\sAttach\sVerify'
      flag provided but not defined: -check-version-skew
      Usage of /tmp/go-build395888807/command-line-arguments/_obj/exe/e2e:
        -get
          	go get -u kubetest if old or not installed (default true)
        -old duration
          	Consider kubetest old if it exceeds this (default 24h0m0s)
      2017/10/11 12:14:05 e2e.go:55: NOTICE: go run hack/e2e.go is now a shim for test-infra/kubetest
      2017/10/11 12:14:05 e2e.go:56:   Usage: go run hack/e2e.go [--get=true] [--old=24h0m0s] -- [KUBETEST_ARGS]
      2017/10/11 12:14:05 e2e.go:57:   The separator is required to use --get or --old flags
      2017/10/11 12:14:05 e2e.go:58:   The -- flag separator also suppresses this message
      2017/10/11 12:14:05 e2e.go:151: The kubetest binary is older than 24h0m0s.
      2017/10/11 12:14:05 e2e.go:156: Updating kubetest binary...
      2017/10/11 12:14:13 e2e.go:77: Calling kubetest --check-version-skew=false -v -test --test_args=--ginkgo.focus=Volume\sAttach\sVerify...
      2017/10/11 12:14:13 util.go:154: Running: ./cluster/kubectl.sh --match-server-version=false version
      2017/10/11 12:14:13 util.go:156: Step './cluster/kubectl.sh --match-server-version=false version' finished in 493.364761ms
      2017/10/11 12:14:13 util.go:154: Running: ./hack/e2e-internal/e2e-status.sh
      Skeleton Provider: prepare-e2e not implemented
      Client Version: version.Info{Major:"1", Minor:"6+", GitVersion:"v1.6.0-alpha.0.17307+d274c30f81d1c2", GitCommit:"d274c30f81d1c2d966dc950014ac90f8fad140f7", GitTreeState:"clean", BuildDate:"2017-10-11T18:57:31Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
      Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.5", GitCommit:"490c6f13df1cb6612e0993c4c14f2ff90f8cdbf3", GitTreeState:"clean", BuildDate:"2017-06-14T20:03:38Z", GoVersion:"go1.7.6", Compiler:"gc", Platform:"linux/amd64"}
      2017/10/11 12:14:14 util.go:156: Step './hack/e2e-internal/e2e-status.sh' finished in 352.041653ms
      2017/10/11 12:14:14 util.go:154: Running: ./hack/ginkgo-e2e.sh --ginkgo.focus=Volume\sAttach\sVerify
      Conformance test: not doing test setup.
      Oct 11 12:14:15.478: INFO: Overriding default scale value of zero to 1
      Oct 11 12:14:15.478: INFO: Overriding default milliseconds value of zero to 5000
      I1011 12:14:15.692022   29999 e2e.go:383] Starting e2e run "5f33ad5b-aeb8-11e7-9f17-0050569c27f6" on Ginkgo node 1
      Running Suite: Kubernetes e2e suite
      ===================================
      Random Seed: 1507749254 - Will randomize all specs
      Will run 1 of 709 specs
      
      Oct 11 12:14:15.744: INFO: >>> kubeConfig: /tmp/kube204.json
      Oct 11 12:14:15.751: INFO: Waiting up to 4h0m0s for all (but 0) nodes to be schedulable
      Oct 11 12:14:15.861: INFO: Waiting up to 10m0s for all pods (need at least 0) in namespace 'kube-system' to be running and ready
      Oct 11 12:14:16.067: INFO: 4 / 4 pods in namespace 'kube-system' are running and ready (0 seconds elapsed)
      Oct 11 12:14:16.067: INFO: expected 0 pod replicas in namespace 'kube-system', 0 are Running and Ready.
      Oct 11 12:14:16.077: INFO: Waiting for pods to enter Success, but no pods in "kube-system" match label map[name:e2e-image-puller]
      Oct 11 12:14:16.077: INFO: Dumping network health container logs from all nodes...
      Oct 11 12:14:16.083: INFO: Client version: v1.6.0-alpha.0.17307+d274c30f81d1c2
      Oct 11 12:14:16.086: INFO: Server version: v1.6.5
      SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
      ------------------------------
      [sig-storage] Volume Attach Verify [Feature:vsphere]
        verify volume remains attached after master kubelet restart
        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_volume_master_restart.go:144
      [BeforeEach] [sig-storage] Volume Attach Verify [Feature:vsphere]
        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:133
      STEP: Creating a kubernetes client
      Oct 11 12:14:16.087: INFO: >>> kubeConfig: /tmp/kube204.json
      STEP: Building a namespace api object
      STEP: Waiting for a default service account to be provisioned in namespace
      [BeforeEach] [sig-storage] Volume Attach Verify [Feature:vsphere]
        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_volume_master_restart.go:81
      Oct 11 12:14:16.265: INFO: Waiting up to 4h0m0s for all (but 0) nodes to be schedulable
      [It] verify volume remains attached after master kubelet restart
        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_volume_master_restart.go:144
      STEP: Creating a test vsphere volume 0
      STEP: Creating pod 0 on node kubernetes-node1
      STEP: Waiting for pod to be ready
      STEP: Verify volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749256431387056.vmdk is attached to the pod kubernetes-node1
      STEP: Creating a test vsphere volume 1
      STEP: Creating pod 1 on node kubernetes-node2
      STEP: Waiting for pod to be ready
      STEP: Verify volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749281940603428.vmdk is attached to the pod kubernetes-node2
      STEP: Creating a test vsphere volume 2
      STEP: Creating pod 2 on node kubernetes-node3
      STEP: Waiting for pod to be ready
      STEP: Verify volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749305162880964.vmdk is attached to the pod kubernetes-node3
      STEP: Creating a test vsphere volume 3
      STEP: Creating pod 3 on node kubernetes-node4
      STEP: Waiting for pod to be ready
      STEP: Verify volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749330788801099.vmdk is attached to the pod kubernetes-node4
      STEP: Restarting kubelet on master node
      Oct 11 12:16:12.239: INFO: Restarting kubelet via ssh on host 10.192.113.70:22 with command systemctl restart kubelet
      STEP: Verifying the kubelet on master node is up
      Oct 11 12:16:13.318: INFO: ssh root@10.192.113.70:22: command:   curl http://localhost:10255/healthz
      Oct 11 12:16:13.318: INFO: ssh root@10.192.113.70:22: stdout:    ""
      Oct 11 12:16:13.318: INFO: ssh root@10.192.113.70:22: stderr:    "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 10255: Connection refused\n"
      Oct 11 12:16:13.318: INFO: ssh root@10.192.113.70:22: exit code: 7
      STEP: After master restart, verify volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749256431387056.vmdk is attached to the pod kubernetes-node1
      STEP: Deleting pod on node kubernetes-node1
      Oct 11 12:16:18.538: INFO: Deleting pod "vsphere-e2e-pwjr1" in namespace "e2e-tests-restart-master-j9x0f"
      Oct 11 12:16:18.559: INFO: Wait up to 5m0s for pod "vsphere-e2e-pwjr1" to be fully deleted
      STEP: Waiting for volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749256431387056.vmdk to be detached from the node kubernetes-node1
      Oct 11 12:17:10.686: INFO: Volume "[vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749256431387056.vmdk" appears to have successfully detached from "kubernetes-node1".
      STEP: Deleting volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749256431387056.vmdk
      STEP: After master restart, verify volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749281940603428.vmdk is attached to the pod kubernetes-node2
      STEP: Deleting pod on node kubernetes-node2
      Oct 11 12:17:11.614: INFO: Deleting pod "vsphere-e2e-vqkbp" in namespace "e2e-tests-restart-master-j9x0f"
      Oct 11 12:17:11.624: INFO: Wait up to 5m0s for pod "vsphere-e2e-vqkbp" to be fully deleted
      STEP: Waiting for volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749281940603428.vmdk to be detached from the node kubernetes-node2
      Oct 11 12:17:55.748: INFO: Volume "[vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749281940603428.vmdk" appears to have successfully detached from "kubernetes-node2".
      STEP: Deleting volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749281940603428.vmdk
      STEP: After master restart, verify volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749305162880964.vmdk is attached to the pod kubernetes-node3
      STEP: Deleting pod on node kubernetes-node3
      Oct 11 12:17:56.051: INFO: Deleting pod "vsphere-e2e-fkrzb" in namespace "e2e-tests-restart-master-j9x0f"
      Oct 11 12:17:56.069: INFO: Wait up to 5m0s for pod "vsphere-e2e-fkrzb" to be fully deleted
      STEP: Waiting for volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749305162880964.vmdk to be detached from the node kubernetes-node3
      Oct 11 12:18:38.199: INFO: Volume "[vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749305162880964.vmdk" appears to have successfully detached from "kubernetes-node3".
      STEP: Deleting volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749305162880964.vmdk
      STEP: After master restart, verify volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749330788801099.vmdk is attached to the pod kubernetes-node4
      STEP: Deleting pod on node kubernetes-node4
      Oct 11 12:18:38.541: INFO: Deleting pod "vsphere-e2e-4cb0d" in namespace "e2e-tests-restart-master-j9x0f"
      Oct 11 12:18:38.556: INFO: Wait up to 5m0s for pod "vsphere-e2e-4cb0d" to be fully deleted
      STEP: Waiting for volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749330788801099.vmdk to be detached from the node kubernetes-node4
      Oct 11 12:19:22.672: INFO: Volume "[vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749330788801099.vmdk" appears to have successfully detached from "kubernetes-node4".
      STEP: Deleting volume [vsanDatastore] 8c95d659-46fa-b9a6-5e19-02002f28e688/e2e-vmdk-1507749330788801099.vmdk
      [AfterEach] [sig-storage] Volume Attach Verify [Feature:vsphere]
        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134
      Oct 11 12:19:23.460: INFO: Waiting up to 3m0s for all (but 0) nodes to be ready
      STEP: Destroying namespace "e2e-tests-restart-master-j9x0f" for this suite.
      Oct 11 12:19:29.544: INFO: namespace: e2e-tests-restart-master-j9x0f, resource: bindings, ignored listing per whitelist
      Oct 11 12:19:29.622: INFO: namespace e2e-tests-restart-master-j9x0f deletion completed in 6.156220683s
      
      • [SLOW TEST:313.535 seconds]
      [sig-storage] Volume Attach Verify [Feature:vsphere]
      /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/storage/framework.go:22
        verify volume remains attached after master kubelet restart
        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_volume_master_restart.go:144
      ------------------------------
      SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSOct 11 12:19:29.666: INFO: Running AfterSuite actions on all node
      Oct 11 12:19:29.666: INFO: Running AfterSuite actions on node 1
      
      Ran 1 of 709 Specs in 313.923 seconds
      SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 708 Skipped PASS
      
      ```
      
      Internally reviewed by VMware reviewers @divyenpatel @BaluDontu @tusharnt
      
      **Release note**:
      ```
      None
      ```
      8fee4d1d
    • Kubernetes Submit Queue's avatar
      Merge pull request #55260 from yujuhong/no-live-restore · 9c904d6b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54177, 55203, 55120, 55275, 55260). 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>.
      
      GCE: provide an option to disable docker's live-restore
      
      **What this PR does / why we need it**:
      Provide an option to disable docker's live-restore for COS/ubuntu images on GCE. Some newer COS images have live-restore enabled by default. This allows users to override the option if needed.
      
      **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**:
      
      **Release note**:
      
      ```release-note
      GCE: provide an option to disable docker's live-restore on COS/ubuntu
      ```
      9c904d6b
    • Kubernetes Submit Queue's avatar
      Merge pull request #55275 from shyamjvs/skip-esipp-slow-tests-on-large-cluster · f92f5449
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54177, 55203, 55120, 55275, 55260). 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>.
      
      Skip ESIPP [Slow] suite of networking tests for huge clusters
      
      Ref https://github.com/kubernetes/kubernetes/issues/52495#issuecomment-342523340
      
      /cc @MrHohn @kubernetes/sig-network-misc
      f92f5449
    • Kubernetes Submit Queue's avatar
      Merge pull request #55120 from enj/enj/r/rbac_reconcile_visitor · a3e00dbd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54177, 55203, 55120, 55275, 55260). 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>.
      
      Make ReconcileOptions reusable
      
      This change makes ReconcileOptions fully reusable by:
      
      1. Replacing ResourceBuilder with a Visitor that can be generically plugged in.  This decouples the use of file input from the options.
      2. Replacing core client with namespace client since that smaller interface is what is needed by RunReconcile.
      3. All fields are now checked by Validate as a way to document that they should be set before calling RunReconcile.
      Signed-off-by: 's avatarMonis Khan <mkhan@redhat.com>
      
      ```release-note
      NONE
      ```
      
      /assign @deads2k @fabianofranz @juanvallejo
      a3e00dbd
    • Kubernetes Submit Queue's avatar
      Merge pull request #55203 from hzxuzhonghu/azure-bug · 94a699e8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 54177, 55203, 55120, 55275, 55260). 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>.
      
      [bug fix]invalid memory address or nil pointer dereference when mounting azure disk 
      
      **What this PR does / why we need it**:
      
      **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 #55199
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      94a699e8
    • Kubernetes Submit Queue's avatar
      Merge pull request #54177 from itowlson/azure-lb-sg-restrict-dest-address · 93ef57a1
      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>.
      
      Restrict Azure NSG rules to allow external access only to load balancer IP
      
      **What this PR does / why we need it**: On Azure, we create NSG (Network Security Group) rules on the vnet to allow external clients to access services exposed as type LoadBalancer.  At the moment, these rules have a destination of `Any`, which means that they will permit requests on the opened port to any IP within the vnet.  This PR restricts the security rules so that they admit external access only to the load balancer IP.
      
      **Which issue this PR fixes**: None in upstream - reported as https://github.com/Azure/acs-engine/issues/1619 
      
      **Special notes for your reviewer**: None
      
      **Release note**: 
      
      ```release-note
      Azure NSG rules for services exposed via external load balancer 
      now limit the destination IP address to the relevant front end load 
      balancer IP.
      ```
      93ef57a1
    • Kubernetes Submit Queue's avatar
      Merge pull request #55242 from sttts/sttts-stop-cache-deadlock · f34d3af8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55331, 55272, 55228, 49763, 55242). 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>.
      
      client-go/tools/cache: fix possible deadlock when stopping a reflector
      
      While getting Connection-Refused error, a reflector was retrying without stopping when the stopCh is closed.
      
      The flaking TestCRD #54095 sometimes shows a deadlock in reflectors that should be shutdown, called from the storage cacher. So possibly this is related.
      f34d3af8
    • Kubernetes Submit Queue's avatar
      Merge pull request #49763 from supereagle/versioned-group-clients · a701a42a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55331, 55272, 55228, 49763, 55242). 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>.
      
      use versiond group clients from client-go
      
      **What this PR does / why we need it**:
      Some **Deprecated** group clients are still used, replace them with versioned group clients.
      
      **Which issue this PR fixes**: fixes #49760
      
      **Special notes for your reviewer**:
      /assign @caesarxuchao
      
      **Release note**:
      ```release-note
      NONE
      ```
      a701a42a
    • Kubernetes Submit Queue's avatar
      Merge pull request #55228 from sttts/sttts-validation-admission-tests · ee7f1b6e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55331, 55272, 55228, 49763, 55242). 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>.
      
      apiserver: add validating admission tests
      
      Follow-up of https://github.com/kubernetes/kubernetes/pull/54484
      
      This includes tests
      - in endpoint tests,
      - in generic registry,
      - in patch handler,
      - in admission chain.
      ee7f1b6e
    • Kubernetes Submit Queue's avatar
      Merge pull request #55272 from janetkuo/ds-conditions · f644681a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55331, 55272, 55228, 49763, 55242). 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 DaemonSet conditions
      
      **What this PR does / why we need it**:
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      xref https://github.com/kubernetes/features/issues/353, #7856
      
      **Special notes for your reviewer**: 
      A `conditions` field is added to DaemonSetStatus for consistency. No valid DaemonSet condition type is supported yet. 
      @kubernetes/sig-apps-api-reviews 
      
      **Release note**:
      
      ```release-note
      DaemonSet status now has a new field named "conditions", making it consistent with other workloads controllers.
      ```
      f644681a
    • Kubernetes Submit Queue's avatar
      Merge pull request #55331 from Random-Liu/fix-gke-failure · ff9574af
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 55331, 55272, 55228, 49763, 55242). 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 GKE failure, set default in configure.sh.
      
      Fixes #55189.
      Signed-off-by: 's avatarLantao Liu <lantaol@google.com>
      **Release note**:
      
      ```release-note
      none
      ```
      ff9574af
    • Eric Chiang's avatar
      cba89395
  2. 08 Nov, 2017 9 commits