繁体   English   中英

使用 3rd 方 VPN 连接到私有 GKE 集群

[英]Connecting to Private GKE cluster using 3rd party VPN

我们在我们的主服务器上安装了 OpenVPN 社区版 VPN,并且在 GCP 中没有创建公共端点的私有 GKE 集群。是否有可能我们可以连接到这个私有集群以从我的本地计算机运行 kubectl 命令。

供参考。 我通过在 VPC 上添加 VPN 的公共 ip 来启用防火墙规则。它给了我:

Unable to connect to the server: x509: certificate signed by unknown authority

尽管运行 gcloud auth login "account" / gcloud cluster get-credentials....

check this out, with details from google support confirming this limitation: https://issuetracker.google.com/issues/244483997 and here is the diagram explaining it: https://docs.google.com/presentation/d/1f0VV48q15IrXqp0QAn4XHCAloC9cWnYZxXWeYqnIGXw/编辑?pli=1#slide=id.p

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM