Mia
Mia

Reputation: 61

Installing k3s offline

I am new to Kubernetes. I would like to install k3s in an offline manner using k3s binary. I can just download install.sh as well and execute it offline to install k3s, is that correct? When and why would I need airgap images?

Upvotes: 1

Views: 2044

Answers (2)

Mia
Mia

Reputation: 61

My question was not "can I install k3s offline" but "how can I install k3s offline". To answer my question, we simply need the install script and k3s binary, we do not need airgap images.

Upvotes: 2

Claudio
Claudio

Reputation: 196

Yes you can definitely download the k3s binary and install without connection. Just take care that most of the instructions available assume you are connected.

Also note the default uninstall script actually deletes the binary. You can easily fix this by removing the specific delete line in the script.

Check the documentation for binary usage and also note that the script can be instructed to avoid downloading.

Upvotes: 1

Related Questions