无法使用 kubectl 连接到我的私有集群(无法连接到服务器:拨打 tcp)
Can't connect to my private cluster using kubectl (Unable to connect to the server: dial tcp )
我有 2 个相同配置的集群,直到昨天我都能够连接到它们,但今天我无法连接到其中一个,所有应用程序都运行良好,我只是在使用时遇到此错误kubectl
Unable to connect to the server: dial tcp IP:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because the connected host has failed to respond
我尝试从界面扩展和缩小我的集群(扩展有效但我仍然不能使用 kubectl)
有人可以帮忙吗?
这是与 docker 桥接网络的网络冲突,基本上我使用 docker 的默认桥接网络作为我的 GKE 端点,所以当我在我的部署机器上安装 docker (自动构建图像并推送它们)我失去了与这个 kubernetes 集群的连接。
所以我所要做的就是禁用桥接网络,然后我恢复了与该集群的连接
我有 2 个相同配置的集群,直到昨天我都能够连接到它们,但今天我无法连接到其中一个,所有应用程序都运行良好,我只是在使用时遇到此错误kubectl
Unable to connect to the server: dial tcp IP:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because the connected host has failed to respond
我尝试从界面扩展和缩小我的集群(扩展有效但我仍然不能使用 kubectl)
有人可以帮忙吗?
这是与 docker 桥接网络的网络冲突,基本上我使用 docker 的默认桥接网络作为我的 GKE 端点,所以当我在我的部署机器上安装 docker (自动构建图像并推送它们)我失去了与这个 kubernetes 集群的连接。
所以我所要做的就是禁用桥接网络,然后我恢复了与该集群的连接