-
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
Exposing ingress to a remote host #9116
Comments
Hey @surensinghkhatana I'm not familiar with vagrant but it looks like you have this in your config:
You could try using Let me know if that would helps. More info on tunnel here |
Hi @priyawadhwa , Some configuration info from my env : I don't have any LoadBalancer service in my k8s cluster. I tried using minikube tunnel but couldn't understand how to expose a port on Ubuntu VM which could then be mapped to a port on my Host (windows) machine enabling the access to https://fg.iam.example.com/am from my host browser ? |
I think what you're looking for is ssh port forwarding |
@surensinghkhatana does ssh port forwarding work for you? |
@ilya-zuyev @sharifelgamal Thanks for your reply, unfortunately it doesn't work still. |
the problem is, our current Docker driver only listens on 127.0.0.1, which is for security reasons. we could offer a --listen-remote flag for users who need to listen on non local hosts. have you tried running minikube driectly on your host ? with either vbox or docker driver? |
@medyagh having this flag would be nice. Is there a temporary solution to make minikube running with docker driver inside Virtualbox VM listen for all requests? |
@surensinghkhatana were you able to make minikube to listen to external requests? |
@vrybas I decided to move on with microk8s .. |
Hey @surensinghkhatana sorry to hear that! Looks like there currently isn't a solution for this is in minikube, but if anyone would be interested in contributing one we'd be happy to look through a design proposal |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Hi,
I am running a vagrant box using virtual box (running headless ubuntu 18.04) on windows 10 host machine.
Inside the virtual box, I have minikube set up using docker as the vm-driver
minikube start --memory=6144 --cpus=2 --disk-size=40g --vm-driver=docker --bootstrapper kubeadm --kubernetes-version=1.17.4
My application is exposed via an ingress to the ubuntu machine running inside virtual box and I am able to access the application via wget/cURL
On doing minikube IP it gave me the IP of the docker container in which minikube runs
Some additional configuration info -
Vagrant file -
I would like to access the application from my windows machine's browser , any idea how to achieve that ? vagrant port forwarding doesn't seem to help.
Thanks
The text was updated successfully, but these errors were encountered: