-
Notifications
You must be signed in to change notification settings - Fork 77
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
Reinstall already installed k0s to reconfigure installFlags #756
Conversation
Not yet completely convinced the re-install blindly strategy is a winner. Maybe comparing the flags in |
// k0s status -o json
{
"Version": "v1.30.4+k0s.0",
"Pid": 192,
"PPid": 0,
"Role": "controller",
"SysInit": "",
"StubFile": "",
"Output": "",
"Workloads": false,
"SingleNode": false,
"Args": [
"/root/k0s-v1.30.4+k0s.0-amd64",
"controller",
"--enable-dynamic-config=true"
], |
New approach: check for changes in installFlags vs |
de03a89
to
96b59d5
Compare
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
@kke Do you known what's the timeline for this to be merged and released? |
Would be great if someone tried it out. I can of course put it in a beta if that makes it easier. |
I've verified via |
Fixes #302
If k0s is already installed, use
k0s install --force
to reinstall it if installFlags have changed.Also, reinstall will now be performed during upgrades.
Note that changing the flags on an existing cluster may cause problems.