Private Registry registration is not working. #7074
-
I created the /etc/rancher/rke2/registries.yaml file to register a private registry. Restarting the rke2-server kre2-agent service does not synchronize the registry information in the /var/lib/rancher/rke2/agent/etc/containerd/config.toml file. It works fine in v1.26.10+rke2r2. However, it doesn't work in v.1.26.15+rke2r1 and v1.30.5+rke2r1. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Placing registry configuration in config.toml has long been deprecated by containerd, in favor of a dynamically loaded certs.d directory structure. This is what newer releases of RKE2 use; you'll find the registry config under Ref: k3s-io/k3s#8972 |
Beta Was this translation helpful? Give feedback.
Placing registry configuration in config.toml has long been deprecated by containerd, in favor of a dynamically loaded certs.d directory structure. This is what newer releases of RKE2 use; you'll find the registry config under
/var/lib/rancher/rke2/agent/etc/containerd/certs.d
.Ref: k3s-io/k3s#8972