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

Deterministic node token on installation to simplify cluster setup with scripts #6923

Closed
sourcehawk opened this issue Feb 8, 2023 · 1 comment

Comments

@sourcehawk
Copy link

Currently, to set up a cluster one needs to install k3s on one first node and then extract the node token from the installation to be able to join other nodes on the cluster.

This makes scripting the cluster setup a hassle because the node token must be retrieved from one VM before k3s can be installed on other nodes. It would be great if the node token could be made deterministic before installation so that the node token does not need to be retrieved from the first installation in order to set up a cluster.

I am not aware of the reason for why the node tokens were implemented the way they are today, so if you see this as an impossible task, please let me know and I will close the issue.

@brandond
Copy link
Member

brandond commented Feb 9, 2023

Please check the conversation at #6175 (comment) - if you have any additional questions, follow up there. I'll be taking a pass at the documentation based on questions in that thread.

@brandond brandond closed this as completed Feb 9, 2023
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

No branches or pull requests

2 participants