Skip to content

New downstream clusters are picking up the old default registry, even though the system default registry has been modified.

Article Number: 000021906

Environment

RKE2

RKE

Situation

The system default registry, configured via the Rancher UI's Global Settings, is not being applied to new downstream clusters. These clusters are still attempting to pull images from the old registry

Cause

While creating a new downstream cluster through Rancher, Rancher acts as an orchestrator. It uses its internal configuration, including the default registry, to provision the cluster's control plane and worker nodes. If Rancher tries to pull cattle-cluster-agent, Kubernetes components, CNI plugins, or other essential images from the wrong registry, the cluster creation will fail or result in an unhealthy state.

Resolution

The system default registry, configured via the Rancher UI's Global Settings, is not being applied to new downstream clusters.
These clusters are still attempting to pull images from the old registry

Rancher UI > Explore Local cluster > Rancher deployment > Edit YML

Take a backup of the below YAML before the edit

Rancher UI > Explore Local cluster > Rancher deployment > Edit YML > Update and Save

Perform the Rancher pod rollout restart.

Rancher UI > Explore Local cluster > Rancher deployment > Redeploy