modified: docs/k3s-cluster.md

This commit is contained in:
2026-02-08 10:39:59 +00:00
parent 829f939c4a
commit 16d1c6aa24

View File

@@ -7,6 +7,7 @@
- [Master Node](#master-node)
- [Master Node - proxmox vm](#master-node---proxmox-vm)
- [Master Node - network configuration](#master-node---network-configuration)
- [Master Node - k3s setup](#master-node---k3s-setup)
- [minion01 - worker node](#minion01---worker-node)
- [Minion01 - proxmox vm](#minion01---proxmox-vm)
- [Minion01 - k3s -setup](#minion01---k3s--setup)
@@ -45,8 +46,7 @@ EOF
| **VLAN** | casa |
| **IP** | 192.168.14.9 |
| **OS** | Debian GNU/Linux 12 (bookworm) |
| **k3s** | v1.34.3+k3s1 (48ffa7b6) |
| **go** | go1.24.11 |
| **k3s** | v1.35.0+k3s3 |
### Master Node - proxmox vm
@@ -91,8 +91,10 @@ EOF
```
### Master Node - k3s setup
``` bash
curl -sfL https://get.k3s.io | sh -
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.35.0+k3s3 sh -
```
**Taint NoSchedule on master node:**
@@ -146,8 +148,8 @@ sockets: 1
# execute on server to get token
# cat /var/lib/rancher/k3s/server/node-token
TOKEN="???"
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="agent --data-dir /dataDisk/k3s --server https://casa.dev.lan:6443 --token ${TOKEN}" sh -s -
K3S_TOKEN="????"
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.35.0+k3s3 INSTALL_K3S_EXEC="agent --data-dir /dataDisk/k3s --server https://casa.dev.lan:6443 --token ${K3S_TOKEN}" sh -s -
```
Change kubectl -n kube-system edit configmap local-path-config on kube-system to set path to provisioner.