Private registry mirrors are not registered by K3s even though they are defined in registries.yaml #9903
Replies: 1 comment
-
See the pinned issue: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environmental Info
K3s version: v1.28.7+k3s1
go version: go1.21.7
Cluster Configuration:
Describe the Bug
When defining the private registry configuration in
/etc/rancher/k3s/registries.yaml
and restarting the k3s server and agents, the mirror configuration is still not defined. Issue was discovered when I was applying a manifests that creates a Pod and pulls an image from a private docker registry.Additional info
registries.yaml
in server node is defined asWhen running
crictl info
after restarting the nodes, I get the following infodocker-swpl.com:80
is an insecure registry andhttp://docker-proxy.com:80
is a registry-mirror.Here is the hosts.toml file generated by k3s for one of the agent nodes:
Expected behavior
Private registry configuration would be acknowledged by K3s.
Actual behavior
The private registry configuration is not acknowledge by K3s based on
crictl info
.Beta Was this translation helpful? Give feedback.
All reactions