Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Add k3s upgrade script #248

Closed
wants to merge 2 commits into from
Closed

Add k3s upgrade script #248

wants to merge 2 commits into from

Conversation

zimme
Copy link
Contributor

@zimme zimme commented Oct 28, 2019

This adds a script to upgrade k3s separately from k3os.

/cc @bhale

@zimme zimme force-pushed the k3s-upgrade branch 4 times, most recently from df50390 to 94f78d9 Compare October 28, 2019 21:34
@zimme
Copy link
Contributor Author

zimme commented Oct 28, 2019

There, should be working as expected just tried it on my dev board cluster and no problems with this latest version of the script

overlay/sbin/k3s-upgrade Outdated Show resolved Hide resolved
overlay/sbin/k3s-upgrade Outdated Show resolved Hide resolved
@zimme
Copy link
Contributor Author

zimme commented Oct 29, 2019

Will probably just include the - in the ARCH and set it to nothing for amd64 and remove the - from the hardcoded part of the url. That should not require any extra if statements

@dweomer
Copy link
Contributor

dweomer commented Jan 13, 2020

Superseding functionality is being worked on at https://github.com/dweomer/system-upgrade-controller to be integrated into k3OS by https://github.com/dweomer/k3os/tree/system-upgrade-controller.

An upgrade Plan can be constructed to upgrade the entire system or one could write a Plan per component, in this case k3s. For manual upgrades, the k3os upgrade command will replace this script.

Thank you for the contribution @zimme and sorry for the lag on this one.

@dweomer dweomer closed this Jan 13, 2020
@zimme zimme deleted the k3s-upgrade branch January 13, 2020 22:46
@dweomer
Copy link
Contributor

dweomer commented Jan 13, 2020

See #348

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants