1. 08 Jun, 2017 1 commit
  2. 07 Jun, 2017 13 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #46669 from kow3ns/statefulset-update · 0613ae50
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46235, 44786, 46833, 46756, 46669)
      
      implements StatefulSet update
      
      **What this PR does / why we need it**:
      1. Implements rolling update for StatefulSets
      2. Implements controller history for StatefulSets.
      3. Makes StatefulSet status reporting consistent with DaemonSet and ReplicaSet.
      
      https://github.com/kubernetes/features/issues/188
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      Implements rolling update for StatefulSets. Updates can be performed using the RollingUpdate, Paritioned, or OnDelete strategies. OnDelete implements the manual behavior from 1.6. status now tracks 
      replicas, readyReplicas, currentReplicas, and updatedReplicas. The semantics of replicas is now consistent with DaemonSet and ReplicaSet, and readyReplicas has the semantics that replicas did prior to this release.
      ```
      0613ae50
    • Kubernetes Submit Queue's avatar
      Merge pull request #46756 from girikuncoro/japanese-translate · 443ed358
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46235, 44786, 46833, 46756, 46669)
      
      Add Japanese translation for kubectl
      
      **What this PR does / why we need it**:
      I messed up the original PR(#45562) which was already been reviewed and approved. This PR provides first attempt to translate kubectl in Japanese (related to #40645 and #40591).
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      No issues
      
      **Special notes for your reviewer**:
      Should be reviewed by member of Japanese k8s community (I stayed in Japan for 4 years, but my language is not as good as native Japanese)
      443ed358
    • Kubernetes Submit Queue's avatar
      Merge pull request #46833 from wasylkowski/fix-rc-cleanup · 07e4cca7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46235, 44786, 46833, 46756, 46669)
      
      Fixed ResourceConsumer.CleanUp to properly clean up non-replication-controller resources and pods
      
      **What this PR does / why we need it**: Without this fix CleanUp does not remove non-replication-controller resources and pods. This leads to pollution that in some cases inadvertently affects what is happening in AfterEachs before the namespace gets deleted.
      
      **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
      ```
      07e4cca7
    • Kubernetes Submit Queue's avatar
      Merge pull request #44786 from tsandall/f8n-scheduling-policy · eae59aaf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46235, 44786, 46833, 46756, 46669)
      
      federation: Add admission controller for policy-based placement
      
      @nikhiljindal 
      
      Here's the initial version of the scheduling policy admission controller. It's at the point where it would benefit from having another pair of eyes look at it. The main thing I'm unsure of is the serialization of Kube resources for the webhook/query call.
      
      Release Note:
      
      ```
      The federation-apiserver now supports a SchedulingPolicy admission controller that enables policy-based control over placement of federated resources.
      ```
      
      Ref #39982
      eae59aaf
    • Kubernetes Submit Queue's avatar
      Merge pull request #46235 from droot/cmd-printer-refactor · a42867f1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46235, 44786, 46833, 46756, 46669)
      
      Get command uses print-column extn from Openapi schema
      
      **What this PR does / why we need it**:
      
      Kubectl Get command now uses metadata 'x-kubernetes-print-column' from Openapi schema to display a resource. This is to enable richer experience for non-compiled types (like service catalog API resources) in Kubectl. This functionality is currently guarded by a boolean flag "use-openapi-print-columns". 
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      fixes https://github.com/kubernetes/kubectl/issues/22
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Get command uses OpenAPI schema to enhance display for a resource if run with flag 'use-openapi-print-columns'. 
      An example command:
      kubectl get pods --use-openapi-print-columns 
      ```
      a42867f1
    • Kubernetes Submit Queue's avatar
      Merge pull request #47060 from deads2k/crd-12-prefix · d3b740bf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix etcd storage location for CRs
      
      Fixes https://github.com/kubernetes/kubernetes/issues/46031
      
      The first commit is easy, the second commit is hard.  
      
      @sttts Read the second commit very carefully and search the repo to make sure that you agree this is only affecting aggregator and apiextensions.
      
      @pmorie @derekwaynecarr make sure you check to see if service catalog is double prefixing.  Looks like we missed it in 1.6, but no one was using it.
      d3b740bf
    • Kubernetes Submit Queue's avatar
      Merge pull request #47021 from liggitt/projected-err · 5c9b9ae0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46997, 47021)
      
      Block on projected volume data fetch failure
      
      Fixes #47020
      5c9b9ae0
    • Kubernetes Submit Queue's avatar
      Merge pull request #46997 from jlowdermilk/no-hr-gcloud · 25352a7f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46997, 47021)
      
      Don't parse human-readable output from gcloud in tests
      
      This is the reason  `[k8s.io] Services should be able to change the type and ports of a service [Slow]` is currently failing on GKE e2e tests. For GKE jobs we run a prerelease version of gcloud, in which the default command output was changed.
      
      gcloud's default output for commands is human readable, and is subject to change. Anything scripting against gcloud should always pass `--format=json|yaml|value(...)`  so you get standardized output.
      
      fixes: #46918
      25352a7f
    • Kubernetes Submit Queue's avatar
      Merge pull request #46577 from gyliu513/predicate · 1dc20565
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47083, 44115, 46881, 47082, 46577)
      
      Do not fire InsufficientResourceError when there are intentional reasons
      
      **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 #45780 
      
      
      **Special notes for your reviewer**:
      Return directly of essential predicates failed.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      1dc20565
    • Kubernetes Submit Queue's avatar
      Merge pull request #47082 from wojtek-t/fix_node_conflicts · 683b7ff8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47083, 44115, 46881, 47082, 46577)
      
      Revert "Optimize selector for single-matching items"
      
      This reverts commit f93a270e.
      
      Fix: #46851
      
      @smarterclayton 
      
      The problem was that removing the requirement from the predicate resulted in not using "trigger" function in Cacher, which is super critical for performance. And this was messed up.
      683b7ff8
    • Kubernetes Submit Queue's avatar
      Merge pull request #46881 from smarterclayton/fixes_to_table_print · 379a15a4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47083, 44115, 46881, 47082, 46577)
      
      Add an e2e test for server side get
      
      Print a better error from the response. Performs validation to ensure it
      does not regress in alpha state.
      
      This is tests and bug fixes for https://github.com/kubernetes/community/pull/363
      
      @kubernetes/sig-api-machinery-pr-reviews
      379a15a4
    • Kubernetes Submit Queue's avatar
      Merge pull request #44115 from derekwaynecarr/reduce-logging-severity · 3fae07c5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47083, 44115, 46881, 47082, 46577)
      
      Scheduler should not log an error when there is no fit
      
      **What this PR does / why we need it**:
      The scheduler should not log an error when it is unable to find a fit for a pod as it's an expected situation when resources are unavailable on the cluster that satisfy the pods requirements.
      3fae07c5
    • Kubernetes Submit Queue's avatar
      Merge pull request #47083 from mikedanese/restart-fix · 66041a94
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      save kubelet cert between reboots on CVM
      
      fixes https://github.com/kubernetes/kubernetes/issues/46982
      66041a94
  3. 06 Jun, 2017 26 commits