编辑
2026-03-15
技术杂谈
00

如题,具体错误为:

Unable to connect to the server: net/http: TLS handshake timeout

但是命令行ssh能正常连接 发现只要把k8s相关的域名都加入NO_PROXY中即可,如我在clash中加入了以下域名:

192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,127.0.0.1,localhost,*.local,<k8s服务器api>,*.*.iiis.co,172.16.0.0/12,.cluster.local,.svc