-
Hello folks, I have setup 5 private registries, mirroring all the release-notes-identified public registries, with the following notables:
I have loaded all the identified Talos images into the corresponding mirror registries and configured Talos to use these endpoints ( However, what I observe is that Talos still attempts to use the unreachable public repositories instead of the private mirrors, which breaks the air-gapped installation. To compare, I used Docker cli and it demonstrates the same behaviour as Talos (i.e. pulling an image from a public registry wouldn't automatically pull it from its private mirror; one must explicitly refer to the private registry to use it). Below is the config file and docker run command for one of the mirror registries:
docker run:
If you use Docker cli to validate, please make sure you add I'm testing the air-gapped installation, in hopes that it could be used for Talos installation on edge devices, which do not have Internet access. But, it doesn't work as it currently is. Haven't I done something important, or does this point to a bug in Talos installation? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I guess I'm missing something in your question, but Talos doesn't use Docker or anything else to pull the images. Talos pulls the images either on its own (installer, etcd, kubelet), or the containerd CRI plugin does that (kube-apiserver, workload images, etc.). For Talos it's critical to setup registry mirror configuration in the machine config (or via |
Beta Was this translation helpful? Give feedback.
-
I used Docker cli to compare its behaviour with Talos installer (they're doing the same). Here's my Talos configuration for the registry mirrors:
Please note that I've configured all the registries as pull-through cache (as indicated above) and loaded all images there. What I'm observing is that Talos installer attempts to pull the images from the public registries, not the mirror registries I've setup. You can test this, by removing Internet access, which should cause installation failure. |
Beta Was this translation helpful? Give feedback.
I guess I'm missing something in your question, but Talos doesn't use Docker or anything else to pull the images. Talos pulls the images either on its own (installer, etcd, kubelet), or the containerd CRI plugin does that (kube-apiserver, workload images, etc.).
For Talos it's critical to setup registry mirror configuration in the machine config (or via
--registry-mirror
flags if usingtalosctl cluster create
). This should redirect image pull request for each registry. I don't see those in your question above, and these are the most crtiical.