Replies: 6 comments 1 reply
-
The port forwarding is automatic and there is no special workaround required to listen on ports 80 and 443 with Colima. |
Beta Was this translation helpful? Give feedback.
-
Thing is, I am not running k3s but kind in order to be able to use a multi node config, as described in the link I posted. With that, port forwarding does not work automatically. So either I need to move to the built-in k3s (AFAIK I cannot use multiple nodes there) or I need to manually set up port forwarding for the kind network. How to do that was my question. Any pointers very much appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I managed to set up port forwarding manually using an ssh tunnel. But this is kind of a hacky workaround IMHO. |
Beta Was this translation helpful? Give feedback.
-
Let me get your exact scenario. You are utilising Kind for a multi-node Kuberntes cluster and would like to selectively forward some ports from the cluster to the host. Right? |
Beta Was this translation helpful? Give feedback.
-
Yes. What I do with ssh is: sudo ssh -F ~/.colima/ssh_config colima -L 80:172.18.255.200:80 -L 443:172.18.255.200:443 Where |
Beta Was this translation helpful? Give feedback.
-
I solved it with |
Beta Was this translation helpful? Give feedback.
-
I set up a Kind Kubernetes Cluster in Colima according to https://opencredo.com/blogs/building-the-best-kubernetes-test-cluster-on-macos/
I want to use port forwarding to forward the local host ports 80 and 443 to a specific IP in the Kind network. How can I do that?
Goal is to be able to use the
.localhost
domain in Chrome for development.Beta Was this translation helpful? Give feedback.
All reactions