Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add upgrade script for kubeadm #33

Closed
wants to merge 1 commit into from

Conversation

neolit123
Copy link
Member

Add the script kubeadm/KubeClusterUpgrade.ps1 that handles
upgrades of Windows worker nodes created by kubeadm.

It does the following:

  • Downloads new binaries.
  • Calls "kubeadm upgrade node".
  • Restarts kube-proxy and kubelet services.

Currently it does not:

  • Update CNI as the version matrix there is unclear.
  • Drain a worker as this is the responsibility of the cluster admin
    (owner of admin.conf).

NOTE: i did not add this as part of KubeCluster.ps1 as the script is quite broken for me.
possibly my PowerShell version is too old or something.

xref
#24

Add the script kubeadm/KubeClusterUpgrade.ps1 that handles
upgrades of Windows worker nodes created by kubeadm.

It does the following:
- Downloads new binaries.
- Calls "kubeadm upgrade node".
- Restarts kube-proxy and kubelet services.

Currently it does not:
- Update CNI as the version matrix there is unclear.
- Drain a worker as this is the responsibility of the cluster admin
(owner of admin.conf).
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 5, 2020
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 5, 2020
@neolit123
Copy link
Member Author

/kind feature
/priority important-longterm

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Jan 5, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: neolit123
To complete the pull request process, please assign michmike
You can assign the PR to them by writing /assign @michmike in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@neolit123
Copy link
Member Author

closing in favor of documentation, see:
kubernetes/website#19217
#24 (comment)

/close

@k8s-ci-robot
Copy link
Contributor

@neolit123: Closed this PR.

In response to this:

closing in favor of documentation, see:
kubernetes/website#19217
#24 (comment)

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants