1. 26 May, 2017 10 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #46045 from enj/enj/t/watch_decode_fatal · 3e1eceaf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045)
      
      Panic server on watch errors during etcd test
      
      **What this PR does / why we need it**:
      
      This change makes it so that errors during watch decoding panic the server during the etcd storage test.  This allows us to catch coder errors related to storing incompatible types at the same location in etcd.
      
      For example, https://github.com/kubernetes/kubernetes/pull/39164#discussion_r116619172 would have failed like so (instead of silently recording an error to the master log and passing the test):
      
      ```
      I0518 14:39:32.413038    4654 storage_rbac.go:257] created rolebinding.rbac.authorization.k8s.io/system:controller:bootstrap-signer in kube-public
      panic: v1beta1.NetworkPolicy is not suitable for converting to {{"networking.k8s.io" "__internal"} [{"networking.k8s.io" ""} {"networking.k8s.io" ""}]}
      
      goroutine 799 [running]:
      k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.decodeObj(0x71146c0, 0xc420eb9d80, 0x7129340, 0x733cdf8, 0xc423708360, 0x118, 0x120, 0x86, 0x0, 0x0, ...)
      	/home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:382 +0x115
      k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).prepareObjs(0xc420958f60, 0xc422ee9ef0, 0xc42003c600, 0x8a3b9b, 0x70f36c0, 0xc4209585a0, 0x4583f0, 0xc4215d0f58)
      	/home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:353 +0x2cd
      k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).transform(0xc420958f60, 0xc422ee9ef0, 0x0)
      	/home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:248 +0x4d
      k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).processEvent(0xc420958f60, 0xc420132010)
      	/home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:213 +0x122
      created by k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).run
      	/home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:116 +0xe9
      exit status 2
      FAIL	k8s.io/kubernetes/test/integration/etcd	13.065s
      Makefile:164: recipe for target 'test' failed
      ```
      
      @liggitt PTAL
      Signed-off-by: 's avatarMonis Khan <mkhan@redhat.com>
      
      **Release note**:
      
      ```
      NONE
      ```
      3e1eceaf
    • Kubernetes Submit Queue's avatar
      Merge pull request #45589 from ITSvitCo/master · 34399411
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045)
      
      Bump elasticsearch and kibana to 5.4.0
      
      **What this PR does / why we need it**: Updates elasticsearch and kibana docker image assets to 5.4.0 version
      **Release note**:
      ```release-note
      Upgrade Elasticsearch Addon to v5.4.0
      ```
      34399411
    • Kubernetes Submit Queue's avatar
      Merge pull request #46089 from karataliu/wincri1 · 5e853709
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045)
      
      Support TCP type runtime endpoint for kubelet
      
      **What this PR does / why we need it**:
      Currently the grpc server for kubelet and dockershim has a hardcoded endpoint: unix socket '/var/run/dockershim.sock', which is not applicable on non-unix OS.
      
      This PR is to support TCP endpoint type besides unix socket.
      
      **Which issue this PR fixes** 
      This is a first attempt to address issue https://github.com/kubernetes/kubernetes/issues/45927
      
      **Special notes for your reviewer**:
      Before this change, running on Windows node results in:
      ```
      Container Manager is unsupported in this build
      ```
      
      After adding the cm stub, error becomes:
      ```
      listen unix /var/run/dockershim.sock: socket: An address incompatible with the requested protocol was used.
      ```
      
      This PR is to fix those two issues.
      
      After this change, still meets 'seccomp' related issue when running on Windows node, needs more updates later.
      
      **Release note**:
      5e853709
    • Kubernetes Submit Queue's avatar
      Merge pull request #46434 from shyamjvs/kubemark-config-upload · c60bc539
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045)
      
      Copy kubeconfig to kubemark master
      
      This should save the effort of digging through jenkins agent and its container to get the kubeconfig.
      Ideally we should have kubectl directly working on the kubemark master, but I'm facing some issues due to older version of kubectl present by default on the node.
      
      cc @wojtek-t @gmarek
      c60bc539
    • Kubernetes Submit Queue's avatar
      Merge pull request #46124 from humblec/cephfs-vol-source · b642ae2c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045)
      
      Add CephFS volume source to describe printer.
      b642ae2c
    • Kubernetes Submit Queue's avatar
      Merge pull request #46437 from ncdc/ns-ctrl-5-workers · d0dfd8c4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437)
      
      Up namespace controller workers to 5
      
      Increase the number of namespace controller workers from 2 to 5 in an
      effort to speed up namespace deletions.
      
      xref #20051
      d0dfd8c4
    • Kubernetes Submit Queue's avatar
      Merge pull request #46423 from gmarek/fix_perf · b8dc4915
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437)
      
      Fix performance test issues
      
      Fix #46198
      b8dc4915
    • Kubernetes Submit Queue's avatar
      Merge pull request #46320 from vmware/e2evSphereStoragePolicySupport · b9416c2c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437)
      
      e2e tests for storage policy support in Kubernetes
      
      This PR covers e2e test cases for vSphere storage policy support in Kubernetes - #46176.
      
      The following test scenario have been implemented.
      - Specify only SPBM storage policy name.
           - Verify if the disk is provisioned on a compatible datastore with max free space.
      - Specify a storage policy name which is not defined on VC.
          - Verify if PVC create errors out that no pbm profile with this policy is found.
      - Specify both SPBM storage policy name and VSAN capabilities together.
          - Verify if PVC create errors out that you can't use both SPBM policy name with VSAN capabilities. You can only specify one.
      - Specify SPBM storage policy name with user specified datastore which is non-compatible.
         - Verify if PVC create errors out that it can't provision a disk on a non-compatible datastore.
      
      @jeffvance @divyenpatel
      
      **Release note**:
      
      ```release-note
      None
      ```
      b9416c2c
    • Kubernetes Submit Queue's avatar
      Merge pull request #46009 from timstclair/audit-policy · ae03f22c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437)
      
      Implement audit policy logic
      
      Includes https://github.com/kubernetes/kubernetes/pull/45315#discussion_r117115932 (ignore the first commit)
      
      Feature: https://github.com/kubernetes/features/issues/22
      
      Remaining work:
      
      - [x] Load the policy into the `server.Config`
      - [x] Rebase on https://github.com/kubernetes/kubernetes/pull/45315
      - [x] Establish shared code for audit api scheme (with https://github.com/kubernetes/kubernetes/pull/45919)
      - [x] Once https://github.com/kubernetes/kubernetes/pull/45766 is merged, call the policy checker in the audit path
      
      /cc @sttts @soltysh @ericchiang @ihmccreery @pweil- @deads2k
      ae03f22c
    • Kubernetes Submit Queue's avatar
      Merge pull request #45949 from NickrenREN/kubelet-metric · 470a6a45
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437)
      
      Unregister some metrics
      
      delete some registered metrics since they are not observed
      
      
      **Release note**:
      ```release-note
      NONE
      ```
      470a6a45
  2. 25 May, 2017 30 commits