如果是 Helm Chart 安装,需要提供 Local 集群的类型(RKE1, RKE2, k3s, EKS, 等)和版本:
在线或离线部署:
下游集群信息
Kubernetes 版本: 1.26.6
Cluster Type (Local/Downstream):
如果 Downstream,是什么类型的集群?(自定义/导入或为托管 等):
导入
用户信息
登录用户的角色是什么? (管理员/集群所有者/集群成员/项目所有者/项目成员/自定义):
如果自定义,自定义权限集:
主机操作系统:
问题描述:
通过docker安装的rancher server 导入自有集群一直不成功 重现步骤:
结果:
预期结果:
截图:
其他上下文信息:
[details=“日志”]
2024/08/15 05:11:00 [INFO] error in remotedialer server [400]: websocket: close 1006 (abnormal closure): unexpected EOF
W0815 05:11:00.225571 33 reflector.go:348] pkg/mod/github.com/rancher/client-go@v1.25.4-rancher1/tools/cache/reflector.go:170: watch of *v1.ClusterRole ended with: an error on the server ("unable to decode an event from the watch stream: tunnel disconnect") has prevented the request from succeeding
W0815 06:01:06.003891 34 reflector.go:425] pkg/mod/github.com/rancher/client-go@v1.25.4-rancher1/tools/cache/reflector.go:170: failed to list *v1.Node: Get "https://192.168.0.1:443/api/v1/nodes?resourceVersion=147586898": cluster agent disconnected
agent一直处在
time="2024-08-15T06:04:08Z" level=info msg="Connecting to proxy" url="wss://域名/v3/connect/register"