-
Hello! I recently read about the embedded registry mirror in k3s and I wanted to see if I could use this as a local registry for manually imported images. I'm just running a single node cluster, so I don't actually need mirroring, but I want the ability to manually load images at will. This appears to be possible according to the docs, but I'm struggling to get k3s to pull images from spegel instead of docker.io. I'm currently running k3s version v1.30.3+k3s1 with the My mirrors:
"*":
configs:
"*":
tls:
insecure_skip_verify: true Image loaded with
Deployment file:
Output from
Output from
The
Any pointers on what configuration might be wrong would be so appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can already do this. Remember that Spegel has no image store, it just shares whatever is in containerd on each node. Spegel won't pull images from itself on a single node cluster. That doesn't make any sense as a thing to do - it would just be containerd loading from itself, and if it already has an image, it doesn't need to pull it. If you want to load images into containerd, just use |
Beta Was this translation helpful? Give feedback.
Ok I've resolved my own problem, but this answer was helpful in getting me thinking in a better direction! Thank you!!
Other issues I had:
ctr
instead ofk3s ctr
api-server:1.0
->blah.com/api-server:1.0
.