From 0fcb6e1719463c09998ab8e2e80fb7dfc963ab85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 21 Jun 2026 15:13:37 +0000 Subject: [PATCH] bump kernel version, k3s version and set zigbee2mqtt imagePullPolicy to IfNotPresent --- cluster/README.md | 54 ++++++++++--------- .../zigbee2mqtt/deploy/app/statefulset.yaml | 2 +- 2 files changed, 31 insertions(+), 25 deletions(-) diff --git a/cluster/README.md b/cluster/README.md index 3b84d18..8faaced 100644 --- a/cluster/README.md +++ b/cluster/README.md @@ -1,15 +1,15 @@ # Casa k3s cluster -**k3s version:** v1.35.2+k3s1 +**k3s version:** v1.36.1+k3s1 **Table of Contents:** - [Common](#common) - [OCI Mirrors Cache](#oci-mirrors-cache) -- [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) +- [casa - control Plane](#casa---control-plane) + - [casa - control Plane - proxmox vm](#casa---control-plane---proxmox-vm) + - [casa - control Plane - network configuration](#casa---control-plane---network-configuration) + - [casa - control Plane - k3s setup](#casa---control-plane---k3s-setup) - [minion01 - worker node](#minion01---worker-node) - [Minion01 - proxmox vm](#minion01---proxmox-vm) - [casa-minion-01 - k3s - setup](#casa-minion-01---k3s---setup) @@ -124,16 +124,21 @@ configs: insecure_skip_verify: false ``` -## Master Node +## casa - control Plane -| Name | Value | -| --- | --- | -| **NAME** | casa.dev.lan | -| **VLAN** | casa | -| **IP** | 192.168.14.9 | -| **OS** | Debian GNU/Linux 12 (bookworm) | +| Name | Value | +| --- | --- | +| **NAME** | casa.dev.lan | +| **VLAN** | casa | +| **IP** | 192.168.14.9 | +| **OS** | Debian GNU/Linux 12 (bookworm) | +| **KERNEL** | 6.1.0-44-amd64 | -### Master Node - proxmox vm +``` bash +cat /etc/os-release; uname -r +``` + +### casa - control Plane - proxmox vm *hosted on surfacepro.* @@ -158,7 +163,7 @@ sockets: 1 usb0: host=1-1.1 ``` -### Master Node - network configuration +### casa - control Plane - network configuration ``` bash ip a # check ethernet name @@ -176,10 +181,10 @@ EOF ``` -### Master Node - k3s setup +### casa - control Plane - k3s setup ``` bash -curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.35.2+k3s1 sh - +curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.36.1+k3s1 sh - ``` **Taint NoSchedule on master node:** @@ -217,12 +222,13 @@ smbios1: xxxx-xxxx-xxxx-xxxx-xxxx sockets: 1 ``` -| Name | Value | -| --- | --- | -| **NAME** | minion01 | -| **VLAN** | casa | -| **IP** | 192.168.14.10 | -| **OS** | Debian GNU/Linux 12 (bookworm) | +| Name | Value | +| --- | --- | +| **NAME** | minion01 | +| **VLAN** | casa | +| **IP** | 192.168.14.10 | +| **OS** | Debian GNU/Linux 12 (bookworm) | +| **KERNEL** | 6.1.0-44-amd64 | ### casa-minion-01 - k3s - setup @@ -231,8 +237,8 @@ sockets: 1 # 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.35.2+k3s1 INSTALL_K3S_EXEC="agent --data-dir /dataDisk/k3s --server https://casa.dev.lan:6443 --token ${K3S_TOKEN}" sh -s - +K3S_TOKEN="????" +curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.36.1+k3s1 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. diff --git a/services/zigbee2mqtt/deploy/app/statefulset.yaml b/services/zigbee2mqtt/deploy/app/statefulset.yaml index 461fc3a..43a85f8 100644 --- a/services/zigbee2mqtt/deploy/app/statefulset.yaml +++ b/services/zigbee2mqtt/deploy/app/statefulset.yaml @@ -22,7 +22,7 @@ spec: ### Maintained by flux - Image Update Automation image: koenkk/zigbee2mqtt:latest@sha256:1debff565ab6841417bd9f7ce8ad44f8c5f25a8b02a24ce3fd79e4779a4763a5 # {"$imagepolicy": "mqtt:zigbee2mqtt"} ### - + imagePullPolicy: IfNotPresent volumeMounts: - name: zigbee2mqtt-data mountPath: /app/data