首页 > 解决方案 > 使用 3rd 方 VPN 连接到私有 GKE 集群

问题描述

我们在我们的主服务器上安装了 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....

标签: google-cloud-platformgoogle-kubernetes-engineopenvpngoogle-cloud-networkinggke-networking

解决方案


推荐阅读