1. 16 Aug, 2017 36 commits
    • Jeff Grafton's avatar
      Bump repo-infra/kazel dependency · eab549a6
      Jeff Grafton authored
      eab549a6
    • Kubernetes Submit Queue's avatar
      Merge pull request #50710 from enj/enj/r/rbac_auth_builders · 6430b100
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46927, 50664, 50710)
      
      Refactor RBAC authorizer entry points
      
      This change refactors various RBAC authorizer functions to be more flexible in their inputs.  This makes it easier to reuse the various components that make up the authorizer.
      Signed-off-by: 's avatarMonis Khan <mkhan@redhat.com>
      
      ```release-note
      NONE
      ```
      6430b100
    • Kubernetes Submit Queue's avatar
      Merge pull request #50664 from lichuqiang/b0815 · 4ac725a5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46927, 50664, 50710)
      
      fix typo(code annotation) in resouce_analyzer of kubelet
      4ac725a5
    • Kubernetes Submit Queue's avatar
      Merge pull request #46927 from shiywang/delete · 0439695e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46927, 50664, 50710)
      
      Remove deprecated command 'kubectl stop'
      
      Fixes https://github.com/kubernetes/kubernetes/issues/11384
      I think this is the final step @kubernetes/sig-cli-pr-reviews  @kargakis
      0439695e
    • Kubernetes Submit Queue's avatar
      Merge pull request #50387 from jcbsmpsn/metric-certificate-expiration · 6bc0b295
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add metric for remaining lifetime of certificates authenticating requests
      
      fixes #50778
      
      When incoming requests to the API server are authenticated by a certificate, the expiration of the certificate can affect the validity of the authentication. With auto rotation of certificates, which is starting with kubelet certificates, the goal is to use shorter lifetimes and let the kubelet renew the certificate as desired. Monitoring certificates which are approaching expiration and not renewing would be an early warning sign that nodes are about to stop participating in the cluster.
      
      **Release note**:
      
      ```release-note
      Add new Prometheus metric that monitors the remaining lifetime of certificates used to authenticate requests to the API server.
      ```
      6bc0b295
    • Kubernetes Submit Queue's avatar
      Merge pull request #50739 from FengyunPan/auto-get-subnet-id · e76ecd63
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50769, 50739)
      
      Support autoprobing subnet-id for openstack cloud provider
      
      Currently if user doesn't specify subnet-id or specify a unsafe
      subnet-id, openstack cloud provider can't create a correct LoadBalancer
      service.
      Actually we can get it automatically. This patch do a improvement.
      This is a part of #50726
      
      **Special notes for your reviewer**:
      /assign @dims 
      /assign @anguslees 
      
      **Release note**:
      ```release-note
      NONE
      ```
      e76ecd63
    • Kubernetes Submit Queue's avatar
      Merge pull request #50769 from bskiba/rem · e8bd7117
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50769, 50739)
      
      Make removing nodes public for Kubemark controller
      
      The ability to remove a specific node is needed by Cluster Autoscaler to work.
      
      **Release note**:
      ```
      NONE
      ```
      e8bd7117
    • Monis Khan's avatar
      Refactor RBAC authorizer entry points · 8e7893e5
      Monis Khan authored
      This change refactors various RBAC authorizer functions to be more
      flexible in their inputs.  This makes it easier to reuse the various
      components that make up the authorizer.
      Signed-off-by: 's avatarMonis Khan <mkhan@redhat.com>
      8e7893e5
    • Kubernetes Submit Queue's avatar
      Merge pull request #48057 from NickrenREN/fix-validateNodeAllocatable · d2cf96d6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50758, 48057)
      
      Fix node allocatable resource validation
      
      GetNodeAllocatableReservation gets all the reserved resource value
      Allocatable resource = capacity - reservation
      
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d2cf96d6
    • Kubernetes Submit Queue's avatar
      Merge pull request #50758 from jianglingxia/jlx081656 · b68b9849
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50758, 48057)
      
      continue fix the typo in staging file
      
      **What this PR does / why we need it**:
      in kubernetes has left two place to modify the word of explicit,thanks
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50680 
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      b68b9849
    • Beata Skiba's avatar
      6f236695
    • Kubernetes Submit Queue's avatar
      Merge pull request #47480 from danehans/kubeadm_certs · 04a64810
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 49115, 47480)
      
      Adds IPv6 test cases for kubeadm certs.
      
      **What this PR does / why we need it**:
      Adds IPv6 test cases in support of kubeadm certificate and validation functionality. It's needed to ensure test cases cover IPv6 related networking scenarios.
      
      **Which issue this PR fixes**
      This PR is in support of Issue #1443
      
      **Special notes for your reviewer**:
      Additional PR's will follow to ensure kubeadm supports IPv6.
      
      **Release note**:
      ```NONE
      ```
      04a64810
    • Kubernetes Submit Queue's avatar
      Merge pull request #49115 from CaoShuFeng/audit_beta · 49bee177
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 49115, 47480)
      
      Upgrade advanced audit to version v1beta1
      
      This change does nothing but only upgrades advanced audit to version v1beta1.
      There will be following up changes which does real effect to advanced audit feature.
      
      After this change audit policy file should contain apiVersion and kind and has such format:
      ```
      apiVersion: audit.k8s.io/v1alpha1
      kind: Policy
      rules:
        - level: None
      ```
      or use the v1beta1 policy:
      ```
      apiVersion: audit.k8s.io/v1beta1
      kind: Policy
      rules:
        - level: None
      ```
      Updates #48561
      
      **Release note**:
      
      ```
      Upgrade advanced audit to version v1beta1.
      ```
      49bee177
    • Kubernetes Submit Queue's avatar
      Merge pull request #50727 from CaoShuFeng/leaked_socket_file · 02ad4391
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50692, 50727)
      
      remove leaked socket file after unit test
      
      Before this change:
      ```
      $ make test WHAT=k8s.io/kubernetes/pkg/master
      +++ [0816 11:19:03] Running tests without code coverage
      ok  	k8s.io/kubernetes/pkg/master	27.953s
      $ find -type s
      ./pkg/master/127.0.0.1:2100324511
      ./pkg/master/127.0.0.1:2100424511
      ./pkg/master/localhost:8235197834378812860
      ./pkg/master/localhost:82351978343788128600
      ./pkg/master/127.0.0.1:2100524511
      ./pkg/master/127.0.0.1:2100624511
      ./pkg/master/localhost:1155389051645284688
      ./pkg/master/localhost:11553890516452846880
      ```
      **Release note**:
      
      ```
      NONE
      ```
      02ad4391
    • Kubernetes Submit Queue's avatar
      Merge pull request #50692 from fabriziopandini/kubeadm-phases-small-cleanups · 7b264382
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50692, 50727)
      
      kubeadm: Small cleanups from the phases refactoring
      
      **What this PR does / why we need it**:
      Small cleanups on kubeadm phases
      
      **Which issue this PR fixes**: 
      fixes pending comments in [#49419](https://github.com/kubernetes/kubernetes/pull/49419)
      fixes [#376](https://github.com/kubernetes/kubeadm/issues/376)
      
      **Special notes for your reviewer**:
      cc @luxas
      7b264382
    • Kubernetes Submit Queue's avatar
      Merge pull request #50558 from xiangpengzhao/remove-pkg · 7acff7e1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50589, 50558)
      
      Remove packages which aren't relied on by heapster anymore.
      
      **What this PR does / why we need it**:
      Do the TODO:
      ```
      // TODO apimachinery remove this empty package.  Godep fails without this because heapster relies
      // on this package.  This will allow us to start splitting packages, but will force
      // heapster to update on their next kube rebase.
      ```
      
      These packages aren't relied on by heapster anymore. This PR removes them. This is a followup of #48410.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      ref: #48386 #48410
      
      **Special notes for your reviewer**:
      /cc @deads2k 
      /kind cleanup
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      7acff7e1
    • Kubernetes Submit Queue's avatar
      Merge pull request #50589 from jinzhejz/jinzhejz_commentsrefine · 47605e14
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50589, 50558)
      
      remove useless comments
      
      **What this PR does / why we need it**:
      remove useless comments
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #49103
      
      **Release note**:
      ```release-note
      None
      ```
      47605e14
    • Dr. Stefan Schimanski's avatar
    • Cao Shufeng's avatar
      run hack/update-all.sh · 0410221c
      Cao Shufeng authored
      0410221c
    • Cao Shufeng's avatar
      upgrade advanced audit to v1beta1 · f4e8b8f1
      Cao Shufeng authored
      f4e8b8f1
    • Kubernetes Submit Queue's avatar
      Merge pull request #50204 from smarterclayton/move_list_to_metav1 · 49ed2a31
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50711, 50742, 50204)
      
      Move List (the type) into metav1 but preserve the exposed type
      
      Make a list something that other components can use without depending on the core API. This does not change the public API exposure of `List` (it is still in `v1`) but makes the interface common across both.
      49ed2a31
    • Kubernetes Submit Queue's avatar
      Merge pull request #50742 from WIZARD-CXY/fixpanicine2e · bc2bb37f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50711, 50742, 50204)
      
      fix panic in e2e
      
      **What this PR does / why we need it**:
      fix #50660 
      **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**:
      no
      **Release note**:
      
      ```release-note
      
      none
      ```
      bc2bb37f
    • Kubernetes Submit Queue's avatar
      Merge pull request #50711 from oomichi/fix-comment · 4fa4471e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50711, 50742, 50204)
      
      Fix comment of limitranges
      
      **What this PR does / why we need it**:
      
      The comment of limitrages' API seems to be copied from
      pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go
      with the other implementation code.
      It is a little difficult to understand what is the API, then this
      PR fixes it.
      4fa4471e
    • jianglingxia's avatar
      continue fix the typo · 9eed07c6
      jianglingxia authored
      9eed07c6
    • Kubernetes Submit Queue's avatar
      Merge pull request #50332 from ianchakeres/local-e2e-mntpnt · bc2f0490
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50670, 50332)
      
      e2e test for local storage mount point
      
      **What this PR does / why we need it**:
      
      We discovered that kubernetes can treat local directories and actual mountpoints differently. For example, https://github.com/kubernetes/kubernetes/issues/48331. The current local storage e2e tests use directories.
      
      This PR introduces a test that creates a tmpfs and mounts it, and runs one of the local storage e2e tests.
      
      **Which issue this PR fixes**: fixes https://github.com/kubernetes/kubernetes/issues/49126
      
      **Special notes for your reviewer**:
      
      I cherrypicked PR https://github.com/kubernetes/kubernetes/pull/50177, since local storage e2e tests are broken in master on 2017-08-08 due to "no such host" error. This PR replaces NodeExec with SSH commands.
      
      You can run the tests using the following commands:
      ``` 
      $ NUM_NODES=1 KUBE_FEATURE_GATES="PersistentLocalVolumes=true" go run hack/e2e.go -- -v --up
      $ go run hack/e2e.go -- -v --test --test_args="--ginkgo.focus=\[Feature:LocalPersistentVolumes\]"
      ```
      
      Here are the summary of results from my test run:
      ```
      Ran 9 of 651 Specs in 387.905 seconds
      SUCCESS! -- 9 Passed | 0 Failed | 0 Pending | 642 Skipped PASS
      
      Ginkgo ran 1 suite in 6m29.369318483s
      Test Suite Passed
      2017/08/08 11:54:01 util.go:133: Step './hack/ginkgo-e2e.sh --ginkgo.focus=\[Feature:LocalPersistentVolumes\]' finished in 6m32.077462612s
      ```
      
      **Release note**:
      `NONE`
      bc2f0490
    • Kubernetes Submit Queue's avatar
      Merge pull request #50670 from sttts/sttts-verbose-unclean-diff · ba110e9f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Make kube::util::ensure_clean_working_dir more verbose in log files
      
      Makes it easier to understand why files seem to be changed during CI build, especially
      autogenerated files like conversions.
      ba110e9f
    • chenxingyu's avatar
      fix panic in e2e · 4e069bd9
      chenxingyu authored
      4e069bd9
    • Dr. Stefan Schimanski's avatar
    • FengyunPan's avatar
      Support autoprobing subnet-id for openstack cloud provider · 8d4949c5
      FengyunPan authored
      Currently if user doesn't specify subnet-id or specify a unsafe
      subnet-id, openstack cloud provider can't create a correct LoadBalancer
      service.
      Actually we can get it automatically. This patch do a improvement.
      This is a part of #50726
      8d4949c5
    • Kubernetes Submit Queue's avatar
      Merge pull request #50116 from MrHohn/fix-healthcheck-nodeport-allocation · 1d633b7f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Use nodePortOp for allocating healthCheck nodePort
      
      **What this PR does / why we need it**: Allocate healthCheck nodePort via nodePortOp so that we won't leak port on failure.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #49999
      
      **Special notes for your reviewer**:
      /assign @xiangpengzhao @thockin 
      
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      1d633b7f
    • Cao Shufeng's avatar
      remove leaked socket file after unit test · 1bb55993
      Cao Shufeng authored
      Before this change:
      $ make test WHAT=k8s.io/kubernetes/pkg/master
      +++ [0816 11:19:03] Running tests without code coverage
      ok  	k8s.io/kubernetes/pkg/master	27.953s
      $ find -type s
      ./pkg/master/127.0.0.1:2100324511
      ./pkg/master/127.0.0.1:2100424511
      ./pkg/master/localhost:8235197834378812860
      ./pkg/master/localhost:82351978343788128600
      ./pkg/master/127.0.0.1:2100524511
      ./pkg/master/127.0.0.1:2100624511
      ./pkg/master/localhost:1155389051645284688
      ./pkg/master/localhost:11553890516452846880
      1bb55993
    • Clayton Coleman's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #50514 from mwielgus/ca-0.6.1 · da00e92f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Bump Cluster Autoscaler to 0.6.1
      
      Couple minor bugfixes and godep refresh.
      
      Do not merge until I complete the tests.
      
      ```release-note
      Cluster Autoscaler - fixes issues with taints and updates kube-proxy cpu request.
      ```
      da00e92f
    • shiywang's avatar
      remove deprecated command 'kubectl stop' · d14660c2
      shiywang authored
      d14660c2
    • Marcin Wielgus's avatar
      Bump Cluster Autoscaler to 0.6.1 · aac6f40f
      Marcin Wielgus authored
      aac6f40f
    • Kubernetes Submit Queue's avatar
      Merge pull request #50219 from zhangxiaoyu-zidif/fix-statefulset-test-err-print · a7c69bd5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix error message of statefulset test
      
      **What this PR does / why we need it**:
      Fix error message of statefulset test
      It should be 0 replocas in the error message.
      And fix typo from Falied to Failed
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/kubernetes/kubernetes/issues/50592
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      a7c69bd5
  2. 15 Aug, 2017 4 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #50702 from enj/enj/r/inject_policy_hook · f6929fc0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50694, 50702)
      
      Allow injection of policy in RBAC post start hook
      
      This change allows the RBAC PostStartHook logic to be reused with different policy data when bootstrapping the cluster.  Thus any changes to the bootstrap logic are separated from the policy data.
      Signed-off-by: 's avatarMonis Khan <mkhan@redhat.com>
      
      ```release-note
      NONE
      ```
      
      @kubernetes/sig-auth-pr-reviews
      f6929fc0
    • Kubernetes Submit Queue's avatar
      Merge pull request #50694 from dims/fix-make-cross-problem-with-helpers · c743e68f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50694, 50702)
      
      Fix make cross build failure
      
      **What this PR does / why we need it**:
      
      had to fix the method getSecurityOpts in helpers_windows.go to
      match the implementation in helpers_linux.go from commit:
      bf01fa2f
      
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      Fixes #50675
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      c743e68f
    • Ken'ichi Ohmichi's avatar
      Fix comment of limitranges · 5b108c5e
      Ken'ichi Ohmichi authored
      The comment of limitrages' API seems to be copied from
      pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go
      with the other implementation code.
      It is a little difficult to understand what is the API, then this
      PR fixes it.
      5b108c5e
    • Daneyon Hansen's avatar