Rancher 2.8.3创建集群

Rancher Server 设置

  • Rancher 版本:v2.8.3

  • 在线或离线部署:在线

下游集群信息

  • Kubernetes 版本: v1.26.15+rke2r1

问题描述:
节点加入集群时,卡在waiting for at least one control plane, etcd, and worker node to be registered

rancher agent日志

块引用
May 15 18:23:36 idc-sg-pressure-test-yk-k8s-rke-master-01 systemd[1]: Started Rancher System Agent.
May 15 18:23:36 idc-sg-pressure-test-yk-k8s-rke-master-01 rancher-system-agent[1484]: time=“2024-05-15T18:23:36+08:00” level=info msg=“Rancher System Agent version v0.3.6 (41c07d0) is starting”
May 15 18:23:36 idc-sg-pressure-test-yk-k8s-rke-master-01 rancher-system-agent[1484]: time=“2024-05-15T18:23:36+08:00” level=info msg=“Using directory /var/lib/rancher/agent/work for work”
May 15 18:23:36 idc-sg-pressure-test-yk-k8s-rke-master-01 rancher-system-agent[1484]: time=“2024-05-15T18:23:36+08:00” level=info msg=“Starting remote watch of plans”
May 15 18:23:36 idc-sg-pressure-test-yk-k8s-rke-master-01 rancher-system-agent[1484]: time=“2024-05-15T18:23:36+08:00” level=info msg=“Starting /v1, Kind=Secret controller”

我也是,国内根本用不了

你添加集群都包含哪些角色?

你通过什么判断的?

不是用的admin用户创建的,但是新用户是有集群创建管理权限的

这是rancher集群的报错

在error syncing '_all_': handler user-controllers-controller: userControllersController: failed to set peers for key _all_: failed to start user controllers for cluster c-m-xpd49kl9: ClusterUnavailable 503: cluster not found, requeuing

我通过这个帖子,在注册master时,注册了一个work节点,集群就正常了

在一开始我也同时注册了,但是不确定是否跟注册顺序有关系