1. 30 Apr, 2017 5 commits
  2. 29 Apr, 2017 21 commits
  3. 28 Apr, 2017 14 commits
    • Mike Danese's avatar
      ee707436
    • Mike Danese's avatar
      Merge pull request #45127 from mikedanese/fix-build · 13b7c95f
      Mike Danese authored
      update busybox to fix build
      13b7c95f
    • Aaron Crickenberger's avatar
      Avoid non-writable `/var/run` in integration tests · e847009d
      Aaron Crickenberger authored
      `/var/run` is not world-writable on my OSX 10.11.x setup, so tests that
      standup a secure apiserver fail with the default cert dir.  Use a
      tempdir instead.
      e847009d
    • Mike Danese's avatar
      fix build · 2c7e2e9c
      Mike Danese authored
      2c7e2e9c
    • Kubernetes Submit Queue's avatar
      Merge pull request #45032 from everett-toews/rm-rackspace · 0a0b6889
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove the Rackspace provider
      
      **What this PR does / why we need it**:
      
      To aid the effort of moving providers out of the cluster dir, I'm
      removing Rackspace and leaving behind a README.md simply as a
      placeholder until the entire dir is deleted.
      
      **Which issue this PR fixes**
      
      Fixes #6962
      
      **Release note**:
      
      ```release-note
      Deployment of Kubernetes clusters on Rackspace using the in-tree bash deployment (i.e. cluster/kube-up.sh or get-kube.sh) is obsolete and support has been removed.```
      0a0b6889
    • Kubernetes Submit Queue's avatar
      Merge pull request #44952 from CaoShuFeng/proxy_reject_path · 0afab578
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Log warning when invalid dir passed to kubectl proxy --www
      
      **Release note**:
      
      ```
      Log warning when invalid directory is passed to `kubectl proxy --www`
      ```
      0afab578
    • Kubernetes Submit Queue's avatar
      Merge pull request #44938 from jayunit100/cleanup-orphan-logging · e06fc087
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45033, 44961, 45021, 45097, 44938)
      
      Cleanup orphan logging that goes on in the sync loop.
      
      **What this PR does / why we need it**:
      
      Fixes #44937  
      
      **Before this PR** The older logs were like this:
      
      ```
      E0426 00:06:33.763347   21247 kubelet_volumes.go:114] Orphaned pod "35c4a858-2a12-11e7-910c-42010af00003" found, but volume paths are still present on disk.
      E0426 00:06:33.763400   21247 kubelet_volumes.go:114] Orphaned pod "e7676365-1580-11e7-8c27-42010af00003" found, but volume paths are still present on disk.
      ```
      
      The problem being that, all the volumes were spammed w/ no summary info.   
      
      **After this PR** the logs look like this:
      
      ```
      E0426 01:32:27.295568   22261 kubelet_volumes.go:129] Orphaned pod "408b060e-2a1d-11e7-90e8-42010af00003" found, but volume paths are still present on disk. : There were a total of 2 errors similar to this.  Turn up verbosity to see them.
      E0426 01:32:29.295515   22261 kubelet_volumes.go:129] Orphaned pod "408b060e-2a1d-11e7-90e8-42010af00003" found, but volume paths are still present on disk. : There were a total of 2 errors similar to this.  Turn up verbosity to see them.
      E0426 01:32:31.293180   22261 kubelet_volumes.go:129] Orphaned pod "408b060e-2a1d-11e7-90e8-42010af00003" found, but volume paths are still present on disk. : There were a total of 2 errors similar to this.  Turn up verbosity to see them.
      ```
      
      And with logging turned up, the extra info logs are shown with details:
      
      ```
      E0426 01:34:21.933983   26010 kubelet_volumes.go:129] Orphaned pod "1c565800-2a20-11e7-bbc2-42010af00003" found, but volume paths are still present on disk. : There were a total of 3 errors similar to this.  Turn up verbosity to see them.
      I0426 01:34:21.934010   26010 kubelet_volumes.go:131] Orphan pod: Orphaned pod "1c565800-2a20-11e7-bbc2-42010af00003" found, but volume paths are still present on disk.
      I0426 01:34:21.934015   26010 kubelet_volumes.go:131] Orphan pod: Orphaned pod "408b060e-2a1d-11e7-90e8-42010af00003" found, but volume paths are still present on disk.
      I0426 01:34:21.934019   26010 kubelet_volumes.go:131] Orphan pod: Orphaned pod "e7676365-1580-11e7-8c27-42010af00003" found, but volume paths are still present on disk.
      ```
      
      **Release note**
      
      ```release-note
      Roll up volume error messages in the kubelet sync loop.
      ```
      e06fc087
    • Kubernetes Submit Queue's avatar
      Merge pull request #45097 from shyamjvs/report-metrics-grabber-error · b5d4bbb6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45033, 44961, 45021, 45097, 44938)
      
      Disable the kubelet part of metrics collection in kubemark
      
      Fixes https://github.com/kubernetes/kubernetes/issues/45038
      
      This should fix it, as we are just interested in getting the apiserver metrics from kubemark master.
      
      cc @wojtek-t @gmarek
      b5d4bbb6
    • Kubernetes Submit Queue's avatar
      Merge pull request #45021 from shyamjvs/add-request-count · 01321936
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45033, 44961, 45021, 45097, 44938)
      
      Add request count to APICall metric
      
      Ref https://github.com/kubernetes/kubernetes/issues/44701
      
      This should add beside the API call latencies, the count of the requests.
      
      cc @wojtek-t @gmarek
      01321936
    • Kubernetes Submit Queue's avatar
      Merge pull request #44961 from mikedanese/fix-clone · 90d5fbca
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45033, 44961, 45021, 45097, 44938)
      
      replace CloneTLSConfig() with (*tls.Config).Clone()
      90d5fbca
    • Kubernetes Submit Queue's avatar
      Merge pull request #45033 from timothysc/examples_1 · 7a9808ae
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Prune examples and e2es per discussion on sig-testing
      
      **What this PR does / why we need it**:
      Prune k8petstore from examples and e2es per discussion on sig-testing
      
      **Special notes for your reviewer**:
      This can live elsewhere outside the main repository.  
      
      **Release note**:
      
      ```
      NONE
      ```
      
      /cc @jayunit100 @fejta @kubernetes/sig-testing-pr-reviews
      7a9808ae
    • Kubernetes Submit Queue's avatar
      Merge pull request #37499 from fabianofranz/kubectl_plugins · d4ece0ab
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubectl binary plugins
      
      **What this PR does / why we need it**:
      
      Introduces the ability to extend `kubectl` by adding third-party plugins that will be exposed through `kubectl`.
      
      Plugins are executable commands written in any language. To be included as a plugin, a binary or script file has to
      
      1. be located under one of the supported plugin path locations:
      1.1 `~/.kubectl/plugins` dir
      1.2. one or more directory set in the `KUBECTL_PLUGINS_PATH` env var
      1.3. the `kubectl/plugins` dir under one or more directory set in the `XDG_DATA_DIRS` env var, which defaults to `/usr/local/share:/usr/share`
      2. in any of the plugin path above, have a subfolder with the plugin file(s)
      3. in the subfolder, contain at least a `plugin.yaml` file that describes the plugin
      
      Example:
      
      ```
      $ cat ~/.kube/plugins/myplugin/plugin.yaml
      name: "myplugin"
      shortDesc: "My plugin's short description"
      command: "echo Hello plugins!"
      
      $ kubectl myplugin
      Hello plugins!
      ```
      
      ~~In case the plugin declares `tunnel: true`, the plugin engine will pass the `KUBECTL_PLUGIN_API_HOST` env var when calling the plugin binary. Plugins can then access the Kube REST API in "http://$KUBECTL_PLUGIN_API_HOST/api" using the same context currently in use by `kubectl`.~~
      
      Test plugins are provided in `pkg/kubectl/plugins/examples`. Just copy (or symlink) the files to `~/.kube/plugins` to test.
      
      **Which issue this PR fixes**:
      
      Related to the discussions in the proposal document: https://github.com/kubernetes/kubernetes/pull/30086 and https://github.com/kubernetes/community/pull/122.
      
      **Release note**:
      ```release-note
      Introduces the ability to extend kubectl by adding third-party plugins. Developer preview, please refer to the documentation for instructions about how to use it.
      ```
      d4ece0ab
    • Huamin Chen's avatar
      e2e test: test azure disk volume · 165d46a0
      Huamin Chen authored
      Signed-off-by: 's avatarHuamin Chen <hchen@redhat.com>
      165d46a0
    • Charles Butler's avatar
      Adds the cifs-common package · 9ee4e99d
      Charles Butler authored
      Enable mounting of filesystems over the CIFS protocol. Closes
      https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/227
      9ee4e99d