1. 27 Apr, 2018 1 commit
  2. 26 Apr, 2018 15 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #60007 from k82cn/k8s_54313_1 · 30e811c9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59367, 60007). 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>.
      
      Do not schedule pod to the node under PID pressure.
      Signed-off-by: 's avatarDa K. Ma <klaus1982.cn@gmail.com>
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      part of #54313 
      
      **Release note**:
      ```release-note
      Added CheckNodePIDPressurePredicate to checks if a pod can be scheduled on
      a node reporting pid pressure condition.
      ```
      30e811c9
    • Kubernetes Submit Queue's avatar
      Merge pull request #59367 from colemickens/ptr-flake · becee4c1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59367, 60007). 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>.
      
      podtolerationrestriction: fix informer race in test
      
      **What this PR does / why we need it**: This fixes test flakes in the PodTolerationRestriction admission controller unit tests. They seem to pass most of the time currently, but modifications I was making for #58818 changed timing and caused it to constantly break.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: n/a
      
      **Special notes for your reviewer**: n/a
      
      Sending this as a one-off because the changes for both of the admin controllers in #58818 require additional discussion. Thanks to @ericchiang for finding it and authoring the commit; I just rebased and sent the PR.
      
      ```release-note
      NONE
      ```
      becee4c1
    • Kubernetes Submit Queue's avatar
      Merge pull request #63063 from feiskyer/azure-new-sdk · cc845246
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. 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>.
      
      Upgrade Azure Go SDK to stable version
      
      **What this PR does / why we need it**:
      
      Kubernetes is using a beta version of Azure Go SDK now. If there are bugs in them, it's hard to upgrade because Azure Go SDK won't release new patches for pre-released SDK versions. We should upgrade Go SDK to stable version (e.g. v14.6.0)
      
      Refer #62249
      
      Refer Azure/azure-sdk-for-go#1586
      
      **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 #63056
      
      **Special notes for your reviewer**:
      
      This PR includes changes in #61972, but with a newer go-autorest version.
      
      **Release note**:
      
      ```release-note
      Upgrade Azure Go SDK to stable version (v14.6.0)
      ```
      cc845246
    • Kubernetes Submit Queue's avatar
      Merge pull request #62805 from awly/take-reviews · 9e52d14e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. 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>.
      
      Add awly as reviewer in several subtrees
      
      ```release-note
      NONE
      ```
      9e52d14e
    • Da K. Ma's avatar
      Do not schedule pod to the node under PID pressure. · 2c10d15a
      Da K. Ma authored
      Signed-off-by: 's avatarDa K. Ma <klaus1982.cn@gmail.com>
      2c10d15a
    • Pengfei Ni's avatar
      Update vendors for client-go · 058b6190
      Pengfei Ni authored
      058b6190
    • Pengfei Ni's avatar
      Use new clients in Azure Disk volume · ce325f9a
      Pengfei Ni authored
      ce325f9a
    • Pengfei Ni's avatar
      Use new clients in Azure credential provider · 471d00c9
      Pengfei Ni authored
      471d00c9
    • Pengfei Ni's avatar
      Use new clients in azure cloud provider · 079f9b85
      Pengfei Ni authored
      079f9b85
    • Pengfei Ni's avatar
    • Pengfei Ni's avatar
      Upgrade Azure Go SDK to v14.6.0 · b1b930a3
      Pengfei Ni authored
      b1b930a3
    • Kubernetes Submit Queue's avatar
      Merge pull request #63059 from ceshihao/upgrade_json_package_fix_base64_newline · 3dbcd1dd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59965, 59115, 63076, 63059). 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>.
      
      Upgrade dep json-iterator/go to fix base64 decode bug
      
      **What this PR does / why we need it**:
      upgrade dep `json-iterator/go` to fix base64 decode bug #62742
      
      **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 #62742
      
      **Special notes for your reviewer**:
      Just upgrade `json-iterator/go` to latest which includes base64 decode fix https://github.com/json-iterator/go/pull/266
      No other code changes
      
      **Release note**:
      
      ```release-note
      None
      ```
      3dbcd1dd
    • Kubernetes Submit Queue's avatar
      Merge pull request #63076 from chuckha/etcdprepull · 2a10c309
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59965, 59115, 63076, 63059). 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>.
      
      Prepull etcd before an upgrade
      
      If kubeadm ever has to upgrade etcd it should prepull the image so
      there is less downtime during the upgrade when etcd versions change.
      
      Fixes kubernetes/kubeadm#669
      Signed-off-by: 's avatarChuck Ha <ha.chuck@gmail.com>
      
      **What this PR does / why we need it**:
      
      This PR Prepulls the etcd image during a `kubeadm upgrade apply`.
      
      **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 kubernetes/kubeadm#669
      
      **Special notes for your reviewer**:
      
      constants.MasterComponents was not changed because it is used in many places where etcd does not need to be nor should it be a part of this slice.
      
      **Release note**:
      ```release-note
      NONE
      ```
      
      /cc @kubernetes/sig-cluster-lifecycle-pr-reviews
      2a10c309
    • Kubernetes Submit Queue's avatar
      Merge pull request #59115 from alexbrand/kubeadm-confirm-reset-2 · 163b848a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59965, 59115, 63076, 63059). 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>.
      
      kubeadm: prompt for confirmation when resetting a master
      Signed-off-by: 's avatarAlexander Brand <alexbrand09@gmail.com>
      
      
      
      **What this PR does / why we need it**:
      This PR implements a confirmation prompt when running `kubeadm reset` on a master node. This is to prevent users from mistakenly resetting a master node.
      
      **Which issue(s) this PR fixes**:
      Fixes https://github.com/kubernetes/kubeadm/issues/673
      
      **Special notes for your reviewer**:
      I am somewhat torn on the approach on how to detect that kubeadm is running on a master node. I went with checking for the apiserver manfiest file on the local filesystem, as it seems like a simpler approach when compared to getting a k8s client, getting a list of nodes, finding the current node, and checking if it has the master taint. I am happy to rework if the latter is more desirable.
      
      Sample runs:
      ```
      # ./kubeadm reset
      [Warning] Are you sure you want to reset this master node? Type the word "confirm" to continue: no
      Aborted reset operation on master node
      
      # ./kubeadm reset
      [Warning] Are you sure you want to reset this master node? Type the word "confirm" to continue: confirm
      [preflight] Running pre-flight checks.
      [reset] Stopping the kubelet service.
      [reset] WARNING: The kubelet service could not be stopped by kubeadm: [exit status 1]
      [reset] WARNING: Please ensure kubelet is stopped manually.
      [reset] Unmounting mounted directories in "/var/lib/kubelet"
      ........
      
      # ./kubeadm reset
      [Warning] Are you sure you want to reset this master node? Type the word "confirm" to continue:
      Aborted reset operation on master node
      # ./kubeadm reset --confirm
      [preflight] Running pre-flight checks.
      [reset] Stopping the kubelet service.
      [reset] WARNING: The kubelet service could not be stopped by kubeadm: [exit status 1]
      [reset] WARNING: Please ensure kubelet is stopped manually.
      [reset] Unmounting mounted directories in "/var/lib/kubelet"
      ........
      ```
      
      **Release note**:
      
      ```release-note
      kubeadm: prompt the user for confirmation when resetting a master node
      ```
      163b848a
    • Kubernetes Submit Queue's avatar
      Merge pull request #59965 from shun-miyoshi-com/fix-wrong-msg · 37a798de
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59965, 59115, 63076, 63059). 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 help message of kubeconfig-dir option(kubeadm alpha phase kubeconfig all)
      
      **What this PR does / why we need it**:
      This patch will fix wrong help message.
      
      The command is kubeadm alpha phase kubeconfig [command]
      The help message is for --kubeconfig-dir option.
      
      kubeconfig-dir is not port.(It is directory)
      So, I fixed the message.
      
      **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**:
      
       `NONE`
      
      /sig cluster-lifecycle
      37a798de
  3. 25 Apr, 2018 24 commits