Pod inside Kubernetes cluster have access to external database via Internet? -


not sure if kubernetes or minikube.

i using minikube v6 on osx. have containerized app talks database on azure. thought able spin container inside k8s , have work seems egress/ingress causing problems because app cannot authenticate external database. can point me in right direction?

minikube sets local network on host box dev box , minikube can talk each other. if run container inside minikube needs access resources/services on internet (not local machine) there special needs done long try reach ip of external service? or should "just work"?

running busybox inside cluster , using traceroute ip see stops @ 10.0.2.2. need figure out 10.0.2.2 , why stops there. don't understand networking aspects of getting inside k8s internet resource when k8s running on vm minikube.

/ # traceroute 23.99.34.75 traceroute 23.99.34.75 (23.99.34.75), 30 hops max, 46 byte packets  1  172.17.0.1 (172.17.0.1)  0.004 ms  0.004 ms  0.001 ms  2  10.0.2.2 (10.0.2.2)  0.179 ms  0.217 ms  0.183 ms  3  *  *  *  4^c / # 


Comments