Follow these steps to install k3s offline, all commands below must be run:

cp -v k3s.service /etc/systemd/system/k3s.service
cp -v k3s /usr/bin/k3s
ln -sv /usr/bin/k3s /usr/bin/kubectl
ln -sv /usr/bin/k3s /usr/bin/ctr
ln -sv /usr/bin/k3s /usr/bin/crictl
cp -v k3s-killall.sh /usr/bin/k3s-killall.sh

mkdir /{foundation_volume}/rancher
mkdir /{foundation_volume}/kubelet
mkdir /{foundation_volume}/etc-rancher
ln -sv /{foundation_volume}/rancher /var/lib/rancher
ln -sv /{foundation_volume}/kubelet /var/lib/kubelet
ln -sv /{foundation_volume}/etc-rancher /etc/rancher

chmod +x /usr/bin/k3s*
systemctl daemon-reload

Install pre-requisite k3s-selinux package according to your linux server distribution (some k3s-selinux rpms version are included at the zip file, if no package attend to your linux server distribution, please find and download the correct one at https://github.com/k3s-io/k3s-selinux/releases), to install the package, run:

yum install k3s-selinux-X.X.X.elX.noarch.rpm 

systemctl start k3s
systemctl enable k3s
systemctl status k3s (just to check if k3s is active)

foundation config

If foundation config fails at k3s step, import the following images:
k3s ctr image import rancher-klipper-lb-v0.4.0.tar.gz
k3s ctr image import rancher-local-path-provisioner-v0.0.23.tar.gz
k3s ctr image import rancher-mirrored-coredns-coredns-1.9.4.tar.gz
k3s ctr image import rancher-mirrored-metrics-server-v0.6.2.tar.gz
k3s ctr image import rancher-mirrored-pause-3.6.tar.gz
