1. 08 Feb, 2018 14 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #59280 from dims/allow-custom-cloud-controller-manager · b9361192
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 57824, 58806, 59410, 59280). 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>.
      
      Ability to run an external binary instead of hyperkube cloud-controller-manager
      
      **What this PR does / why we need it**:
      
      Since we want folks to test their own binaries, let's allow
      a way for them them to specify a custom binary.
      
      **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
      NONE
      ```
      b9361192
    • Kubernetes Submit Queue's avatar
      Merge pull request #59410 from fisherxu/testapigroup · b309c2f4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 57824, 58806, 59410, 59280). 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 some package to code-generator
      
      **What this PR does / why we need it**:
      add some package to code-generator and regenerated files.
      
      **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**:
      /cc @sttts 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      b309c2f4
    • Kubernetes Submit Queue's avatar
      Merge pull request #58806 from CaoShuFeng/audit_annotation_api · db1ed105
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 57824, 58806, 59410, 59280). 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 Annotations to advanced audit api
      
      **Release note**:
      ```release-note
      Annotations is added to advanced audit api
      ```
      db1ed105
    • Kubernetes Submit Queue's avatar
      Merge pull request #57824 from thockin/gcr-vanity · fb340a46
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 57824, 58806, 59410, 59280). 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>.
      
      2nd try at using a vanity GCR name
      
      The 2nd commit here is the changes relative to the reverted PR.  Please focus review attention on that.
      
      This is the 2nd attempt.  The previous try (#57573) was reverted while we
      figured out the regional mirrors (oops).
          
      New plan: k8s.gcr.io is a read-only facade that auto-detects your source
      region (us, eu, or asia for now) and pulls from the closest.  To publish
      an image, push k8s-staging.gcr.io and it will be synced to the regionals
      automatically (similar to today).  For now the staging is an alias to
      gcr.io/google_containers (the legacy URL).
          
      When we move off of google-owned projects (working on it), then we just
      do a one-time sync, and change the google-internal config, and nobody
      outside should notice.
          
      We can, in parallel, change the auto-sync into a manual sync - send a PR
      to "promote" something from staging, and a bot activates it.  Nice and
      visible, easy to keep track of.
      
      xref https://github.com/kubernetes/release/issues/281
      
      TL;DR:
        *  The new `staging-k8s.gcr.io` is where we push images.  It is literally an alias to `gcr.io/google_containers` (the existing repo) and is hosted in the US.
        * The contents of `staging-k8s.gcr.io` are automatically synced to `{asia,eu,us)-k8s.gcr.io`.
        * The new `k8s.gcr.io` will be a read-only alias to whichever regional repo is closest to you.
        * In the future, images will be promoted from `staging` to regional "prod" more explicitly and auditably.
      
       ```release-note
      Use "k8s.gcr.io" for pulling container images rather than "gcr.io/google_containers".  Images are already synced, so this should not impact anyone materially.
          
      Documentation and tools should all convert to the new name. Users should take note of this in case they see this new name in the system.
      ```
      fb340a46
    • Kubernetes Submit Queue's avatar
      Merge pull request #59309 from zhangxiaoyu-zidif/fix-node-describe · 6827c3cf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59539, 59309). 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 describe when allocatable CPU/Memory is 0
      
      **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 #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      6827c3cf
    • Kubernetes Submit Queue's avatar
      Merge pull request #59539 from feiskyer/meta · b1334349
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59539, 59309). 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>.
      
      Set instanceID to azure resource ID format while useInstanceMetadata is enabled
      
      **What this PR does / why we need it**:
      
      This PR sets instanceID to azure resource ID format while useInstanceMetadata is enabled.
      
      Before this PR, it is `azure://d84a1c30-0c9f-11e8-8a34-000d3a919531`.
      
      With this PR, it becomes `azure:///subscriptions/<id>/resourceGroups/<rg>/providers/Microsoft.Compute/virtualMachines/<node-name>`
      
      
      **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**:
      
      This PR is only for vmas and could be cherry-picked to old releases. There will be another PR for vmss after this.
      
      Should cherry-pick to release 1.8 and 1.9.
      
      **Release note**:
      
      ```release-note
      Node's providerID is following Azure resource ID format now when useInstanceMetadata is enabled
      ```
      b1334349
    • zhangxiaoyu-zidif's avatar
      ba2404fd
    • Pengfei Ni's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #59531 from feiskyer/metadata · b3ec8295
      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>.
      
      Add useInstanceMetadata param back in Azure cloud provider
      
      This reverts commit bb1e797b.
      
      
      
      **What this PR does / why we need it**:
      
      Add useInstanceMetadata param back in Azure cloud provider.
      
      @jdumars and @brendandburns are working to make cloud controller manager using node's local instance metadata. It could help reducing cloud API calls for large clusters.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      This reverts #57647 and #57646.
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      b3ec8295
    • Tim Hockin's avatar
      Switch to k8s.gcr.io vanity domain · 35869864
      Tim Hockin authored
      This is the 2nd attempt.  The previous was reverted while we figured out
      the regional mirrors (oops).
      
      New plan: k8s.gcr.io is a read-only facade that auto-detects your source
      region (us, eu, or asia for now) and pulls from the closest.  To publish
      an image, push k8s-staging.gcr.io and it will be synced to the regionals
      automatically (similar to today).  For now the staging is an alias to
      gcr.io/google_containers (the legacy URL).
      
      When we move off of google-owned projects (working on it), then we just
      do a one-time sync, and change the google-internal config, and nobody
      outside should notice.
      
      We can, in parallel, change the auto-sync into a manual sync - send a PR
      to "promote" something from staging, and a bot activates it.  Nice and
      visible, easy to keep track of.
      35869864
    • Pengfei Ni's avatar
      Add useInstanceMetadata param back in Azure cloud provider · 4e4fde93
      Pengfei Ni authored
      This reverts commit bb1e797b.
      4e4fde93
    • Kubernetes Submit Queue's avatar
      Merge pull request #59249 from hanxiaoshuai/fixtodo0202 · 84bfc7ad
      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>.
      
      fix todo: Move isDecremented to pkg/apis/core/validation
      
      **What this PR does / why we need it**:
      fix todo: Move isDecremented in "k8s.io/kubernetes/pkg/apis/core/validation"
      **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**:
      
      2. If no release note is required, just write "NONE".
      -->
      ```release-note
      NONE
      ```
      84bfc7ad
    • Kubernetes Submit Queue's avatar
      Merge pull request #59429 from rramkumar1/ipvs-cleanup · 07e849c9
      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>.
      
      Cleanup of ipvs utils
      
      **What this PR does / why we need it**:
      This PR is a small cleanup of pkg/util/ipvs.
      
      The changes are as follows:
      
      1. Rename toBackendService -> toIPVSService and toBackendDestination -> toIPVSDestination. The use of the term 'backend' makes things really confusing and this renamig makes it more explicit about what we are doing.
      
      2. Give the libnetwork/ipvs package the name libipvs. This makes it less confusing since the package these files are in is also ipvs.
      
      3. Some variable naming cleanup to make things easier to read.
      
      /assign @m1093782566 
      
      **Release note**:
      
      ```release-note
      None
      ```
      07e849c9
    • Kubernetes Submit Queue's avatar
      Merge pull request #59448 from crimsonfaith91/collision · 8992aa0f
      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>.
      
      verify no extra RS was created when re-creating a deployment
      
      **What this PR does / why we need it**:
      This PR verifies no extra RS was created when re-creating a deployment to adopt previously orphaned RS by improving existing `testDeploymentsControllerRef` e2e test. This also verifies that collision avoidance mechanism works as expected.
      
      **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 #59213
      
      **Release note**:
      ```release-note
      NONE
      ```
      
      /sig apps
      8992aa0f
  2. 07 Feb, 2018 26 commits