问题原文
原帖链接 · Denis Lopatin · CC BY-SA 4.0
I'm trying to access to local MySQL database from minikube container. My minikube works on Windows 10 with hyper-v driver. I found a few solutions (creating host-only network from VirtualBox) but nothing for hyper-v. Can somebody assist me how can I connect to localhost mysql server from minikube hyper-v?
社区高分解答
原帖链接 · levibostian · CC BY-SA 4.0
Minikube v1.10 added a hostname to the cluster DNS that allows pods to connect to the host. Have your pods use this DNS entry to access the host IP. At this time, the DNS hostname is host.minikube.internal
See docs to learn more.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
