https://netmaker.org logo
Title
h

hundreds-needle-744

11/05/2022, 4:12 PM
I ma trying to setup netclient in a kubernets pod. The idea is to have it run as a sidecar, and mesh individual pods together via the mesh. I manage the pod the start. And it joins the mesh. Then it deletes itself from the mesh again. Then exits. The log looks like this:
[netclient] joining network
[netclient] 2022-11-05 16:11:10 running userspace WireGuard with  wireguard-go 
[netclient] 2022-11-05 16:11:10 joining wengen at api.nm.kri.st:443 
[netclient] 2022-11-05 16:11:10 starting wireguard 
[netclient] 2022-11-05 16:11:12 deleted node k8s-gw  on network  wengen 
[netclient] Starting netclient daemon
[netclient] 2022-11-05 16:11:14 running userspace WireGuard with  wireguard-go 
2022/11/05 16:11:14 no networks
[netclient] exiting
While this is happening I see the node appear, then disappear again on the netmaker server. What is going on here? Why is the node immediately deleted again?