alibaba / kt-connect

A toolkit for Integrating with your kubernetes dev environment more efficiently
https://alibaba.github.io/kt-connect/#/
GNU General Public License v3.0
1.48k stars 231 forks source link

ktctl connect connectex: A socket operation was attempted to an unreachable host #379

Closed Hatament closed 1 year ago

Hatament commented 1 year ago

PS C:\Windows\system32> ktctl connect --excludeIps 192.168.X.X/24 --debug 1:33PM DBG Background task log to C:\Users\XXXXX\AppData\Local\Temp\kt-2163384487 1:33PM INF Using cluster context cluster-dev (cluster-dev) 1:33PM INF KtConnect 0.3.6 start at 15184 (windows amd64) 1:33PM DBG Rectify pod kt-rectifier-pobpq created 1:33PM INF Fetching cluster time ... ............. 1:34PM DBG Found domain wdcp.microsoft.com. (1) in dns (127.0.0.1:26496) 1:34PM DBG Found domain kubesphere.wimift.com. (1) in dns (127.0.0.1:26496) 1:34PM INF --------------------------------------------------------------- 1:34PM INF All looks good, now you can access to resources in the kubernetes cluster 1:34PM INF --------------------------------------------------------------- 1:34PM DBG Found domain h-adashx.ut.taobao.com. (1) in dns (127.0.0.1:26496) 1:34PM DBG Pod kt-rectifier-pobpq deleted 1:34PM DBG Found domain content-autofill.googleapis.com. (1) in dns (127.0.0.1:26496) 1:34PM DBG Found domain beacons.gcp.gvt2.com. (1) in dns (127.0.0.1:26496)

Hatament commented 1 year ago

--excludeIps 排除集群ip可以连上