-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kic: fix minikube tunnel for mac #6302
Comments
hint comment from @josedonizetti
|
docker for mac has a bunch of network limitations. I don't think we can get tunnel working like we have for linux, by exposing the cluster IP to the host. Docker for mac currently doesn't allow the host to ping containers, the recommend approach is exposing a container port on the host: eg:
But this also doesn't work for Kic, because we don't know before hand which ports will be exposed by a service, and docker for mac only allow ports expositions when creating the container. The best solution I think we should do here, is use the exposing port concept, but using eg:
The tunnel can be managed by @medyagh what do you think? I can implement this, but considering my free time now, it would take me 2 weeks to finish. Is that okay? |
I think think this is a smiple solution and we take advantage of our openssh server inside the container. I talked to @tstromberg about this. one limitation is if we could do service DNS using this approach. and do alternatvies to this solution (creating a hyperkit vm for the tunnel) have the same service dns limitation ? |
fixed by #6460 |
for kic on mac the tunnel doesnt seem to work.
it might be we need to do bridge like hyperkit
minikube/pkg/minikube/tunnel/tunnel.go
Line 153 in 2d97a0d
on linux it works fine:
The text was updated successfully, but these errors were encountered: