...
Info |
---|
The commands have been tested on Ubuntu Server 20.04 LTS, SUSE Linux Enterprise Server 15 SP4 and RHEL 8.109.2 and 9.4. |
Note |
---|
For RHEL, K3s needs the following package to be installed: |
...
Extract the downloaded file:
tar -xf gv-platform-$VERSION.tar
(REPLACE $VERSION with the version from a downloaded tar file)Prepare K3s for air-gap installation:
Code Block language bash # mkdir -p /var/lib/rancher/k3s/agent/images/ # gunzip -c assets/k3s-airgap-images-amd64.tar.gz > /var/lib/rancher/k3s/agent/images/airgap-images.tar # cp assets/k3s /usr/local/bin && chmod +x /usr/local/bin/k3s # tar -xzf assets/helm-v3.8.2-linux-amd64.tar.gz # cp linux-amd64/helm /usr/local/bin
Before installation, it’s recommended to run automatic checks (as root;
PRODUCT_NAME
is either “synergy” (endpoint agent) or “dspm“ (dspm without endpoint agent) or “ultimate“ (dspm + endpoint agent). If unsure use “ultimate“):Code Block # cat scripts/k3s.sh | PRODUCT_NAME=ultimate ONLY_PRECHECK=true bash -
Install K3s:Code Block language bash # cat scripts/k3s.sh | INSTALL_K3S_SKIP_DOWNLOAD=true K3S_KUBECONFIG_MODE="644" SKIP_NETWORK_CHECKS=true sh -s - server --node-name=local-01
...