无法使用 kubectl 连接到我的专用群集(无法连接到服务器:拨号 tcp )



我有两个相同的集群配置,直到昨天我都能连接到它们,但今天我无法连接到其中一个,所有的应用程序都运行良好,我只是在使用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网桥网络的网络冲突,基本上我使用dockers默认网桥网络作为我的GKE端点,所以当我在部署机器上安装docker(自动构建映像并推送它们(时,我失去了与这个kubernetes集群的连接。

所以我所要做的就是禁用网桥网络,然后我重新连接到这个集群

最新更新