1. 18 Aug, 2017 21 commits
    • fabriziopandini's avatar
      Autogenerated bazel files · c6bb8fbb
      fabriziopandini authored
      c6bb8fbb
    • fabriziopandini's avatar
      Main work -- cleanup certs CLI command · 00fa026b
      fabriziopandini authored
      00fa026b
    • fabriziopandini's avatar
      Main work -- refactor certs phase · 5fac458f
      fabriziopandini authored
      5fac458f
    • Kubernetes Submit Queue's avatar
      Merge pull request #49617 from duan-yue/code_cls · 38053c3e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix typo
      
      **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
      ```
      38053c3e
    • Kubernetes Submit Queue's avatar
      Merge pull request #50575 from dixudx/CollisionCount_int64_to_int32 · e553d6eb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      CollisionCount should have type int32 across controllers that use it for collision avoidance
      
      **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 #50530
      
      **Special notes for your reviewer**:
      /cc @liyinan926
      /assign @kow3ns @thockin @janetkuo 
      
      **Release note**:
      
      ```release-note
      Change CollisionCount from int64 to int32 across controllers
      ```
      e553d6eb
    • Kubernetes Submit Queue's avatar
      Merge pull request #49993 from mathspanda/master · 4564f3d8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      verify pkg/util contains no code
      
      **What this PR does / why we need it**:
      verify util packages contain no go codes
      
      related issue: #49923
      4564f3d8
    • Kubernetes Submit Queue's avatar
      Merge pull request #50867 from mrballcb/newrelic-infrastructure-example · 67fb74d2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50277, 50823, 50376, 50867)
      
      NR Infrastructure agent example daemonset
      
      Copy of previous newrelic example, then modified to use the new agent
      "newrelic-infra" instead of "nrsysmond".
      
      Also maps all of host node's root fs into /host in the container (ro,
      but still exposes underlying node info into a container).
      
      Updates to README
      
      
      
      **What this PR does / why we need it**:  It provides an example basic configuration to get New Relic Infrastructure monitoring agent installed as a daemonset in containers on a cluster.  It started as a clone of examples/newrelic/, then updated to use the "infrastructure" docker image provided by New Relic.
      
      **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**:
      
      ```NONE
      ```
      67fb74d2
    • Kubernetes Submit Queue's avatar
      Merge pull request #50376 from guangxuli/add_sig_prefix_to_e2e_test · bf69aafd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50277, 50823, 50376, 50867)
      
      Move e2e taints test file to sig-scheduling
      
      **What this PR does / why we need it**:
      Move taint test file to e2e scheduling and add sig-scheduling prefix.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      Ref Umbrella issue #49161
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      none
      bf69aafd
    • Kubernetes Submit Queue's avatar
      Merge pull request #50823 from zjj2wry/set-image · 89abb48f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50277, 50823, 50376, 50867)
      
      fix issue(#50821)Add image check, if image not changed, transform false
      
      **What this PR does / why we need it**:
      closes #50821 
      **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
      ```
      89abb48f
    • Kubernetes Submit Queue's avatar
      Merge pull request #50277 from yguo0905/live-restore-test · a4f6ae44
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add node e2e test for Docker's live-restore
      
      Ref: https://github.com/kubernetes/kubernetes/issues/42926
      
      This PR adds a test for docker live-restore. If this is fine, we can close the unfinished PR https://github.com/kubernetes/kubernetes/pull/40364.
      
      **Release note**:
      ```
      None
      ```
      a4f6ae44
    • Di Xu's avatar
      auto-gen · b36320be
      Di Xu authored
      b36320be
    • Kubernetes Submit Queue's avatar
      Merge pull request #50837 from tizhou86/master · a1234aa2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix several typos in CHANGELOG.md file
      
      **What this PR does / why we need it**:
      
      Fixed several typos in CHANGELOG.md file.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      NONE
      
      **Special notes for your reviewer**:
      
      NONE
      
      **Release note**:
      
      ```release-note
      
      NONE
      
      ```
      a1234aa2
    • Kubernetes Submit Queue's avatar
      Merge pull request #50218 from dixudx/fix_GPU_resource_zero_limit_validation · 075d209e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix GPU resource validation that incorrectly allows zero limits
      
      **What this PR does / why we need it**:
      
      The validation logic for GPUs is not run if limits is not set for GPUs.
      We need to check limits equals requests even if just request is set for GPUs.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50182
      
      **Special notes for your reviewer**:
      /assign @vishh 
      /cc @jiayingz 
      
      **Release note**:
      
      ```release-note
      fix GPU resource validation that incorrectly allows zero limits
      ```
      075d209e
    • Di Xu's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #50861 from crimsonfaith91/e2e-scale · 12ce4151
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Change API version of statefulset scale subresource e2e test to v1beta2
      
      **What this PR does / why we need it**:
      This PR changes API version of statefulset scale subresource e2e test from `v1beta1` to `v1beta2`.
      `apps/v1beta2` has been enabled.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: xref #50109
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      12ce4151
    • zhengjiajin's avatar
      add cmd test kubectl set image · a8c68d92
      zhengjiajin authored
      a8c68d92
    • Kubernetes Submit Queue's avatar
      Merge pull request #50176 from Random-Liu/set-exec-timeout · d490e2cf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50536, 50809, 50220, 50399, 50176)
      
      Set ExecSync timeout in liveness prober.
      
      Although Dockershim doesn't actually support `ExecSync` timeout (see [here](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockershim/exec.go#L137)), we should set the timeout, so that the other runtime which supports the timeout could work properly.
      
      Fixes #50389.
      
      /cc @yujuhong @timstclair @feiskyer
      d490e2cf
    • Kubernetes Submit Queue's avatar
      Merge pull request #50399 from caesarxuchao/update-admission-plugin · 821445e1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50536, 50809, 50220, 50399, 50176)
      
      Make admission plugin handle mutating spec of uninitialized pods
      
      Address https://github.com/kubernetes/kubernetes/issues/47837#issuecomment-321323243.
      
      Updated to handle mutating pod spec of uninitialized pods:
      * InitialResources
      * PodNodeSelector
      * PodTolerationRestriction
      * ServiceAccount
      
      
      Doesn't change:
      * NodeRestriction: this plugin only cares about the mirror pods created by nodes, and mirror pods are exempted from initializers, so no modification required
      * PersistentVolumeLabel, DefaultStorageClass: It only cares about PersistentVolume. We can revisit when we relax its validation.
      * InitialResource: deprecated according to https://github.com/kubernetes/kubernetes/issues/47837#issuecomment-321388879
      821445e1
    • Kubernetes Submit Queue's avatar
      Merge pull request #50220 from zhangxiaoyu-zidif/delete-statefulset-test-redundant-sort · f0066597
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50536, 50809, 50220, 50399, 50176)
      
      Refactor statefulset test with sets.String
      
      **What this PR does / why we need it**:
      Delete redundant sort. These string slices only own one element.
      There is no necessary to sort them.
      
      **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
      ```
      f0066597
    • Kubernetes Submit Queue's avatar
      Merge pull request #50809 from nicksardo/gce-api-update · 2210065d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50536, 50809, 50220, 50399, 50176)
      
      GCE: Update Google API dependencies
      
      Updating `google.golang.org/api/` 
      
      **Special notes for your reviewer**:
      /assign @bowei
      
      **Release note**:
      ```release-note
      NONE
      ```
      2210065d
    • Kubernetes Submit Queue's avatar
      Merge pull request #50536 from crimsonfaith91/mark-deprecated · f7dd4771
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50536, 50809, 50220, 50399, 50176)
      
      mark created-by annotation as deprecated
      
      **What this PR does / why we need it**: This PR marks created-by annotation as deprecated in code comments.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: xref #44407 
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      The `kubernetes.io/created-by` annotation is now deprecated and will be removed in v1.9. Use [ControllerRef](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/controller-ref.md) instead to determine which controller, if any, owns an object.
      ```
      f7dd4771
  2. 17 Aug, 2017 19 commits
    • Yang Guo's avatar
      Add node e2e test for Docker's live-restore · 9f1f8302
      Yang Guo authored
      9f1f8302
    • Kubernetes Submit Queue's avatar
      Merge pull request #50852 from guangxuli/fix_apiserver_register · 1eb04f6a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50281, 50747, 50347, 50834, 50852)
      
      fix incorrect logic in admission register
      
      **What this PR does / why we need it**:
      There is no issue for this PR, just fix incorrect logic in invocation `func (ps *Plugins) Register(name string, plugin Factory) ` after browsing the code accidentally.  And apparently, the logic exits potential panic.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      no issue
      **Special notes for your reviewer**:
      none
      **Release note**:
      none
      1eb04f6a
    • Kubernetes Submit Queue's avatar
      Merge pull request #50834 from zjj2wry/fix_validation_expose_port · d958a35a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50281, 50747, 50347, 50834, 50852)
      
      fix kubectl issue(#52)kubectl run --expose continues after error (mis…
      
      …sing port)
      
      
      
      **What this PR does / why we need it**:
      https://github.com/kubernetes/kubectl/issues/52
      **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
      ```
      d958a35a
    • Kubernetes Submit Queue's avatar
      Merge pull request #50347 from cheftako/aggregator · 74d8d99b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50281, 50747, 50347, 50834, 50852)
      
      Add e2e aggregator test.
      
      What this PR does / why we need it:
      This adds an e2e test for aggregation based on the sample-apiserver.
      Currently is uses a sample-apiserver built as of 1.7.
      This should ensure that the aggregation system works end-to-end.
      It will also help detect if we break "old" extension api servers.
      
      Which issue this PR fixes (optional, in fixes #<issue number>(, fixes
      fixes #43714
      
      **Special notes for your reviewer**:
      
      **Release note**: NONE
      74d8d99b
    • Kubernetes Submit Queue's avatar
      Merge pull request #50747 from m1093782566/proxy-util · 804c1776
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50281, 50747, 50347, 50834, 50852)
      
      [proxy] Move IsLocalIP() and ShouldSkipService() to pkg/proxy/util
      
      **What this PR does / why we need it**:
      
      Move function `IsLocalIP()` and `ShouldSkipService()` to pkg/proxy/util package so that they can be consumed among different proxiers. 
      
      Besides, add some UTs for `ShouldSkipService()`.
      
      **Which issue this PR fixes**: fixes #50744
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      804c1776
    • Kubernetes Submit Queue's avatar
      Merge pull request #50281 from FengyunPan/mark-detached-vsphere · 7c13d651
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Mark volume as detached when node does not exist for vsphere
      
      If node does not exist, node's volumes will be detached
      automatically and become available. So mark them detached and
      return false without error.
      Fix #50266
      
      **Special notes for your reviewer**:
      /assign @jingxu97
      
      **Release note**:
      ```release-note
      NONE
      ```
      7c13d651
    • crimsonfaith91's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #48228 from danehans/kubeadm_v6masterep · ca893082
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Updates Kubeadm Master Endpoint for IPv6
      
      **What this PR does / why we need it**:
      Previously, kubeadm would use ip:port to construct a master
      endpoint. This works fine for IPv4 addresses, but not for IPv6.
      Per [RFC 3986](https://www.ietf.org/rfc/rfc3986.txt), IPv6 requires the ip to be encased in brackets
      when being joined to a port with a colon.
      
      This patch updates kubeadm to support wrapping a v6 address with
      [] to form the master endpoint url. Since this functionality is
      needed in multiple areas, a dedicated util function was created
      for this purpose.
      
      **Which issue this PR fixes**
      Fixes Issue https://github.com/kubernetes/kubeadm/issues/334
      
      **Special notes for your reviewer**:
      As part of a bigger effort to add IPv6 support to Kubernetes:
      Issue #1443
      Issue #47666
      
      **Release note**:
      ```NONE
      ```
      /area kubeadm
      /area ipv6
      /sig network
      /sig cluster-ops
      ca893082
    • Lantao Liu's avatar
      Set ExecSync timeout in liveness prober. · ef29b836
      Lantao Liu authored
      ef29b836
    • Kubernetes Submit Queue's avatar
      Merge pull request #50671 from zjj2wry/selector · 8404244d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix issue(#49883) Add selector example
      
      **What this PR does / why we need it**:
      fixes #49883
      
      **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
      ```
      8404244d
    • Chao Xu's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #50796 from yguo0905/hc · e86f43bc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50563, 50698, 50796)
      
      Disable Docker's health check until we officially support it
      
      Ref: https://github.com/kubernetes/kubernetes/issues/50703
      
      Tested locally.
      
      Without this PR:
      
      ```
      CONTAINER ID        IMAGE                                                  COMMAND                  CREATED             STATUS                     PORTS               NAMES
      afdd796ddddc        gcr.io/ygg-gke-dev/nginx-healthcheck                   "nginx -g 'daemon ..."   5 minutes ago       Up 5 minutes (healthy)                       k8s_test-container_test-pod_default_8a1ad225-82bf-11e7-becb-480fcf514648_0
      ```
      
      With this PR:
      ```
      e3fb2437555f        gcr.io/ygg-gke-dev/nginx-healthcheck                   "nginx -g 'daemon ..."   10 seconds ago      Up 9 seconds                            k8s_test-container_test-pod_default_de82e83c-82c0-11e7-b3fc-480fcf514648_0
      ```
      
      **Release note**:
      
      ```
      Disable Docker's health check until we officially support it.
      ```
      
      /assign @yujuhong 
      /assign @dchen1107
      e86f43bc
    • Kubernetes Submit Queue's avatar
      Merge pull request #50698 from liyinan926/cr-v1beta2 · 9d302ecf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50563, 50698, 50796)
      
      Add ControllerRevision to apps/v1beta2
      
      **What this PR does / why we need it**:
      This PR added `ControllerRevision` currently in `apps/v1beta1` to `apps/v1beta2`.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50696.
      
      **Special notes for your reviewer**:
      @kow3ns @janetkuo 
      
      **Release note**:
      ```release-note
      Add ControllerRevision to apps/v1beta2
      ```
      9d302ecf
    • Kubernetes Submit Queue's avatar
      Merge pull request #50563 from alindeman/sudo-mkdir-var-lib-kubelet · ee4cc08d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50563, 50698, 50796)
      
      Creates /var/lib/kubelet as root
      
      **What this PR does / why we need it**: `hack/local-cluster-up.sh` does not currently use sudo to create `/var/lib/kubelet`, so it fails unless the entire script is run with sudo.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      ee4cc08d
    • Daneyon Hansen's avatar
      Updates Kubeadm Master Endpoint for IPv6 · 3390bc3c
      Daneyon Hansen authored
      Previously, kubeadm would use <ip>:<port> to construct a master
      endpoint. This works fine for IPv4 addresses, but not for IPv6.
      IPv6 requires the ip to be encased in brackets when being joined
      to a port with a colon.
      
      This patch updates kubeadm to support wrapping a v6 address with
      [] to form the master endpoint url. Since this functionality is
      needed in multiple areas, a dedicated util function was created.
      
      Fixes: https://github.com/kubernetes/kubernetes/issues/48227
      3390bc3c
    • Kubernetes Submit Queue's avatar
      Merge pull request #50325 from p0lyn0mial/sample_server_ban_flunder_plugin_get_name · 5e5b586e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Small improvement in ban flunder admission plugin.
      
      **What this PR does / why we need it**:
      After the changes a name will be taken directly from meta field.
      Previously a name was taken via attributes.GetName() method,
      which in turns derived a name from a URL address.
      This didn't work as we don't allow to pass a name when POSTing a resource.
      
      #47868
      
      **Release note**:
      
      ```
      NONE
      ```
      5e5b586e
    • Walter Fender's avatar
      Add e2e aggregator test. · cb28f0f3
      Walter Fender authored
      What this PR does / why we need it:
      This adds an e2e test for aggregation based on the sample-apiserver.
      Currently is uses a sample-apiserver built as of 1.7.
      This should ensure that the aggregation system works end-to-end.
      It will also help detect if we break "old" extension api servers.
      
      Which issue this PR fixes (optional, in fixes #<issue number>(, fixes
      fixes #43714
      Fixed bazel for the change.
      Fixed # of args issue from govet.
      Added code to test dynamic.Client.
      cb28f0f3
    • Nick Sardo's avatar
      a0e95f94
    • Todd Lyons's avatar
      NR Infrastructure agent example daemonset · cbb95fae
      Todd Lyons authored
      Copy of previous newrelic example, then modified to use the new agent
      "newrelic-infra" instead of "nrsysmond".
      
      Also maps all of host node's root fs into /host in the container (ro,
      but still exposes underlying node info into a container).
      
      Updates to README
      cbb95fae