https://rancher.com/ logo
Title
m

melodic-market-42092

06/23/2022, 1:49 PM
I'm using https://k3d.io/v5.4.1/usage/exposing_services/ and
k3d cluster create $CLUSTER_NAME -p "8081:3000@loadbalancer"
to create my local cluster and get something exposed. This works well, but now I'd like to expose two things. Is that possible? Can I do something like
k3d cluster create $CLUSTER_NAME -p "8081:3000,8082:8000@loadbalancer"
?
Figured it out. You can add multiple
-p
🙂
This worked:
k3d cluster create $CLUSTER_NAME -p "8081:3000@loadbalancer" -p "8082:8000@loadbalancer"
w

wide-garage-9465

06/23/2022, 2:10 PM
👍 also checkout
k3d cluster edit
if you forgot to add a port during creation 😉
m

melodic-market-42092

06/23/2022, 2:10 PM
Nice, thanks!