k3d
k3d copied to clipboard
[BUG] unable to add node to the cluster
Question / Where do you need Help?
Scope of your Question
- unable to add node to the cluster the cluster is created but error while adding node
INFO[0001] Adding 1 node(s) to the runtime local cluster 'wordpress'...
INFO[0003] Using the k3d-tools node to gather environment information
INFO[0003] Starting new tools node...
INFO[0034] Starting Node 'k3d-wordpress-tools'
INFO[0133] HostIP: using network gateway 172.29.0.1 address
INFO[0133] Successfully created 1 node(s)!
panic: runtime error: index out of range [-1]
goroutine 6 [running]:
github.com/k3d-io/k3d/v5/pkg/client.NodeAddToCluster({0xf6c198, 0xc0001364b0}, {0xf7b2b0?, 0x156de50?}, 0xc000103040, 0xc0001e8d00?, {0x1, 0x0, {0x0, 0x0, ...}, ...})
/home/runner/work/k3d/k3d/pkg/client/node.go:200 +0x20c8
github.com/k3d-io/k3d/v5/pkg/client.NodeAddToClusterMulti.func1()
/home/runner/work/k3d/k3d/pkg/client/node.go:346 +0x57
golang.org/x/sync/errgroup.(*Group).Go.func1()
/home/runner/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/runner/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:72 +0xa5
can anyone help me please find out the solution
I have the same issue right now (both on v5.4.8 and v5.4.9)
Same problem here on v5.4.9