问题描述
背景我想将 Wordpress Docker容器连接到Google Could SQL实例.默认情况下,Google Cloud SQL仅公开一个IPv6地址,最好将Wordpress连接到该地址,但我找不到解决方法(请参阅我的 stackoverflow帖子以了解详情).
BackgroundI'd like to connect Wordpress docker container to a Google Could SQL instance. By default Google Cloud SQL only expose an IPv6 address and preferably I'd like to connect Wordpress to this address but I can't find a way to do so (see my other stackoverflow post for details).
问题
我想知道是否可以从Kubernetes(GKE)中运行的Pod连接到IPv6地址吗?如果可以,怎么办?
I'd like to know if it's possible to connect to an IPv6 address from a pod running in Kubernetes (GKE)? If so how?
推荐答案
当前,Google Cloud Platform 网络仅支持IPv4,因此无法从GKE连接到IPv6地址.
Currently, Google Cloud Platform Networks only support IPv4, so connecting to IPv6 addresses from GKE is not possible.
这篇关于如何连接到运行在Google Container Engine上的Kubernetes中的IPv6地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!