1. 23 Jun, 2017 29 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #47856 from mikedanese/bootstrap-resume · fcfbfecd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47915, 47856, 44086, 47575, 47475)
      
      kubelet should resume csr bootstrap
      
      Right now the kubelet creates a new csr object with the same key every
      time it restarts during the bootstrap process. It should resume with the
      old csr object if it exists. To do this the name of the csr object must
      be stable.
      
      Issue https://github.com/kubernetes/kubernetes/issues/47855
      fcfbfecd
    • Kubernetes Submit Queue's avatar
      Merge pull request #47915 from crassirostris/fix-event-exporter-noise · 0cbd0ca1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Bump event-exporter version to reduce warnings noise
      
      Fixes https://github.com/kubernetes/kubernetes/issues/47914
      0cbd0ca1
    • Kubernetes Submit Queue's avatar
      Merge pull request #46792 from ianchakeres/avoid-redundant-copy-to-staging · cdc97703
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792)
      
      Avoid redundant copying of tars during kube-up for gce if the same file already exists
      
      **What this PR does / why we need it**: 
      
      Whenever I execute cluster/kube-up.sh it copies my tar files to google cloud, even if the files haven't changed. This PR checks to see whether the files already exist, and avoids uploading them again. These files are large and can take a long time to upload.
      
      **Which issue this PR fixes**: fixes #46791
      
      **Special notes for your reviewer**:
      
      Here is the new output:
      
      cluster/kube-up.sh 
      ... Starting cluster in us-central1-b using provider gce
      ... calling verify-prereqs
      ... calling verify-kube-binaries
      ... calling kube-up
      Project: PROJECT
      Zone: us-central1-b
      +++ Staging server tars to Google Storage: gs://kubernetes-staging-PROJECT/kubernetes-devel
      +++ kubernetes-server-linux-amd64.tar.gz uploaded earlier, cloud and local file md5 match (md5 = 3a095kcf27267a71fe58f91f89fab1bc)
      
      
      **Release note**:
      ```cluster/kube-up.sh on gce now avoids redundant copying of kubernetes tars if the local and cloud files' md5 hash match```
      cdc97703
    • Kubernetes Submit Queue's avatar
      Merge pull request #46527 from perotinus/rssyncconversiontwo · d7c569ed
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792)
      
      [Federation] Convert the ReplicaSet controller to a sync controller.
      
      See #45563 for previous discussion: that PR was split into two, with this one containing the actual conversion work and that one containing the implementation of the scheduling methods in the sync controller.
      
      **Release note**:
      ```release-note
      NONE
      ```
      d7c569ed
    • Kubernetes Submit Queue's avatar
      Merge pull request #46906 from zhangxiaoyu-zidif/Add-testcase-for-namespace · 8ba08c95
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792)
      
      Add test case for namespace
      
      **What this PR does / why we need it**:
      Unit test case need add that when name is "".
      
      **Special notes for your reviewer**:
      refer to https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/namespace.go#L74
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      8ba08c95
    • Kubernetes Submit Queue's avatar
      Merge pull request #46646 from rickypai/rpai/add_container_runtime_version_to_node_wide_printer · 4a1d95ef
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792)
      
      add ContainerRuntimeVersion to `kubectl get nodes -o=wide` output
      
      **What this PR does / why we need it**: adds container runtime version to `kubectl get nodes -o=wide` output as a way to surface more node-level information
      
      When upgrading to a new container runtime version (docker 1.11 -> docker 1.12) or when experimenting with a different container runtime version (experimenting with rkt in a docker cluster), it's useful for cluster operators to see which nodes are running which container runtime version. `kubectl get nodes -o=wide` already provides kernel and OS version, and I believe adding container runtime version would be good.
      
      **Release note**:
      ```release-note
      container runtime version has been added to the output of `kubectl get nodes -o=wide` as `CONTAINER-RUNTIME`
      ```
      4a1d95ef
    • Kubernetes Submit Queue's avatar
      Merge pull request #47403 from zhangxiaoyu-zidif/e2e-delete-meaningless-check · 95a58102
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792)
      
      E2E:Delete unecessary check
      
      **What this PR does / why we need it**:
      Delete meaningless check
      The deleted check is redundant.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      95a58102
    • Kubernetes Submit Queue's avatar
      Merge pull request #46688 from zhangxiaoyu-zidif/change-method-kubectl-configmap · 4db120cc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix error message of isDir
      
      **What this PR does / why we need it**:
      Use IsRegular to replace isDir
      Accoding to the code logic, using IsRegular is proper.
       
      **Release note**:
      
      ```release-note
      NONE
      ```
      4db120cc
    • Kubernetes Submit Queue's avatar
      Merge pull request #46495 from zjj2wry/pdb · 475f175e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      add test for kubectl create pdb
      
      **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 #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      475f175e
    • Kubernetes Submit Queue's avatar
      Merge pull request #46696 from xiangpengzhao/mark-deprecated-command · 625a9809
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47227, 47119, 46280, 47414, 46696)
      
      Mark deprecated info in short description of deprecated commands.
      
      **What this PR does / why we need it**:
      Mark deprecated commands in 'kubectl help'. See https://github.com/kubernetes/kubectl/issues/20
      
      **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/kubectl/issues/20
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      625a9809
    • Kubernetes Submit Queue's avatar
      Merge pull request #47414 from karataliu/wincri5.devwin · 3adb6c63
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47227, 47119, 46280, 47414, 46696)
      
      Move seccomp helper methods and tests to platform-specific files.
      
      **What this PR does / why we need it**:
      Seccomp helper methods are for linux only, move them to linux-specific helper file.
      
      As discussed in https://github.com/kubernetes/kubernetes/pull/46744
      
      **Which issue this PR fixes** 
      
      **Special notes for your reviewer**:
      
      **Release note**:
      3adb6c63
    • Kubernetes Submit Queue's avatar
      Merge pull request #46280 from zjj2wry/print-rs · c76c145d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47227, 47119, 46280, 47414, 46696)
      
      Improve code coverage for pkg/printer
      
      **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 #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      c76c145d
    • Kubernetes Submit Queue's avatar
      Merge pull request #47119 from zjj2wry/cccc · 508e2981
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47227, 47119, 46280, 47414, 46696)
      
      controller: fix error message
      
      **What this PR does / why we need it**:
      just fix error typo, think you :)
      
      **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
      ```
      508e2981
    • Kubernetes Submit Queue's avatar
      Merge pull request #47227 from supereagle/correct-script-name · 418c319e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      correct the name of the script to generate swagger doc
      
      **What this PR does / why we need it**: The name of the script to generate swagger doc is not correct, this PR is to fix it.
      
      **Which issue this PR fixes**: fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      NONE
      ```
      418c319e
    • Kubernetes Submit Queue's avatar
      Merge pull request #42254 from justinsb/volumes_dont_leak_nodestatusupdateneeded · 18362beb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      volumes: SetNodeStatusUpdateNeeded on error
      
      If an error happened during the UpdateNodeStatuses loop, there were some
      code paths where we would not call SetNodeStatusUpdateNeeded, leaking
      the state.  Add it to all paths by adding a function.
      
      Part of #40583
      
      ```release-note
      NONE
      ```
      18362beb
    • Kubernetes Submit Queue's avatar
      Merge pull request #47401 from justinsb/fix_39374 · be0b0450
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401)
      
      AWS: Set CredentialsChainVerboseErrors
      
      This avoids a rather confusing error message.
      
      Fix #39374
      
      ```release-note
      NONE
      ```
      be0b0450
    • Kubernetes Submit Queue's avatar
      Merge pull request #47095 from MrHohn/fix-e2e-firewall-multizone · 7ecb6cc2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401)
      
      Fix firewall e2e test for multizone CIs
      
      Fixes #46894.
      
      - Getting node/master tags from config instead of instance.
      - Don't assume instance always run in default zone.
      
      /assign @freehan 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      7ecb6cc2
    • Kubernetes Submit Queue's avatar
      Merge pull request #47241 from NickrenREN/cephfs-loglevel · 62b801ef
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401)
      
      Change cephfs secret related logs level
      
      Fixes: #45387
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /cc @rootfs
      62b801ef
    • Kubernetes Submit Queue's avatar
      Merge pull request #47195 from dims/bind-cadvisor-on-kubelet-interface · 467705be
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401)
      
      Run cAdvisor on the same interface as kubelet
      
      **What this PR does / why we need it**:
      
      cAdvisor currently binds to all interfaces. Currently the only
      solution is to use iptables to block access to the port. We
      are better off making cAdvisor to bind to the interface that
      kubelet uses for better security.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      Fixes #11710
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      cAdvisor binds only to the interface that kubelet is running on instead of all interfaces.
      ```
      467705be
    • Kubernetes Submit Queue's avatar
      Merge pull request #47922 from dnardo/ip-masq-agent · 9e71b122
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove limits from ip-masq-agent for now and disable ip-masq-agent in GCE
      
      ip-masq-agent when issuing an iptables-save will read any configured iptables on the node.  This means that the ip-masq-agent's memory requirements would grow with the number of iptables (i.e. services) on the node.
      
      
      
      **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 #
      #47865
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      ```
      9e71b122
    • Kubernetes Submit Queue's avatar
      Merge pull request #46923 from dims/nuke-wrapper-go-flags · e4af9dcc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923)
      
      Remove unnecessary wrapper flags
      
      **What this PR does / why we need it**:
      
      Drop KUBE_GOFLAGS, KUBE_GOGCFLAGS, KUBE_GOLDFLAGS references
      from the build infrastructure
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47296
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      e4af9dcc
    • Kubernetes Submit Queue's avatar
      Merge pull request #46896 from dims/add-git-branch-to-short-hash · d58b238b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923)
      
      Add git branch to make build short hash unique
      
      **What this PR does / why we need it**:
      
      KUBE_ROOT_HASH depends just on the host name and
      directory path. So when working with branches, it could lead
      to some confusion since the hash is the same even when
      you switch from branch to branch. Let us use the git branch
      information when we compute the short hash
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      Fixes #1801
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d58b238b
    • Kubernetes Submit Queue's avatar
      Merge pull request #46829 from cblecker/swagger-dir-fix · a509cbf9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923)
      
      Create output_dir if doesn't exist
      
      **What this PR does / why we need it**:
      Minor fix to the swagger spec gen, that if the directory doesn't exist, create it before copying.
      
      **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
      ```
      a509cbf9
    • Kubernetes Submit Queue's avatar
      Merge pull request #45984 from cblecker/hack-vet · dafe5783
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923)
      
      Move govet verify into rest of verify*-.sh scripts
      
      **What this PR does / why we need it**:
      Instead of having two govet scripts, consolidate them to into one and have both the Makefile and verify.sh scripts target the same script. This also will allow proper syntax highlighting and timing when the vet script is run as part of `make verify`.
      
      **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/test-infra/issues/2725
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /cc @fejta @rmmh
      dafe5783
    • Kubernetes Submit Queue's avatar
      Merge pull request #47921 from timstclair/audit-policy · f35f5ef4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Don't audit log tokens in TokenReviews
      
      We don't want to leak auth tokens in the audit logs, so only log TokenReview requests at the metadata level.
      
      Issue: kubernetes/features#22
      f35f5ef4
    • Kubernetes Submit Queue's avatar
      Merge pull request #45784 from xiangpengzhao/fix-integration-tips · 4e1b6083
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Give developer more help info when running integration tests without etcd found.
      
      **What this PR does / why we need it**:
      When running integration tests, if etcd version on env is lower than expected, developer will get info `You can use 'hack/install-etcd.sh' to install a copy in third_party/.` It would be better to have the same info if no etcd installed on env.
      
      **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
      ```
      4e1b6083
    • Dong Liu's avatar
    • Jonathan MacMillan's avatar
    • Daniel Nardo's avatar
      Remove limits from ip-masq-agent for now. · 630fb965
      Daniel Nardo authored
      ip-masq-agent when issuing an iptables-save will read
      any configured iptables on the node.  This means that
      the ip-masq-agent's memory requirements would grow
      with the number of iptables (i.e. services) on the node.
      
      Disable ip-masq-agent in GCE
      630fb965
  2. 22 Jun, 2017 11 commits