@creamy-pencil-82913 hi I added system-default-registry my config.yaml and I configured harbor registyry via
docker.io proxy but when I start rke2-server images can not pull because rke2-server is triying to pull registry/images but as I said I configure proxy registry/docker.io my mirror config is not work why I dont know
-----------------------------
group_rke2_config:
system-default-registry: 10.0.11.122:8090
# Use Calico
cni:
- calico
disable:
- canal
- kube-proxy
etcd-snapshot-schedule-cron: "0 */8 * * *"
etcd-snapshot-retention: 21
node-name: "{{ node_name }}"
node-taint:
- CriticalAddonsOnly=true:NoSchedule
audit-policy-file: /etc/rancher/rke2/audit-policy.yaml
kube-apiserver-arg:
- audit-policy-file=/etc/rancher/rke2/audit-policy.yaml
- audit-log-path=/var/lib/rancher/rke2/server/logs/audit.log
-----------------------------------------------------------------
mirrors:
docker.io:
endpoint:
- "
http://10.0.11.122"
rewrite:
"^rancher/(.*)": "
docker.io/$1"
configs:
"10.0.11.122":
auth:
username: "admin"
password: "Harbor12345"
tls:
insecure_skip_verify: true