How to connect to IPv6 addresses in Kubernetes run

2019-06-04 05:58发布

问题:

Background I'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).

Question

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?

回答1:

Currently, Google Cloud Platform Networks only support IPv4, so connecting to IPv6 addresses from GKE is not possible.