[Question/Help] Air Gap #685
-
k3s supports air gap deployments... But I don't see this as possible with k3d "managing" a cluster.... I can pass the image k3s image param on start up, but this wont cover all the other images k3s retrieves https://github.com/k3s-io/k3s/releases/download/v1.21.2%2Bk3s1/k3s-images.txt to spin up. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @nemonik , thanks for starting this discussion!
That's how I imagine it should work (at least I don't see why it shouldn't 🤔). This is assuming, that you have the |
Beta Was this translation helpful? Give feedback.
-
I honestly hadn't thought to do that, but you are right it is essentially what you would do for k3s. Thank you.
|
Beta Was this translation helpful? Give feedback.
Hi @nemonik , thanks for starting this discussion!
You can certainly try this, it just requires some manual work (like k3s airgap does as well):
FROM rancher/k3s:<version>
and copy your image tarball into the filesystem as per https://rancher.com/docs/k3s/latest/en/installation/airgap/#prepare-the-images-directory-and-k3s-binaryk3d cluster create --image your/k3s:tag
That's how I imagine it should work (at least I don't see why it shouldn't 🤔).
This is assuming, that you have the
rancher/k3d-proxy
image required for cluster creation (and potentially therancher/k3d-tools
image) available on the target host, which are the other tw…