1. 17 Apr, 2017 17 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #44569 from yujuhong/fix-rkt · d3d69505
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Don't check runtime condition for rktnetes
      
      rktnetes is not a CRI implementation, and does not provide runtime
      conditions. This change fixes the issue where rkt will never be
      considered running from kubelet's point of view.
      d3d69505
    • Kubernetes Submit Queue's avatar
      Merge pull request #44513 from mml/windows · 4372b437
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44519, 43194, 44513)
      
      Use regexp instead of substring to do search and replace.
      
      enisoc pointed out how ToLower can change (lengthen even!) the length of
      a string given arbitrary input.
      
      Follow-up to #44421 for #44419
      4372b437
    • Kubernetes Submit Queue's avatar
      Merge pull request #43194 from marun/fed-refactor-secret-e2e · 99b2ab07
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44519, 43194, 44513)
      
      [Federation] Add type-agnostic e2e crud test
      
      This PR proposes an e2e test that reuses the type-agnostic crudtester already used for integration testing to validate crud against a deployed cluster. It is intended to to eventually replace the existing e2e tests for simple types like secrets, but for now will run in addition to the existing testing to gain confidence in the coverage it provides.
      
      The deletion corner cases - when orphanDependents is nil or true - do not involve operations in the member clusters and are already well-tested in integration testing and so are not reimplemented here.
      
      Where it can be applied, this approach of abstracting a test from its execution environment - making the test 'retargetable' - can reduce the cost of test development since the bulk of the work can be iterated on as an integration test.  It can also serve as a check on assumptions made in the integration test about how a deployed environment will behave.
      
      cc: @kubernetes/sig-federation-pr-reviews @kubernetes/sig-testing-misc @smarterclayton @derekwaynecarr
      99b2ab07
    • Kubernetes Submit Queue's avatar
      Merge pull request #44519 from thockin/remove-deprecated-public-ips · ca8f1bcf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove deprecatedPublicIPs field
      ca8f1bcf
    • Yu-Ju Hong's avatar
      Don't check runtime condition for rktnetes · 1d3d12df
      Yu-Ju Hong authored
      rktnetes is not a CRI implementation, and does not provide runtime
      conditions. This change fixes the issue where rkt will never be
      considered running from kubelet's point of view.
      1d3d12df
    • Kubernetes Submit Queue's avatar
      Merge pull request #44217 from marun/fed-move-sync-controller · 190a0cab
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44560, 44217)
      
      [Federation] Move sync controller
      
      This PR moves the sync controller to its own package in support of parallel efforts to use it for more types than just secrets.
      
      The secret controller unit tests have been retained for now.  Once good unit test coverage exists for the sync controller, the existing secret controller unit testing can go away.
      
      cc: @kubernetes/sig-federation-pr-reviews @perotinus
      190a0cab
    • Kubernetes Submit Queue's avatar
      Merge pull request #44560 from nstott/patch-1 · 88b35f98
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix typo TerminalSize
      
      **What this PR does / why we need it**:
      fixes typo in comments
      
      **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
      ```
      88b35f98
    • Maru Newby's avatar
      fed: Add type-agnostic e2e crud test · d979210e
      Maru Newby authored
      d979210e
    • Maru Newby's avatar
      cca465e3
    • Kubernetes Submit Queue's avatar
      Merge pull request #43713 from marun/fed-secret-upgrade-test-redux · f96b187f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      [Federation] Add federated type registry
      
      This PR adds a registry for federated types. The goal is to simplify the consumption of federated type configuration by controllers/integration tests/e2e tests/upgrade tests.  Consumers can iterate over ``fedtypes.FederatedTypes()``, as per the usage in the crud integration test and controller manager in this PR.
      
      The previous name for the the adapter package - ``typeadapters`` - has been changed to ``fedtypes`` to reflect the fact that more than just type adapters are defined there.  I'm happy to take suggestions on the name, ``fedtypes`` was just the first thing that came to mind. 
      
      cc: @kubernetes/sig-federation-pr-reviews
      f96b187f
    • Nick Stott's avatar
      fix typo TerminalSize · 7310412a
      Nick Stott authored
      7310412a
    • Kubernetes Submit Queue's avatar
      Merge pull request #44373 from knightXun/patch-2 · 74d02588
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      change event count type
      
      event count type had better to be uint.
      
      thx all.
      74d02588
    • Kubernetes Submit Queue's avatar
      Merge pull request #44535 from StevenYCChou/fix-typo · 73765702
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix typo in build/common.sh
      
      **What this PR does / why we need it**:
      It fixes the typo in comments in `build/common.sh`:
      - backgound -> background
      - stoped -> stopped
      
      **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
      ```
      73765702
    • Maru Newby's avatar
      fed: mv pkg/typeadapters pkg/federatedtypes · 2c75aeed
      Maru Newby authored
      2c75aeed
    • Maru Newby's avatar
    • Maru Newby's avatar
    • Maru Newby's avatar
      3e4236d5
  2. 16 Apr, 2017 3 commits
  3. 15 Apr, 2017 7 commits
    • Tim Hockin's avatar
      Remove deprecatedPublicIPs field · 9153bfa9
      Tim Hockin authored
      9153bfa9
    • Kubernetes Submit Queue's avatar
      Merge pull request #44344 from mikedanese/ubuntu-delete · b22a2980
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44343, 44344)
      
      delete ubuntu kube-up
      
      ```release-note
      Remove deprecated ubuntu kube-up deployment.
      ```
      b22a2980
    • Kubernetes Submit Queue's avatar
      Merge pull request #44343 from mikedanese/ovirt-delete · 92ae06b5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      delete ovirt kube-up
      
      untouched since 2014. I'm not sure what this file is.
      92ae06b5
    • Kubernetes Submit Queue's avatar
      Merge pull request #44423 from monopole/fixUserAgent · f05ce1e8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Use OS-specific libs when computing client User-Agent in kubectl, etc.
      
      **What this PR does / why we need it**:
      
      The User-Agent reported by clients (e.g. kubectl) in request
      headers should include the name of the client executable
      but not the full path to that executable.
      
      This PR changes how this name is determined by using the
      operating-system specific package "path/filepath" (meant for
      working with file system paths) instead of the "path" package
      (meant for URL paths).
      
      This fixes a problem on the Windows OS in the case where, if the
      user has not set their PATH to point to the location of their
      client executable, the User-Agent includes the full path - which
      is unnecessary.
      
      Fixes: #44419
      
      ```release-note
      Use OS-specific libs when computing client User-Agent in kubectl, etc.
      ```
      f05ce1e8
    • Kubernetes Submit Queue's avatar
      Merge pull request #42498 from jcbsmpsn/add-jitter-to-rotation-threshold · 4e3bbe39
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44364, 44361, 42498)
      
      Fix the certificate rotation threshold and add jitter.
      
      Adjusts the certificate rotation threshold to be fixed, with some jitter to
      spread out the load on the Certificate Signing Request API. The rotation
      threshold is fixed at 20% now, meaning when 20% of the certificate's total
      duration is remaining, the certificate manager will attempt to rotate, with
      jitter +/-10%. For certificates of duration 1 month that means they will
      rotate after 24 days, +/- 3 days.
      
      On a 6000 node cluster, assuming all nodes added at nearly the same time, this
      should result in 6000 nodes rotating spread over 6 days (total range of the
      jitter), or ~42 nodes / hour requesting new certificates.
      4e3bbe39
    • Kubernetes Submit Queue's avatar
      Merge pull request #44361 from caesarxuchao/move-v1-helpers · e4b51810
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44364, 44361, 42498)
      
      Move v1 helpers
      
      The first 3 commits are other PRs.
      
      This PR move pkg/api/v1/helpers.go to a subpackage, which is almost symmetric to #44296, where pkg/api/helpers.go was moved.
      
      This PR is mostly mechanic, except that
      1. moved the 3 methods of Taint and Toleration to pkg/api/methods.go
      2. moved constants and types defined in v1/helpers.go to pkg/api/v1/annotataion_key_constants.go and nonstandard_types.go
      3. updated staging/copy.sh to copy pkg/api/helpers to client-go, it's otherwise removed from client-go because no other code in client-go depends on the package. Some test code in pkg/controller imports client-go/pkg/api/helpers. After moving api types to its own repo, we can remove these copies of utility function from client-go and ask users to use the ones in the main repo.
      
      (This PR breaks a cyclic import problem i met when I tried to move global variables pkg/api/Scheme and Registry to a subpackage)
      e4b51810
    • Kubernetes Submit Queue's avatar
      Merge pull request #44364 from mikedanese/delete-unbuilding · 515b089e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      bazel: delete deb that doesn't build
      
      cmd/kube-aggregator is long gone.
      515b089e
  4. 14 Apr, 2017 13 commits