Skip to content

Unable to set up more than one node following the etcd embedded DB instructions #10676

Answered by dereknola
fakuivan asked this question in Q&A
Discussion options

You must be logged in to vote

This is a vagrant networking issue. The internal network is always configured as a secondary interface, because vagrant deploys a dedicated local network for ssh key setup as the primary. You need to tell flannel to use that interface.

--flannel-iface=eth1 (this may be different for alpine, check your ip addr)

See our examples in our E2E testing. https://github.com/k3s-io/k3s/blob/master/tests/e2e/validatecluster/Vagrantfile#L49-L50

Also, since you are using vagrant, I would be remiss if I didn't mentions our vagrant-k3s plugin.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@fakuivan
Comment options

Comment options

You must be logged in to vote
3 replies
@fakuivan
Comment options

@brandond
Comment options

@fakuivan
Comment options

Answer selected by fakuivan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants