如何连接到运行在Google Container Engine上的Kubernetes中的IPv6地址? [英] How to connect to IPv6 addresses in Kubernetes running on Google Container Engine?

查看:127
本文介绍了如何连接到运行在Google Container Engine上的Kubernetes中的IPv6地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景 我想将 Wordpress Docker容器连接到Google Could SQL实例.默认情况下,Google Cloud SQL仅公开一个IPv6地址,最好将Wordpress连接到该地址,但我找不到解决方法(请参阅我的

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).

问题

我想知道是否可以从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地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆