集群部署异常

Rancher Server 设置

  • Rancher 版本:2.11.0
  • 安装选项 (Docker install/Helm Chart): helm
    • 如果是 Helm Chart 安装,需要提供 Local 集群的类型(RKE1, RKE2, k3s, EKS, 等)和版本:
  • 在线或离线部署:在线

下游集群信息

  • Kubernetes 版本: rke2 1.32
  • Cluster Type (Local/Downstream): Downstream
    • 如果 Downstream,是什么类型的集群?(自定义/导入或为托管 等): 自定义

用户信息

  • 登录用户的角色是什么? (管理员/集群所有者/集群成员/项目所有者/项目成员/自定义):管理员
    • 如果自定义,自定义权限集:

**主机操作系统:**rocky

**问题描述:**部署后无法下发plan

**重现步骤:**多次删除重建注册

**结果:**Mar 27 08:14:02 pre-k8s-etc01 rancher-system-agent[21902]: time=“2026-03-27T08:14:02Z” level=info msg=“Rancher System Agent version v0.3.12 (e4876a6) is starting”
Mar 27 08:14:02 pre-k8s-etc01 rancher-system-agent[21902]: time=“2026-03-27T08:14:02Z” level=info msg=“Using directory /data/rancher/agent/work for work”
Mar 27 08:14:02 pre-k8s-etc01 rancher-system-agent[21902]: time=“2026-03-27T08:14:02Z” level=info msg=“Starting remote watch of plans”
Mar 27 08:14:02 pre-k8s-etc01 rancher-system-agent[21902]: time=“2026-03-27T08:14:02Z” level=fatal msg=“error while connecting to Kubernetes cluster: the server has asked for the client to provide credentials”

预期结果:

截图:

其他上下文信息:

日志
Mar 27 08:14:02 pre-k8s-etc01 rancher-system-agent[21902]: time="2026-03-27T08:14:02Z" level=info msg="Rancher System Agent version v0.3.12 (e4876a6) is starting"
Mar 27 08:14:02 pre-k8s-etc01 rancher-system-agent[21902]: time="2026-03-27T08:14:02Z" level=info msg="Using directory /data/rancher/agent/work for work"
Mar 27 08:14:02 pre-k8s-etc01 rancher-system-agent[21902]: time="2026-03-27T08:14:02Z" level=info msg="Starting remote watch of plans"
Mar 27 08:14:02 pre-k8s-etc01 rancher-system-agent[21902]: time="2026-03-27T08:14:02Z" level=fatal msg="error while connecting to Kubernetes cluster: the server has asked for the client to provide credentials"