K3S

Write its configuration file:

mkdir -p /etc/rancher/k3s
cat <<EOF > /etc/rancher/k3s/config.yaml
kube-controller-manager-arg:
  - "bind-address=0.0.0.0"
  - "flex-volume-plugin-dir=/var/lib/kubelet/volumeplugins/nodeagent~uds"
kube-proxy-arg:
  - "metrics-bind-address=0.0.0.0"
kube-scheduler-arg:
  - "bind-address=0.0.0.0"
kubelet-arg:
  - "allowed-unsafe-sysctls=net.ipv6.conf.all.disable_ipv6"
  - "cgroup-driver=systemd"
  - "volume-plugin-dir=/var/lib/kubelet/volumeplugins"

disable:
  - servicelb
  - traefik
  - metrics-server

flannel-backend: none
etcd-expose-metrics: true
node-ip: <node-ip>
cluster-cidr: 10.33.0.0/16
service-cidr: 10.34.0.0/16
service-node-port-range: 1-32767
disable-network-policy: true
container-runtime-endpoint: unix:///run/crio/crio.sock
default-local-storage-path: /var/lib/rancher/k3s/volumes
EOF

Execute the installation script as root:

curl -sfL https://get.k3s.io | sh -