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

How to set --data-dir via k0sctl #416

Closed
till opened this issue Sep 20, 2022 · 5 comments · Fixed by k0sproject/k0s#2190
Closed

How to set --data-dir via k0sctl #416

till opened this issue Sep 20, 2022 · 5 comments · Fixed by k0sproject/k0s#2190

Comments

@till
Copy link

till commented Sep 20, 2022

Related: k0sproject/k0s#2183


I'll PR an example when I figured it out.

For context, I know I can build my own k0sworker.service for SystemD, but I would like to avoid that.

@jnummelin
Copy link
Member

Use installFlags field for the host

@till
Copy link
Author

till commented Sep 20, 2022

@jnummelin But that only works on new nodes. It seemed like replacing nodes is not supported?

@till
Copy link
Author

till commented Sep 21, 2022

I think, I figured it out. I'll make a PR once I am done migrating/restoring.

till added a commit to hostwithquantum/k0s-fork that referenced this issue Sep 21, 2022
till added a commit to hostwithquantum/k0s-fork that referenced this issue Sep 21, 2022
till added a commit to hostwithquantum/k0s-fork that referenced this issue Sep 22, 2022
@kke
Copy link
Contributor

kke commented Sep 23, 2022

#302 is related

@till
Copy link
Author

till commented Sep 23, 2022

It worked out nicely. And this was a lot easier than expected.

I think the uninstall would potentially help as well to be able to remove nodes. But this did the trick.

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

Successfully merging a pull request may close this issue.

3 participants