https://rancher.com/ logo
Title
a

ambitious-butcher-83703

05/23/2022, 11:39 PM
Hello — Using RKE2 in a multinode air-gapped setup. If I have some custom containers I want to able to run in the cluster, do I need to have the tar files in /var/lib/rancher/rke2/agent/images/ in each of the nodes? or just on the master. Will the pods only be able to pull the image if it exists on the node its trying to run on? Thanks in advance!
a

alert-potato-16010

05/24/2022, 5:11 AM
Images are required on every node as they are needed to deploy each kubernetes component on master and worker nodes.
a

ambitious-butcher-83703

05/24/2022, 4:31 PM
I understand that the necessary kubernetes component images are required, but what if I had a custom container that I wanted to run on the cluster, would I need to put that image tar file in every nodes images folder if I wanted the image to be able to run on any of the nodes?
a

alert-potato-16010

05/24/2022, 5:39 PM
you should use a registry....
a

ambitious-butcher-83703

05/24/2022, 5:40 PM
Is there a light footprint private registry I can deploy alongside rke2?
f

faint-airport-83518

05/24/2022, 5:44 PM
we use this on our project: https://github.com/defenseunicorns/zarf
in its most basic functionality it can airgap git repos and docker containers. We bootstrap our cluster using it.
a

ambitious-butcher-83703

05/24/2022, 5:45 PM
Awesome — will take a look. Thanks!