问题描述
什么是"VPC本机"?在GKE集群中?
是否禁用了VPC本机的GKE群集"?限制通过私有IP连接到Cloud SQL?我们有一个GKE集群,其"VPC本机"为"VPC本机".被禁用,我们将GKE集群列入了云sql的白名单,甚至发布了连接失败的消息.
此外,从私有GKE群集连接云sql的推荐方法是什么?假设我们有一个要从AWS迁移到GKE的应用程序,我们不想构建云代理.
GKE中的VPC Native更改了建立路由的方式来处理节点之间的pod流量.
参见此文章查找更多详细信息.
通过文档:
即使您要创建一个出色的sql代理,也要从文档中重新提出.在这里,您可以找到有关CloudSQL连接的更多详细信息.>
如本文档中所述,您需要将GKE群集和CLoudSQL放在同一网络中.
What is "VPC Native" in GKE cluster?
Does "VPC Native disabled GKE cluster" restrict connecting to Cloud SQL via Private IP? We have a GKE cluster whose "VPC Native" is disabled and we have whitelisted GKE cluster in cloud sql, even post that connectivity fails.
Also, what is the recommended way to connect cloud sql from private GKE cluster? Suppose we have an application which we are migrating from AWS to GKE, we don't want to build cloud proxy.
The VPC Native in GKE changes the way routes are established to handle pod traffic between nodes.
See this article to find more details.
By documentation:
Even you want to create a sloud sql proxy, it is the recomentation from documentation. Here you can find more details about CloudSQL connections.
As mentioned in this documentation, you need to have your GKE cluster and CLoudSQL in the same network.
这篇关于GKE VPC本机群集和与Cloud SQL的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!