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

RedHat OpenShift 4.8 使用 kt-connect 无法完成从本地电脑到集群内部的流量请求 #397

Open benz9527 opened 1 year ago

benz9527 commented 1 year ago

Describe the bug RedHat OpenShift 4.8 环境下,使用 kt-connect 代理流量会产生 ECONNECTREST 错误。

Log

  1. 使用 openshift 集群对应的 kubeconfig context
  2. 使用 ktctl connect 连接指定的 namespace image
  3. 使用 curl 连接 nginx pod 的端口,尝试请求数据 image

image

  1. 对比使用 rancher 做类似的操作,rancher 管理的 kubernetes 可以完成请求 image

Environment (please complete the following information):

Additional context ping OpenShift 4.8 集群内的 pod 和 service ipv4 地址是可以的。