1. 27 Apr, 2017 27 commits
  2. 26 Apr, 2017 13 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #44531 from pwittrock/kubectl-openapi · 433aec11
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      OpenAPI support for kubectl
      
      Support for openapi spec in kubectl.
      
      Includes:
      - downloading and caching openapi spec to a local file
      - parsing openapi spec into binary serializable datastructures (10x faster load times 600ms -> 40ms)
      - caching parsed openapi spec in memory for each command
      
      ```release-note
      NONE
      ```
      433aec11
    • Random-Liu's avatar
      Fix StopContainer timeout · cfd0efff
      Random-Liu authored
      cfd0efff
    • Kubernetes Submit Queue's avatar
      Merge pull request #44967 from chuckbutler/43461 · 15533fac
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fixes #43461
      
      **What this PR does / why we need it**:
      The master-components started state triggers a daemon recycle. The guard
      was to prevent the daemons from being cycled too often and interrupting
      normal workflow. This additional state check is probing the etcd
      connection and if changing triggers a re-configure and recycle of the api-control 
      plane when etcd units are scaling up and down.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #43461
      
      **Special notes for your reviewer**:
      Check the contents of /var/snap/kube-apiserver/current/args after scaling etcd both up and down and the values will have changed, and kube-apiserver will have recycled to read the new connection string.
      
      **Release note**:
      
      ```release-note
      kubernetes-master juju charm properly detects etcd-scale events and reconfigures appropriately.
      ```
      15533fac
    • Kubernetes Submit Queue's avatar
      Merge pull request #44451 from ncdc/spdy-follow-redirects · 274df99e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add redirect support to SpdyRoundTripper
      
      Add support for following redirects to the SpdyRoundTripper. This is
      necessary for clients using it directly (e.g. the apiserver talking
      directly to the kubelet) because the CRI streaming server issues a
      redirect for streaming requests.
      
      We need this in OpenShift because we have code that executes inside our apiserver that talks directly to the node to perform an attach request, and we need to be able to follow that redirect.
      
      This code was adapted from the upgrade-aware proxy handler.
      
      cc @smarterclayton @sttts @liggitt @timstclair @kubernetes/sig-api-machinery-pr-reviews
      274df99e
    • Chao Xu's avatar
      bazel · ee61ffb4
      Chao Xu authored
      ee61ffb4
    • Chao Xu's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #44960 from shashidharatd/federation-service-controller-2 · ed0adbf3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 43395, 44960)
      
      [Federation] Cleanup unused code in service controller
      
      Post merging the PR #41258, lot of unused code is left behind in federation service controller. These changes were segregated to this PR, so that the original PR was small and manageable.
      
      **Release note**:
      ```
      NONE
      ```
      
      cc @kubernetes/sig-federation-pr-reviews
      ed0adbf3
    • Kubernetes Submit Queue's avatar
      Merge pull request #43395 from sjenning/selinux-e2e-node-lifecycle · 7670341f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 43395, 44960)
      
      e2e-node: refactor lifecycle test to avoid selinux issues
      
      Fixes #42905
      
      Previously, the exec hook tests mounted a HostPath volume from /tmp and touched a file as a indicator that the hook had run.  This is prohibited by selinux policy on Fedora/RHEL/Centos.
      
      This PR refactors the test to avoid filesystem indication and use the same indication that the HTTP hooks use; a GET to a http endpoint.  The exec hooks run `curl` to hit this endpoint and trigger the indication.  This simplifies this test quite a bit as well, removing over 85 lines of code.
      
      REVIEWER NOTE: The diff is a mess on this one.  Probably better to just review the new version of the file.
      
      @derekwaynecarr
      7670341f
    • Kubernetes Submit Queue's avatar
      Merge pull request #44964 from rmmh/docker-push · e8abe449
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44962, 44964)
      
      Fix the last deprecated "gcloud docker push args" usage.
      
      This deprecated usage will break in March 2017.
      
      **Release note**:
      ```release-note
      NONE
      ```
      e8abe449
    • Balu Dontu's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #44962 from redbaron/fix-misleading-error · 17688c7c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove misleading error from CronJob controller when it can't find parent UID
      
      CronJob controller lists all `Jobs` and then tries to match then against `CronJobs` using parent UID. It reports error if parent UID can't be found which means it reports error  on every job which is not part of CronJob
      
      
      ```release-note
      NONE
      ```
      17688c7c
    • Charles Butler's avatar
      Fixes #43461 · 690be0fb
      Charles Butler authored
      The master-components started state triggers a daemon recycle. The guard
      was to prevent the daemons from being cycled too often and interrupting
      normal workflow. This additional state check is guarded against the etcd
      connection string from changing, allowing the current behavior but
      triggers a re-configure and recycle of the api-control plane when etcd
      units are scaling up and down.
      690be0fb
    • Seth Jennings's avatar
      bump runc to d223e2a · fda2c9fa
      Seth Jennings authored
      fda2c9fa