My kubernetes pod is running on Minikube with proxy but impossible to reach it from outside

1/17/2020

I created a pod of a spring boot application on a minikube environment (started with a proxy), the pod runs correctly. I added a nodeport service to call it from outside but the problem is that the pod is not reachable on my LAN network using the same proxy (ending with a connection timeout)

Here's my minikube start command :

minikube start --docker-env http_proxy=http://myproxy:8080 --docker-env  https_proxy=http://myproxy:8080 --docker-env --vm-driver="virtualbox" --cpus 4 --memory 8192

When using my wifi network without proxy myproxy, the pod becomes reachable.

-- Bilel Fitouri
kubernetes
minikube
proxy
timeout

0 Answers