This message was deleted.
# rke2
a
This message was deleted.
c
You’re not pulling your image from docker.io, why did you add your registry as a mirror for docker.io? If you want to pull your image directly from your registry, you should configure the endpoint for YOUR registry, not for docker.io
Copy code
mirrors:
 10.25.62.217:81:
  endpoint:
   - "<http://10.25.62.217:81>"
insecure_skip_verify makes no sense; you’re using HTTP not HTTPS so there is no certificate to skip verifying.
p
I think with my limited understanding of Rancher and RKE2: If this is a cluster provisioned using Rancher then it is better to add the registries config from the Rancher UI instead of adding it in your nodes manually. The reason is: When the cluster reconciles or the rke2 service restarts, it pulls the configuration from the cluster config. And if registries are not configured there then it will overwrite the registries.yaml file with empty content.