bump kernel version, k3s version and set zigbee2mqtt imagePullPolicy to IfNotPresent

This commit is contained in:
Márcio Fernandes
2026-06-21 15:13:37 +00:00
parent dc3efe0e85
commit 0fcb6e1719
2 changed files with 31 additions and 25 deletions
+18 -12
View File
@@ -1,15 +1,15 @@
# Casa k3s cluster # Casa k3s cluster
**k3s version:** v1.35.2+k3s1 **k3s version:** v1.36.1+k3s1
**Table of Contents:** **Table of Contents:**
- [Common](#common) - [Common](#common)
- [OCI Mirrors Cache](#oci-mirrors-cache) - [OCI Mirrors Cache](#oci-mirrors-cache)
- [Master Node](#master-node) - [casa - control Plane](#casa---control-plane)
- [Master Node - proxmox vm](#master-node---proxmox-vm) - [casa - control Plane - proxmox vm](#casa---control-plane---proxmox-vm)
- [Master Node - network configuration](#master-node---network-configuration) - [casa - control Plane - network configuration](#casa---control-plane---network-configuration)
- [Master Node - k3s setup](#master-node---k3s-setup) - [casa - control Plane - k3s setup](#casa---control-plane---k3s-setup)
- [minion01 - worker node](#minion01---worker-node) - [minion01 - worker node](#minion01---worker-node)
- [Minion01 - proxmox vm](#minion01---proxmox-vm) - [Minion01 - proxmox vm](#minion01---proxmox-vm)
- [casa-minion-01 - k3s - setup](#casa-minion-01---k3s---setup) - [casa-minion-01 - k3s - setup](#casa-minion-01---k3s---setup)
@@ -124,7 +124,7 @@ configs:
insecure_skip_verify: false insecure_skip_verify: false
``` ```
## Master Node ## casa - control Plane
| Name | Value | | Name | Value |
| --- | --- | | --- | --- |
@@ -132,8 +132,13 @@ configs:
| **VLAN** | casa | | **VLAN** | casa |
| **IP** | 192.168.14.9 | | **IP** | 192.168.14.9 |
| **OS** | Debian GNU/Linux 12 (bookworm) | | **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.* *hosted on surfacepro.*
@@ -158,7 +163,7 @@ sockets: 1
usb0: host=1-1.1 usb0: host=1-1.1
``` ```
### Master Node - network configuration ### casa - control Plane - network configuration
``` bash ``` bash
ip a # check ethernet name ip a # check ethernet name
@@ -176,10 +181,10 @@ EOF
``` ```
### Master Node - k3s setup ### casa - control Plane - k3s setup
``` bash ``` 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:** **Taint NoSchedule on master node:**
@@ -223,6 +228,7 @@ sockets: 1
| **VLAN** | casa | | **VLAN** | casa |
| **IP** | 192.168.14.10 | | **IP** | 192.168.14.10 |
| **OS** | Debian GNU/Linux 12 (bookworm) | | **OS** | Debian GNU/Linux 12 (bookworm) |
| **KERNEL** | 6.1.0-44-amd64 |
### casa-minion-01 - k3s - setup ### casa-minion-01 - k3s - setup
@@ -231,8 +237,8 @@ sockets: 1
# execute on server to get token # execute on server to get token
# cat /var/lib/rancher/k3s/server/node-token # cat /var/lib/rancher/k3s/server/node-token
K3S_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 - 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. Change kubectl -n kube-system edit configmap local-path-config on kube-system to set path to provisioner.
@@ -22,7 +22,7 @@ spec:
### Maintained by flux - Image Update Automation ### Maintained by flux - Image Update Automation
image: koenkk/zigbee2mqtt:latest@sha256:1debff565ab6841417bd9f7ce8ad44f8c5f25a8b02a24ce3fd79e4779a4763a5 # {"$imagepolicy": "mqtt:zigbee2mqtt"} image: koenkk/zigbee2mqtt:latest@sha256:1debff565ab6841417bd9f7ce8ad44f8c5f25a8b02a24ce3fd79e4779a4763a5 # {"$imagepolicy": "mqtt:zigbee2mqtt"}
### ###
imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name: zigbee2mqtt-data - name: zigbee2mqtt-data
mountPath: /app/data mountPath: /app/data