https://rancher.com/ logo
Title
g

gorgeous-battery-45190

09/24/2022, 7:29 PM
Hi everyone, trying to figure out if k3d is the right tool for what I'm looking to do. I have a single host I want to be able to run multiple kubernetes clusters on. K3d can clearly create multiple clusters but is it possible to setup MetalLB to make things in each cluster accessible to other machines on my network?
w

wide-garage-9465

09/25/2022, 8:34 AM
Hey 👋 It's definitely possible to use MetalLB on k3d, but you can also use simple port-forwarding built into k3d. What's your use-case?
g

gorgeous-battery-45190

09/25/2022, 4:24 PM
I have a few web applications I've built that at home are accessible via some CNAME. Today I've been able to use minikube with a none (bare metal) driver and MetalLB to easily expose all my apps which all listen on ports 80 and 443 but on their own IP. The management of the single cluster with all the different apps is kinda a pain so I'm looking for something that supports creating multiple clusters which k3d sounds perfect for so I stop accidentally deploying to the same namespace and breaking things 😅. I also don't want to have to create a ton of VMs and the resources of my machine should scale better with docker.