-
Notifications
You must be signed in to change notification settings - Fork 228
Two VMs on 2 separate hosts, how to make networking work with Ignite and WeaveNet? #628
Comments
Is it possible to get some clarification on this issue please? Ignite is a fantastic tool if this works as expected (well done to the weaveworks team by the way), but I am not sure if it has been designed for those use cases to begin with. Thanks guys |
Hi 👋! I will try to debug this some time during this week. Sorry, I've been heads-down on some other projects and work efforts. |
Thanks Luxas! I appreciate it very much. Looking forward to using this for some fun projects I have in mind. |
Hello weaveworks team,
I am trying to spin up 2 independant k8s clusters, each having one respective worker node using ignite. I have 2 machines for this test:
Therefore, I want to set up a WeaveNet CNI network on both hosts using the instructions provided from your documentation:
I removed the file
rm -rf /etc/cni/net.d/10-ignite.conflist
, then started myMaster-1
onHost-1
, andWorker-1
onHost-2
using the following command:# On Host-1 sudo ignite \ --network-plugin cni \ run weaveworks/ignite-kubeadm:latest \ --cpus 2 \ --memory 2GB \ --ssh \ --name master-1
and
# On Host-2 sudo ignite \ --network-plugin cni \ run weaveworks/ignite-kubeadm:latest \ --cpus 2 \ --memory 2GB \ --ssh \ --name worker-1
PS: I am not even attempting to start the K8S cluster here, I first want to get the networking part right on one of the two clusters.
Then I ssh into each VM using
sudo ignite ssh master-1
andsudo ignite ssh worker-1
on each respective host.I was expecting on
Host-1
, VMMaster-1
to have a network interface calledeth0
with an IP address that is part of a subnet shared with the VM onHost-2
, VMWorker-2
.When I did a
sudo ignite ps
on both hosts, I got the following results:and
When I ssh into do VM
Master-1
onHost-1
and do aifconfig
, I get the following:I have a hard time doing ssh into VM
Worker-1
onHost-2
, it times out the first time I try, and succedes at the second attempt. Once that ssh session started, I can not do anything, the cursor is frozen, and reacts only after 30 seconds or so. I did manage to get the output ofifconfig
:When I try to ping
Master-1
fromWorker-1
, I get aHost Unreachable
.My guess is that I am doing something wrong here, but what is it?
Could someone with more experience with WeaveNet and Ignite point me in the right direction please, that would be fantastic!
Thanks
The text was updated successfully, but these errors were encountered: