Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在私有子网中启动的 k8s 集群(1 个主节点)。我想设置一个 AWS 负载均衡器以便kubectl从 Internet 使用。我尝试设置网络负载平衡器,但没有成功。请任何人建议我实现该目标的方法。
kubectl
负载均衡器不会帮助您kubectl管理 kubernetes。
您需要在 VPC 中设置公共 IP 或 VPN。考虑使用 OpenVPN 允许在桌面上运行的 kubectl 连接到 Kubernetes。