1. 17 Dec, 2017 27 commits
  2. 16 Dec, 2017 13 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #56955 from feiskyer/scrub-dns · 2ae99cf1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56997, 57008, 56984, 56975, 56955). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Remove unused ScrubDNS interface from cloudprovider
      
      **What this PR does / why we need it**:
      
      DNS scrubber from kubelet has been removed in #36785 and cloudprovider's `ScrubDNS()` interface is not used anywhere.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #56953.
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Remove ScrubDNS interface from cloudprovider.
      ```
      2ae99cf1
    • Kubernetes Submit Queue's avatar
      Merge pull request #56975 from davidxia/examples · 049ef3fd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56997, 57008, 56984, 56975, 56955). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      examples: Make messages more informative
      
      by including pod name and namespace
      
      
      
      **What this PR does / why we need it**:
      Makes messages sent to stdout more informative.
      This helps new users running the examples.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      049ef3fd
    • Kubernetes Submit Queue's avatar
      Merge pull request #56984 from dungeonmaster18/kubectl-cleanup · ea8ec206
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56997, 57008, 56984, 56975, 56955). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      remove internal version api from apply
      Signed-off-by: 's avatardungeonmaster18 <umesh4257@gmail.com>
      
      
      
      **What this PR does / why we need it**:
      Remove internal api version from apply.go.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      it helps fixing [kubernetes/kubectl#83](https://github.com/kubernetes/kubectl/issues/83).
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      None
      ```
      ea8ec206
    • Kubernetes Submit Queue's avatar
      Merge pull request #57008 from dims/sort-cidrs-for-reproducible-build · b0a17e4e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56997, 57008, 56984, 56975, 56955). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Sort default cidrs for reproducible builds
      
      **What this PR does / why we need it**:
      
      In different distros or environments, we may end up with a different
      order of the default string printed during help and man page generation,
      So we should sort so the string we print is the same everytime.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #52269
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      b0a17e4e
    • Kubernetes Submit Queue's avatar
      Merge pull request #56997 from hzxuzhonghu/cleanup · 78c7c6f8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56997, 57008, 56984, 56975, 56955). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      code cleanup in discovery client
      
      **What this PR does / why we need it**:
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      78c7c6f8
    • Kubernetes Submit Queue's avatar
      Merge pull request #54985 from GheRivero/fastbuild_false · ab9a5343
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56894, 56940, 55223, 56554, 54985). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fix Makefile doc for quick-release
      
      **What this PR does / why we need it**:  Fix Makefile doc for quick-release
      In the Makefile doc for quick-release target, it says:
      KUBE_FASTBUILD: Whether to cross-compile for other architectures. Set to 'true' to do so.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      ab9a5343
    • Kubernetes Submit Queue's avatar
      Merge pull request #56554 from m1093782566/win-test · e113c750
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56894, 56940, 55223, 56554, 54985). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Remove dead code in winkernel proxy UT
      
      **What this PR does / why we need it**:
      
      There is a `+build windows` tag in `pkg/proxy/winkernel/proxier_test.go`, it means the UTs will not run in upstream CI. Plus, the UT codes in  `pkg/proxy/winkernel/proxier_test.go` are not for winkernel proxier, instead they are for iptables proxier!
      
      We should remove the dead code in winkernel proxy UT and then create the winkernel-specific UTs.
      
      **Which issue(s) this PR fixes**:
      Fixes #56555
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      e113c750
    • Kubernetes Submit Queue's avatar
      Merge pull request #55223 from mfojtik/fix-proto · 2ed40242
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56894, 56940, 55223, 56554, 54985). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fix protobuf generator for aliases to repeated types
      
      Currently if a type has an alias the generator will fail generating protobuf. This prevents the problem.
      
      ```release-note
      NONE
      ```
      2ed40242
    • Kubernetes Submit Queue's avatar
      Merge pull request #56940 from misterikkit/subTest · fe3eb4ed
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56894, 56940, 55223, 56554, 54985). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Convert scheduler_perf tests to use subtest.
      
      Combine four separate tests into a table-driven test that uses subtests
      to logically organize the tests.
      
      
      
      **What this PR does / why we need it**:
      Simplifies integration test code in test/integration/scheduler_perf.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /sig scheduling
      fe3eb4ed
    • Kubernetes Submit Queue's avatar
      Merge pull request #56894 from Shashwatsh/master · a96d386e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56894, 56940, 55223, 56554, 54985). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Update kube-up.sh; fixed a typo!
      
      fixed a typo in kube-up.sh; ```libvert-coreos``` should be ```libvirt-coreos```
      a96d386e
    • Kubernetes Submit Queue's avatar
      Merge pull request #56871 from jpbetz/etcd-version-monitor-3.1 · 8ae6202b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56650, 55813, 56911, 56921, 56871). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Improve etcd-version-monitor metrics proxying, add etcd 3.1 gprc metr…
      
      Partially addresses https://github.com/kubernetes/kubernetes/issues/56869:
      
      - Fix `etcd-version-monitor` to support etcd 3.1: Add support for the etcd 3.1+ [go-grpc-prometheus](https://github.com/grpc-ecosystem/go-grpc-prometheus) metrics format, which backward incompatibly replaces  the 3.0 legacy grpc metric format. Expose the go-grpc-prometheus metrics both in the 3.1 format and in the 3.0 format so systems consuming `etcd-version-monitor` metrics have a clean, simple upgrade path.
      - Expose *all* etcd metrics by default, making this a one stop shop for all etcd metrics.
      - Expose grpc request latency histogram metrics (`grpc_server_handling_seconds` from [go-grpc-prometheus](https://github.com/grpc-ecosystem/go-grpc-prometheus) metrics format). Rewrite etcd 3.0 legacy metric for latency histograms to the etcd 3.1+ `go-grpc-prometheus` format so there is a single format exported for all etcd versions.
      
      etcd 3.0 to 3.1 upgrade path:  Continue to use the `etcd_grpc_requests_total`. Once the upgrade is complete and all etcd nodes are running 3.1, migrate to the `grpc_server_handled_total` metric at your leisure.
      
      This PR reorganizes the code substantially. Previously, the code to proxy etcd metrics was hard coded and limited to a single counter metric. This has been entirely replaced with code that generically filters, rewrites proxied etcd metrics and then aggregates them with custom metrics such as the etcd version metric.
      
      cc @wojtek-t @mml @shyamjvs @cheftako 
      
      ```release-note
      Fix `etcd-version-monitor` to backward compatibly support etcd 3.1 [go-grpc-prometheus](https://github.com/grpc-ecosystem/go-grpc-prometheus) metrics format.
      ```
      8ae6202b
    • Kubernetes Submit Queue's avatar
      Merge pull request #56921 from andyzhangx/flexvolume-windows · ea55d70e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56650, 55813, 56911, 56921, 56871). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      enable flexvolume on Windows node
      
      **What this PR does / why we need it**:
      enable flexvolume on Windows node:
      current PodVolumeDir is like 
      `\var\lib\kubelet\pods\f54c5a74-da63-11e7-b71a-000d3a02c330\volumes\test~hostpath.cmd\flextest`
      which is a unix path, with this PR, PodVolumeDir in **windows** kubelet  will be converted into like
      `c:\var\lib\kubelet\pods\f54c5a74-da63-11e7-b71a-000d3a02c330\volumes\test~hostpath.cmd\flextest` 
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #56875
      
      **Special notes for your reviewer**:
      Detailed steps about how to use flexvolume on Windows with this PR:
      https://github.com/andyzhangx/Demo/tree/master/windows/flexvolume
      
      **Release note**:
      
      ```
      enable flexvolume on Windows node
      ```
      
      /sig windows
      ea55d70e
    • Kubernetes Submit Queue's avatar
      Merge pull request #56911 from WanLinghao/projected_test_fix · a9029595
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 56650, 55813, 56911, 56921, 56871). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      fix deviceplugin test file create leak file problem
      
      When execute make test, this test file will create a file named "kubelet_internal_checkpoint" in k8s directory and not delete it.
      
      This patch fix this error
      
      
      
      
      **What this PR does / why we need it**:
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #56365
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      
      ```
      a9029595