1. 20 Apr, 2017 18 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #44721 from piosz/remove-fluentd-manifest · 6bf9f2f0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42177, 42176, 44721)
      
      Removed fluentd-gcp manifest pod
      
      ```release-note
      Fluentd manifest pod is no longer created on non-registered master when creating clusters using kube-up.sh.
      ```
      6bf9f2f0
    • Kubernetes Submit Queue's avatar
      Merge pull request #42176 from enisoc/controller-ref-job · 7b43f922
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42177, 42176, 44721)
      
      Job: Respect ControllerRef
      
      **What this PR does / why we need it**:
      
      This is part of the completion of the [ControllerRef](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/controller-ref.md) proposal. It brings Job into full compliance with ControllerRef. See the individual commit messages for details.
      
      **Which issue this PR fixes**:
      
      This ensures that Job does not fight with other controllers over control of Pods.
      
      Ref: #24433
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Job controller now respects ControllerRef to avoid fighting over Pods.
      ```
      cc @erictune @kubernetes/sig-apps-pr-reviews
      7b43f922
    • Kubernetes Submit Queue's avatar
      Merge pull request #42177 from enisoc/controller-ref-cronjob · f25a6575
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42177, 42176, 44721)
      
      CronJob: Respect ControllerRef
      
      **What this PR does / why we need it**:
      
      This is part of the completion of the [ControllerRef](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/controller-ref.md) proposal. It brings CronJob into compliance with ControllerRef. See the individual commit messages for details.
      
      **Which issue this PR fixes**:
      
      This ensures that other controllers do not fight over control of objects that a CronJob owns.
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      CronJob controller now respects ControllerRef to avoid fighting with other controllers.
      ```
      cc @erictune @kubernetes/sig-apps-pr-reviews
      f25a6575
    • Kubernetes Submit Queue's avatar
      Merge pull request #44238 from zhouhaibing089/no-flavor-usage · 223a8e59
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44555, 44238)
      
      openstack: remove field flavor_to_resource
      
      I believe there is no usage about `flavor_to_resource`, and I think there is no need to build that information, too.
      
      cc @anguslees 
      
      **Release note:**
      
      ```
      NONE
      ```
      223a8e59
    • Kubernetes Submit Queue's avatar
      Merge pull request #44555 from luxas/remove_hyperkube_docker_multinode · 1413f2e8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove the old docker-multinode files that were built into the hyperkube image
      
      **What this PR does / why we need it**:
      
      ref: https://goo.gl/VxSaKx
      
      **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
      The hyperkube image has been slimmed down and no longer includes addon manifests and other various scripts. These were introduced for the now removed docker-multinode setup system.
      ```
      
      cc @jbeda @brendandburns @bgrant0607 @justinsb @mikedanese
      1413f2e8
    • Kubernetes Submit Queue's avatar
      Merge pull request #44449 from liggitt/rbac-allocations · 9543510d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Switch to pointer to policy rule, visit and short circuit during authorization
      
      Ref #40015
      
      * Switches policy rule helper methods to work with pointers
      * Switches authorization to use a short-circuiting visitor
      
      Best-case, authorization short-circuits early and avoids accumulating rules it never needs to check
      
      Worst-case (a forbidden request), it still checks all the applicable rules, but requires less allocation to do so
      
      $ go test ./plugin/pkg/auth/authorizer/rbac/... -bench=. -benchmem -run Bench
      
      on master:
      ```
      BenchmarkAuthorize/allow_list_pods-8           300000   4373 ns/op  3840 B/op  26 allocs/op
      BenchmarkAuthorize/allow_update_pods/status-8  300000   5121 ns/op  3840 B/op  26 allocs/op
      BenchmarkAuthorize/forbid_educate_dolphins-8   300000   4706 ns/op  3840 B/op  26 allocs/op
      ```
      
      with short-circuiting and policy rule pointer changes:
      ```
      BenchmarkAuthorize/allow_list_pods-8           2000000  930 ns/op   64 B/op    2 allocs/op
      BenchmarkAuthorize/allow_update_pods/status-8  1000000  1656 ns/op  64 B/op    2 allocs/op
      BenchmarkAuthorize/forbid_educate_dolphins-8   500000   3395 ns/op  1488 B/op  25 allocs/op
      ```
      9543510d
    • Anthony Yeh's avatar
      Update CHANGELOG.md for v1.7.0-alpha.2. · 06d6a9ec
      Anthony Yeh authored
      06d6a9ec
    • Jordan Liggitt's avatar
    • Piotr Szczesniak's avatar
      Removed fluentd-gcp manifest pod · 113f120e
      Piotr Szczesniak authored
      113f120e
    • Kubernetes Submit Queue's avatar
      Merge pull request #43171 from ravisantoshgudimetla/kubectl_taints_ux · 2c6fbc95
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Refactoring reorganize taints function in kubectl to expose operations
      
      **What this PR does / why we need it**:
      This adds some UX functionality when specifying taints using kubectl.
      For example:
      ```
      ./kubectl.sh taint nodes XYZ dedicated1=abca2:NoSchedule 
      node "XYZ" tainted
       ./kubectl.sh taint nodes XYZ dedicated1=abca1:NoSchedule --overwrite=True
      node "XYZ overwritten
      ./kubectl.sh taint nodes XYZ dedicated1-
      node "XYZ" untainted
      ./kubectl.sh taint nodes XYZ dedicated=abca1:NoSchedule dedicated1-
      node "XYZ" modified
      ```
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #43167 
      
      **Release note**:
      ```
      Fixed the output of kubectl taint node command with minor improvements.
      ```
      2c6fbc95
    • Kubernetes Submit Queue's avatar
      Merge pull request #44565 from vmware/kubernetes-e2e-v7 · 94a5074b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      adding test for volume fstype validation
      
      **What this PR does / why we need it**:
      This PR is adding a test for volume fstype validation. Test verifies fstype specified in storage-class is being honored after volume creation.
      
      Steps:
      
      1. Create StorageClass with fstype set to valid type (default case included). 
      2. Create PVC which uses the StorageClass created in step 1.
      3. Wait for PV to be provisioned.
      4. Wait for PVC's status to become Bound.
      5. Create pod using PVC on specific node.
      6. Wait for Disk to be attached to the node.
      7. Execute command in the pod to get fstype.
      8. Delete pod and Wait for Volume Disk to be detached from the Node.
      9. Delete PVC, PV and Storage Class.
      
      
      
      **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
      ```
      
      cc: @jeffvance @tusharnt
      94a5074b
    • Kubernetes Submit Queue's avatar
      Merge pull request #44696 from justinsb/fix_44695 · 33bdec3f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42272, 44696)
      
      e2e test fix: Wait longer when first creating ELB
      
      On any cloud (GCE or AWS), a lag between creating the LoadBalancer and
      having it actually start serving traffic is expected.  On AWS the lag is
      larger, and we weren't correctly using the longer wait on our first
      request.
      
      Use a longer wait period on our first request.
      
      Fix #44695
      
      ```release-note
      NONE
      ```
      33bdec3f
    • Kubernetes Submit Queue's avatar
      Merge pull request #42272 from marun/apiserver-fail-fast · afc01d92
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      apiserver: Update genericapiserver to panic on listener error
      
      Previously runServer would try to listen again if a listener error occurred.  This commit changes the response to a panic to allow a process manager (systemd/kubelet/etc) to react to the failure.
      
      **Release note**:
      
      ```release-note
      The Kubernetes API server now exits if it encounters a networking failure (e.g. the networking interface hosting its address goes away) to allow a process manager (systemd/kubelet/etc) to react to the problem.  Previously the server would log the failure and try again to bind to its configured address:port.
      ```
      
      cc: @liggitt @sttts @deads2k @derekwaynecarr
      afc01d92
    • Kubernetes Submit Queue's avatar
      Merge pull request #40890 from marun/e2e-use-kubeconfig-host · a40fef5d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      e2e: Prefer kubeconfig host to default
      
      Previously it was necessary to pass ``-host`` to ``e2e.test`` even if ``-kubeconfig`` was specified since otherwise a localhost default would be used.  This change ensures that the default is only used when kubeconfig is not set. 
      
      cc: @jayunit100
      a40fef5d
    • Justin Santa Barbara's avatar
      e2e test fix: Wait longer when first creating ELB · 854900c4
      Justin Santa Barbara authored
      On any cloud (GCE or AWS), a lag between creating the LoadBalancer and
      having it actually start serving traffic is expected.  On AWS the lag is
      larger, and we weren't correctly using the longer wait on our first
      request.
      
      Use a longer wait period on our first request.
      
      Fix #44695
      854900c4
    • Kubernetes Submit Queue's avatar
      Merge pull request #44661 from xiangpengzhao/fix-vsphere-panic · fba605ce
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44687, 44689, 44661)
      
      Fix panic when using `kubeadm init` with vsphere cloud-provider
      
      **What this PR does / why we need it**:
      Check if the reference is nil when finding machine reference by UUID.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #44603
      
      **Special notes for your reviewer**:
      This is just a quick fix for the panic.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      fba605ce
    • Kubernetes Submit Queue's avatar
      Merge pull request #44689 from rmmh/avoid-get-kube-dl-flake · 6d67cdd4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44687, 44689, 44661)
      
      Retry in get-kube.sh to avoid download flakes.
      
      GCS has up to 2% 5xx rates, so retrying is critical.
      
      This is currently failing about 8 times per day [according to the dashboard](https://storage.googleapis.com/k8s-gubernator/triage/index.html?test=Extract#be2f33fb1e6dd2389d12). It could be backported to reduce the flake rate.
      
      Relase note:
      ```release-note
      NONE
      ```
      6d67cdd4
    • Kubernetes Submit Queue's avatar
      Merge pull request #44687 from cblecker/hacklib-tar · 18cd0f48
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add hack/lib to kubernetes release tarball
      
      **What this PR does / why we need it**:
      Add hack/lib to kubernetes release tarball, to fix an issue with https://get.k8s.io/ script introduced in #42748.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*:
      Fixes https://github.com/kubernetes/kubernetes/pull/42748#issuecomment-295412268
      
      **Special notes for your reviewer**:
      I'm new to bazel, so hopefully I'm not off-base here :)
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      cc: @ixdy @dcbw @smarterclayton
      18cd0f48
  2. 19 Apr, 2017 22 commits