1. 25 Apr, 2017 3 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #42101 from Dmitry1987/feature/hpa-upscale-downscale-delay-configurable · 6c8cb33f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44862, 42241, 42101, 43181, 44147)
      
      Feature/hpa upscale downscale delay configurable
      
      **What this PR does / why we need it**:
      Makes "upscale forbidden window" and "downscale forbidden window"  duration configurable in arguments of kube-controller-manager. Those are options of horizontal pod autoscaler.
      
      **Special notes for your reviewer**:
      Please have a look @DirectXMan12 , the PR as discussed in Slack.
      
      **Release note**:
      ```
      Make "upscale forbidden window" and "downscale forbidden window"  duration configurable in arguments of kube-controller-manager. Those are options of horizontal pod autoscaler. Right now are hardcoded 3 minutes for upscale, and 5 minutes to downscale.  But sometimes cluster administrator might want to change this for his own needs.
      ```
      6c8cb33f
    • Kubernetes Submit Queue's avatar
      Merge pull request #42241 from xiangpengzhao/shortname-np · 390e9872
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44862, 42241, 42101, 43181, 44147)
      
      Add short name "netpol" for networkpolicies
      
      **What this PR does / why we need it**:
      Add short name for `networkpolicies` in kubectl command for good user experience.
      
      **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
      Add short name "netpol" for networkpolicies
      ```
      390e9872
    • Kubernetes Submit Queue's avatar
      Merge pull request #44862 from liggitt/icc-namespace-override · c3ec845a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Stop treating in-cluster-config namespace as an override
      
      Fixes #44835
      
      The namespace of an in-cluster config should behave like the namespace specified in a kubeconfig file... it should be used as the default namespace, but be able to be overridden by namespaces specified in yaml files passed to `kubectl create -f`.
      
      ```release-note
      Restored the ability of kubectl running inside a pod to consume resource files specifying a different namespace than the one the pod is running in.
      ```
      c3ec845a
  2. 24 Apr, 2017 28 commits
  3. 23 Apr, 2017 6 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #41763 from dhilipkumars/ImproveSrvCodeCov · 35159f9c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Improve Service controller's code coverage a little bit
      
      **What this PR does / why we need it**:
      Improves the code coverage for Service Controller
      Before
      ```
      go test --cover ./pkg/controller/service
      ok      k8s.io/kubernetes/pkg/controller/service        0.101s  coverage: 23.4% of statements
      ```
      After
      ```
      go test --cover ./pkg/controller/service/
      ok      k8s.io/kubernetes/pkg/controller/service        0.094s  coverage: 62.0% of statements
      ```
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      More unit testing
      
      **Special notes for your reviewer**:
      
      **Release note**: 
      
      ```release-note
      NONE
      ```
      35159f9c
    • Kubernetes Submit Queue's avatar
      Merge pull request #43896 from CaoShuFeng/list-meta · e7ca665a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Reorganize the output of "kubectl get -o json"
      
      "resourceVersion" and "selfLink" are members of "metadata" rather than
      the list. This change reorganize the struct to provide consistency with
      other places.
      
      Before this change:
      ```json
          "kind": "List",
          "metadata": {},
          "resourceVersion": "",
          "selfLink": ""
      ```
      After this change:
      ```json
          "kind": "List",
          "metadata": {
              "resourceVersion": "",
              "selfLink": ""
          }
      ```
      
      Reference:
      https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go#L57
      
      
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      e7ca665a
    • Kubernetes Submit Queue's avatar
      Merge pull request #44801 from klausenbusk/patch-1 · 1235365a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove redis-proxy example
      
      The docker image is nowhere to be found, so lets remove it.
      There have been a request for the Dockerfile here [1], but nobody
      seems to care.
      
      
      [1] https://github.com/kubernetes/kubernetes/issues/4914#issuecomment-77209779
      ----
      **What this PR does / why we need it**:
      This PR remove a k8s manifest which use a image which source is nowhere to be found.
      
      ```release-note
      Remove redis-proxy.yaml sample, as the image is nowhere to be found.
      ```
      1235365a
    • Kubernetes Submit Queue's avatar
      Merge pull request #44150 from lukaszo/claim-time · 7875eb28
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Skip pods marked for deletion
      
      Fixes #44144
      7875eb28
    • Kristian Klausen's avatar
      Remove redis-proxy example · eb882a3d
      Kristian Klausen authored
      The docker image is nowhere to be found, so lets remove it.
      There have been a request for the Dockerfile here [1], but nobody
      seems to care.
      
      redis-proxy is replaced with redis-master in test-cmd-util.sh, to
      ensure that the tests still works.
      The redis-proxy pod in test/fixtures/doc-yaml/user-guide/multi-pod.yaml
      is replaced with valid-pod from test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml,
      so redis-proxy is removed every where.
      
      [1] https://github.com/kubernetes/kubernetes/issues/4914#issuecomment-77209779
      eb882a3d
    • Kubernetes Submit Queue's avatar
      Merge pull request #43703 from metachris/glusterfsReadmeUpdate · 28b47b5e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fixed typos and issues in examples/volumes/glusterfs/README.md
      
      **What this PR does / why we need it**:
      
      This PR updates the GlusterFS `README.md` to fix several typos, outdated documentation and examples that did not work anymore.
      
      **Which issue this PR fixes** 
      
      None
      
      **Special notes for your reviewer**:
      
      None
      
      **Release note**:
      
      `release-note-NONE`
      28b47b5e
  4. 22 Apr, 2017 3 commits