From d266086c1b8819fc1f4117ee0899f2d2e0e37cad Mon Sep 17 00:00:00 2001 From: Hermes Platform Engineer Date: Tue, 28 Jul 2026 09:01:06 +0000 Subject: [PATCH 1/4] fix(homeassistant): pin image to 2026.7.4 to avoid cffi version mismatch with Python 3.14 --- homeassistant/homeassistant.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/homeassistant.yaml b/homeassistant/homeassistant.yaml index 06a5c2f..527fc1a 100644 --- a/homeassistant/homeassistant.yaml +++ b/homeassistant/homeassistant.yaml @@ -55,7 +55,7 @@ spec: spec: containers: - name: home-assistant - image: ghcr.io/home-assistant/home-assistant:stable + image: ghcr.io/home-assistant/home-assistant:2026.7.4 resources: requests: memory: "512Mi" From 2f1ae311f790a5c53e4341e71e6a1b56e94b1cfc Mon Sep 17 00:00:00 2001 From: Hermes Platform Engineer Date: Tue, 28 Jul 2026 12:58:19 +0000 Subject: [PATCH 2/4] fix(homeassistant): reduce memory requests to 256Mi, add node affinity for raspberrypi Node roger-nucbox-evo-x2 is at 3.78% memory free causing home-assistant pods to flap Pending/Running. Reduce resource requests to fit within cluster capacity and prefer scheduling on raspberrypi (63% mem free). --- homeassistant/homeassistant.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/homeassistant/homeassistant.yaml b/homeassistant/homeassistant.yaml index 527fc1a..87a5b7f 100644 --- a/homeassistant/homeassistant.yaml +++ b/homeassistant/homeassistant.yaml @@ -58,9 +58,9 @@ spec: image: ghcr.io/home-assistant/home-assistant:2026.7.4 resources: requests: - memory: "512Mi" + memory: "256Mi" limits: - memory: "1Gi" + memory: "512Mi" ports: - containerPort: 8123 volumeMounts: @@ -101,6 +101,16 @@ spec: - name: configuration mountPath: /config-cm readOnly: true + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + preference: + matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - raspberrypi hostNetwork: true volumes: - name: config From 6967925c4ff66fd8b12d97c0a3629c747f576339 Mon Sep 17 00:00:00 2001 From: Hermes Platform Engineer Date: Tue, 28 Jul 2026 13:11:08 +0000 Subject: [PATCH 3/4] fix(homeassistant): add restartedAt annotation to trigger rollout and clean up stale Pending pod The old ReplicaSet 789f79897c left a Pending pod (home-assistant-789f79897c-plf7n) because the nucbox node is at 95.9% memory. Adding restartedAt annotation to trigger a fresh rollout so the new ReplicaSet takes over. --- homeassistant/homeassistant.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/homeassistant.yaml b/homeassistant/homeassistant.yaml index 527fc1a..dbf31de 100644 --- a/homeassistant/homeassistant.yaml +++ b/homeassistant/homeassistant.yaml @@ -52,6 +52,8 @@ spec: metadata: labels: app: home-assistant + annotations: + kubectl.kubernetes.io/restartedAt: "2026-07-28T00:00:00Z" spec: containers: - name: home-assistant From 9a230d03c98bc3b1b44eba129107ebba7a9873c7 Mon Sep 17 00:00:00 2001 From: Hermes Platform Engineer Date: Tue, 28 Jul 2026 19:22:16 +0000 Subject: [PATCH 4/4] Merge fix(homeassistant): reduce memory requests + clean up restartedAt annotation