google-cloud-platform - 使用 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....
解决方案
推荐阅读
- javascript - 此地图集层中不允许使用 MongoDB $size,替代方案?
- python - 正则表达式仅用于整个单词(RE2)
- python - If 语句有两个结果
- linux - 在 linux (bash) 的特定位置向文件添加行
- node.js - Bigquery如何在List操作期间过滤数据集中的表
- python - Python中不同形状数组的余弦距离?
- mysql - 选择嵌套选择查询的输出和输出 + 'n' 之间的所有行
- java - .class 文件中未生成 Lombok 注释
- reactjs - 如何让 window.location.reload(true) 仅重新加载正确的页面?
- angular - 在两个组件之间传递数据和计算