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

server Keyword is missing #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ashishworkspace
Copy link

No description provided.

@garutilorenzo
Copy link
Owner

I don't think the server keyword is needed. From the docs:

Setting the K3S_URL parameter causes K3s to run in worker mode. The K3s agent will register with the K3s server listening at the supplied URL. The value to use for K3S_TOKEN is stored at /var/lib/rancher/k3s/server/node-token on your server node.

so if you don't specify K3S_URL k3s will run as server otherwise k3s will run as worker.

Are you submitting this PR for a particular reason or bug?

@ashishworkspace
Copy link
Author

If you want to create multi master cluster setup than I think server keyword is important.
I ran your code in AWS and was not able to connect all master together. Only one master joined the cluster.
I fixed that issue using this server keyword.

@ashishworkspace
Copy link
Author

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 this pull request may close these issues.

None yet

2 participants