From 7bfdefffd16ca6bf48234829ee90d9fc0ba2aa2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 27 Jun 2026 01:15:10 +0000 Subject: [PATCH] add casa-mini-minion-01 node --- casa.full-stack.code-workspace | 7 +++++ cluster/README.md | 50 +++++++++++++++++++++++++++++++++- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 casa.full-stack.code-workspace diff --git a/casa.full-stack.code-workspace b/casa.full-stack.code-workspace new file mode 100644 index 0000000..ef9f5d2 --- /dev/null +++ b/casa.full-stack.code-workspace @@ -0,0 +1,7 @@ +{ + "folders": [ + { + "path": "." + } + ] +} \ No newline at end of file diff --git a/cluster/README.md b/cluster/README.md index 8faaced..360c4d4 100644 --- a/cluster/README.md +++ b/cluster/README.md @@ -13,6 +13,9 @@ - [minion01 - worker node](#minion01---worker-node) - [Minion01 - proxmox vm](#minion01---proxmox-vm) - [casa-minion-01 - k3s - setup](#casa-minion-01---k3s---setup) +- [casa-mini-minion-01 - worker node](#casa-mini-minion-01---worker-node) + - [casa-mini-minion-01 - proxmox vm](#casa-mini-minion-01---proxmox-vm) + - [casa-mini-minion-01 - k3s - setup](#casa-mini-minion-01---k3s---setup) ## Common @@ -140,7 +143,7 @@ cat /etc/os-release; uname -r ### casa - control Plane - proxmox vm -*hosted on surfacepro.* +*hosted on gaia.* ``` yaml agent: 1 @@ -264,3 +267,48 @@ Change kubectl -n kube-system edit configmap local-path-config on kube-system to ``` bash kubectl label node casa-minion-01 role=worker-node ``` + +## casa-mini-minion-01 - worker node + +### casa-mini-minion-01 - proxmox vm + +*hosted on gaia. + +``` yaml +agent: 1 +balloon: 0 +boot: order=scsi0;ide2;net0 +cores: 4 +cpu: x86-64-v2-AES +memory: 2048 +meta: creation-qemu=11.0.0,ctime=1782516417 +name: casa-mini-minion-01 +net0: virtio=xx:xx:xx:xx:xx:xx,bridge=vmbr0,tag=14 +numa: 0 +ostype: l26 +scsi0: fastcore:vm-112-disk-0,iothread=1,size=24G,ssd=1 +scsihw: virtio-scsi-single +sockets: 1 + +``` + +| Name | Value | +| --- | --- | +| **NAME** | casa-mini-minion-01 | +| **VLAN** | casa | +| **IP** | 192.168.14.11 | +| **OS** | Debian GNU/Linux 12 (bookworm) | +| **KERNEL** | 6.1.0-44-amd64 | + +### casa-mini-minion-01 - k3s - setup + +``` bash +# install k3s as agent / worker node +# execute on server to get token +# cat /var/lib/rancher/k3s/server/node-token + +K3S_TOKEN="???" +curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.36.1+k3s1 INSTALL_K3S_EXEC="agent --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.