1. 09 Aug, 2017 16 commits
    • Jacob Beacham's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #48659 from shiywang/fix-sort · 190ee708
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix sort-by output problem
      
      Fixes https://github.com/kubernetes/kubectl/issues/43
      
      This bug was original introduced in pr here: https://github.com/kubernetes/kubernetes/pull/46265, I think next time if we touch something printer related package, maybe should let @smarterclayton have a review, although he is pretty busy I guess : ) and that package also changed a lot recently since he's been working on refactoring.
       
      this is a quick and dirty fix, not sure if there's better way, I will add some regression test soon...
      
      @kubernetes/sig-cli-pr-reviews 
      
      ```release-note
      NONE
      ```
      
      /assign @mengqiy 
      /assign @smarterclayton
      190ee708
    • Kubernetes Submit Queue's avatar
      Merge pull request #49534 from smarterclayton/separate_proxy · da549596
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Support exec/attach/portforward in `kubectl proxy`
      
      Use the UpgradeAwareProxy shared code in kubectl proxy. Provide a separate transport for those requests that does not have HTTP/2 enabled. Refactor the code to be a bit cleaner in places and to better separate changes.
      
      Fixes #32026
      
      ```release-note
      `kubectl proxy` will now correctly handle the `exec`, `attach`, and `portforward` commands.  You must pass `--disable-filter` to the command in order to allow these endpoints.
      ```
      da549596
    • Kubernetes Submit Queue's avatar
      Merge pull request #46069 from waseem/variadic-command-addition-to-parent-command · 6a0d3c74
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Use variadic nature of *cobra.Command.AddCommand to add group of commands to a parent command
      
      **What this PR does / why we need it**:
      
      Rather than looping over commands in a group and add it one by one to a
      parent command, use variadic nature of *cobra.Command.AddCommand to add
      the group of commands to the parent.
      6a0d3c74
    • Kubernetes Submit Queue's avatar
      Merge pull request #50330 from mwielgus/default-pricing · 3655685d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Ensure that pricing expander is used by default in Cluster Autoscaler
      
      Pricing expander was set as the default one for GCP, however on some occasion it was possible that AUTOSCALER_EXPANDER_CONFIG variable was not set resulting in using the the random expander.
      3655685d
    • Kubernetes Submit Queue's avatar
      Merge pull request #50333 from shyamjvs/add-debug-to-logexporter · 65574809
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50173, 50324, 50288, 50263, 50333)
      
      Add debug logs to log-dump
      
      ref https://github.com/kubernetes/test-infra/issues/3981
      
      cc @fejta @krzyzacy
      65574809
    • Kubernetes Submit Queue's avatar
      Merge pull request #50263 from liyinan926/branch1 · 8f5f061c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50173, 50324, 50288, 50263, 50333)
      
      Copy annotations from StatefulSet to owned ControllerRevisions
      
      **What this PR does / why we need it**:
      This PR starts copying annotations from a `StatefulSet`'s metadata to the `ControllerRevision`s it owns. `DaemonSet` controller copies the annotations from a `DaemonSet`s metadata to the `ControllerRevision`s it owns. One of the annotation copied is `kubernetes.io/change-cause`, which is used in `DaemonSetHistoryViewer` to fill in the `CHANGE-CAUSE` column of revision history of a `DaemonSet`.
      
      For consistency, the `StatefulSet` controller should do the same, i.e., copy annotations in a `StatefulSet`'s metadata to the `ControllerRevision`s it owns for consistency. 
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50158.
      
      **Special notes for your reviewer**:
      /assign @kow3ns 
      
      **Release note**:
      ```release-note
      Copy annotations from a StatefulSet's metadata to the ControllerRevisions it owns
      ```
      8f5f061c
    • Kubernetes Submit Queue's avatar
      Merge pull request #50288 from liggitt/service-account-warning · 788664b7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50173, 50324, 50288, 50263, 50333)
      
      Honor --use-service-account-credentials and warn when missing private key
      
      Fixes #50275 by logging a warning and failing to start rather than continue to run ignoring the user's specified config
      788664b7
    • Kubernetes Submit Queue's avatar
      Merge pull request #50324 from mtaufen/fix-test-import · dee7dca6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50173, 50324, 50288, 50263, 50333)
      
      Add blank import for node tests
      
      The node tests weren't being run because the weren't imported in the test/e2e/e2e_test.go file.
      Thanks to @abgworrall for sounding the alarm (he noticed [sig-node] wasn't in the test results)!
      
      /assign @yujuhong 
      /cc @abgworrall
      dee7dca6
    • Kubernetes Submit Queue's avatar
      Merge pull request #50173 from luxas/kubeadm_constants · 35e5197e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubeadm: Centralize commonly used paths/constants to the constants pkg
      
      **What this PR does / why we need it**:
      Before there were constants defined for the control plane components in three different places:
       - images
       - phases/controlplane
       - phases/selfhosting
      
      Now they are in one centralized place. I also moved funcs for building common paths to that lib.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      Dependency for: https://github.com/kubernetes/kubernetes/pull/48899
      
      **Special notes for your reviewer**:
      
      Most of this PR really is autogenerated with a replace tool. I tested this and things work just normally as well.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      @timothysc @dmmcquay @pipejakob @kubernetes/sig-cluster-lifecycle-pr-reviews
      35e5197e
    • Kubernetes Submit Queue's avatar
      Merge pull request #50177 from msau42/local-e2e · 35cba526
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix local storage test failures
      
      **What this PR does / why we need it**:
      Fixed a few issues:
      - CI environment on GCE cannot resolve node names, need to use IPs.  Use a different SSH wrapper that will get the IPs from the node object.
      - Use hostdir instead of containerdir now that commands are executed directly on the host, instead of through a container.
      - Get the PVC object again after it is bound so that it has the PV name.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50128
      
      **Release note**:
      NONE
      
      /release-note-none
      /sig storage
      35cba526
    • Kubernetes Submit Queue's avatar
      Merge pull request #50175 from foxish/update-strategies · 3d91ba57
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Change default update strategy to rolling update
      
      Fixes https://github.com/kubernetes/kubernetes/issues/49604
      Change default update strategy to rolling update for daemonset and statefulset in v1beta2
      
      cc @kubernetes/sig-apps-pr-reviews @lukaszo @kargakis 
      
      **Release note**:
      
      ```release-note
      Make rolling update the default update strategy for v1beta2.DaemonSet and v1beta2.StatefulSet
      ```
      3d91ba57
    • caleb miles's avatar
      Merge pull request #47280 from euank/rmek · 2e505002
      caleb miles authored
      owners: remove euank from sig-node-reviewers
      2e505002
    • Kubernetes Submit Queue's avatar
      Merge pull request #49771 from feiskyer/wait-for-failure · 8c4a269b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add waitForFailure for e2e test framework
      
      **What this PR does / why we need it**:
      
      Add waitForFailure for e2e test framework, this could reduce the reliance on logs.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: 
      
      Part of #44118. Refer https://github.com/kubernetes/kubernetes/pull/48858#discussion_r128331726
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      8c4a269b
    • Kubernetes Submit Queue's avatar
      Merge pull request #49223 from alexandercampbell/kubectl-impl-only-structuredgenerator · a5b4899a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubectl: deploy generators don't need to impl Generator iface
      
      The `kubectl create deployment` generators do not need to implement the Generator interface, since they are only used as implementations of the StructuredGenerator interface. I was able to delete some tests of their Generator methods as part of this change.
      
      ### Considerations for code reviewers
      
      1. Every other StructuredGenerator implementation implements the Generator interface in additional. My change makes the "create deployment" generators a little unusual. I've added a docstring to this effect in `util/factory_client_access.go`.
      2. This significantly reduces the maintenance / testing burden for future updates to `kubectl create deployment`.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      a5b4899a
    • Kubernetes Submit Queue's avatar
      Merge pull request #49340 from janetkuo/apps-v1beta2-dep-rollback · 2bd21273
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Deprecate Deployment .spec.rollbackTo field 
      
      ~Depends on #48746~ (merged)
      xref: #46934, #49135
      
      1. Deprecate Deployment field `.spec.rollbackTo` in `extensions/v1beta1` and `apps/v1beta1`, and remove the same field and `/rollback` endpoint from `apps/v1beta2` Deployment. 
      1. Add an annotation `deprecated.deployment.rollback.to` in `apps/v1beta2` for conversion to/from other versions. 
      
      Note: `apps/v1beta2` is new in 1.8 (and WIP), so it is okay to make breaking changes to it. 
      
      ```release-note
      Deprecate Deployment .spec.rollbackTo field 
      ```
      2bd21273
  2. 08 Aug, 2017 24 commits