Air Gap Installation
Install K3s
Note:
- Make sure you have
/usr/local/bin
configured in your PATH:export PATH=$PATH:/usr/local/bin
). All the commands must be executed asroot
user. - The commands have been tested on Ubuntu Server 20.04 LTS, SUSE Linux Enterprise Server 15 SP4 and RHEL 8.6.
- For RHEL, K3s needs the following package to be installed:
k3s-selinux
(repo rancher-k3s-common-stable) and its dependenciescontainer-selinux
(repo rhel-8-appstream-rhui-rpms) andpolicycoreutils-python-utils
(repo rhel-8-baseos-rhui-rpms). Also,firewalld
nm-cloud-setup.service
andnm-cloud-setup.timer
must be disabled and the server restarted before the installation, click here for more information.
The steps below you guide you through the air-gap installation of K3s, a lightweight Kubernetes distribution created by Rancher Labs: