I've just managed to upgrade Rancher to 2.12. Unfortunately, one of the clusters built by Rancher has one cattle-cluster-agent pod for 2.12 running and two others which are stuck with "Containers with unready status: [cluster-register]", one on a control plane, the other on a worker. The imported cluster has both cattle-cluster-agents running on workers. Does that matter? Where are the agents meant to be running, on the control plane or on all nodes?
I've gone through the suggested fix of
CATTLE_TOKEN=$(kubectl -n cattle-system get secret -o json | jq -r '.items[].metadata | select(.annotations."
kubernetes.io/service-account.name" == "cattle") | .name')
kubectl -n cattle-system delete secret $CATTLE_TOKEN
kubectl rollout restart deployment cattle-cluster-agent -n cattle-system
but that didn't help with this cluster. Any ideas to get around this?