modified: docs/k3s-cluster.md
This commit is contained in:
@@ -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 -
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user