使用helm在k3s集群里装上了rancher 但是用不了fleet,请问是什么导致的

Rancher Server 设置

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

下游集群信息

  • Kubernetes 版本:
    k3s --version
    k3s version v1.30.5+k3s1 (9b586704)
    go version go1.22.6
  • Cluster Type (Local/Downstream):
    • 如果 Downstream,是什么类型的集群?(自定义/导入或为托管 等):

用户信息

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

主机操作系统:
linux

问题描述:
使用helm在k3s集群里装上了rancher 但是用不了fleet重现步骤:
安装命令:
helm install rancher rancher-stable/rancher --namespace cattle-system --kubeconfig /etc/rancher/k3s/k3s.yaml --set hostname=172.21.35.24.nip.io --set rancherImage=xxx/docker/rancher/rancher --set rancherImageTag=v2.9.3 --set images.shell.image=xxx/docker/rancher/shell --set images.shell.tag=v0.2.2 --set imagePullSecrets[0].name=mysecret --set service.type=NodePort --set systemDefaultRegistry=xxx/docker --set global.cattle.systemDefaultRegistry=xxx/docker
结果:
fleet命名空间下没有pod运行
kubectl get pod -n cattle-fleet-system
No resources found in cattle-fleet-system namespace.


预期结果:
在rancher的web界面使用fleet实现持续交付

截图:

其他上下文信息:

日志
kubectl describe pod helm-operation-j7q4c -n cattle-system

Events:
  Type     Reason     Age                   From               Message
  ----     ------     ----                  ----               -------
  Normal   Scheduled  6m2s                  default-scheduler  Successfully assigned cattle-system/helm-operation-j7q4c to cnhb01-bdu-lianshan-local-cloud-2bf555
  Normal   Pulling    5m27s (x3 over 6m3s)  kubelet            Pulling image "artifactory.ep.chehejia.com/docker/rancher/shell:v0.1.20"
  Warning  Failed     5m27s (x3 over 6m3s)  kubelet            Failed to pull image "artifactory.ep.chehejia.com/docker/rancher/shell:v0.1.20": failed to pull and unpack image "artifactory.ep.chehejia.com/docker/rancher/shell:v0.1.20": failed to resolve reference "artifactory.ep.chehejia.com/docker/rancher/shell:v0.1.20": failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://artifactory.ep.chehejia.com:443/artifactory/api/docker/docker/v2/token?scope=repository%3Adocker%2Francher%2Fshell%3Apull&scope=repository%3Arancher%2Fshell%3Apull&service=artifactory.ep.chehejia.com%3A443: 401
  Warning  Failed     5m27s (x3 over 6m3s)  kubelet            Error: ErrImagePull
  Normal   BackOff    5m27s (x5 over 6m3s)  kubelet            Back-off pulling image "artifactory.ep.chehejia.com/docker/rancher/shell:v0.1.20"
  Warning  Failed     5m27s (x5 over 6m3s)  kubelet            Error: ImagePullBackOff
  Warning  Failed     5m14s (x3 over 6m2s)  kubelet            Error: ImagePullBackOff
  Normal   BackOff    58s (x21 over 6m2s)   kubelet            Back-off pulling image "artifactory.ep.chehejia.com/docker/rancher/shell:v0.1.20"