modified: docs/k3s-cluster.md

This commit is contained in:
2025-11-15 16:36:45 +00:00
parent 670f857651
commit cb412fcb02

View File

@@ -13,7 +13,6 @@
``` bash ``` bash
apt install sudo apt install sudo
usermod -aG sudo mf usermod -aG sudo mf
``` ```
**Disable swap:** **Disable swap:**
@@ -76,7 +75,6 @@ cat /var/lib/rancher/k3s/server/node-token
**Setup worker node:** **Setup worker node:**
``` bash ``` bash
# execute on server to get token # install k3s as agent / worker node
cat /var/lib/rancher/k3s/server/node-token
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="agent --server https://casa.dev.lan:6443 --token <TOKEN>" sh -s - curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="agent --server https://casa.dev.lan:6443 --token <TOKEN>" sh -s -
``` ```