Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
vpn-tcp (sshuttle) method doesn't work with minikube: breaks DNS for non-kubernetes domains #160
Let's say you resolve a non-k8s domain example.com.
So you end up in loop.
Result is that on minikube/minishift/any sort of local k8s cluster, DNS for non-k8s domains breaks when using vpn-tcp method.
Potential solution is maybe a smarter DNS proxy that can detect non Kubernetes domains, and send them to DNS server that sshuttle isn't capturing traffic for.
In real environments (e.g. AWS) we want to use local DNS servers. On minikube, though, restricting to global DNS will work for majority of people in smaller organizations.
Thus, I propose:
This will break:
This is an improvement over current situation, though, and would allow us to make vpn-tcp the default in docs.