5 Commits

Author SHA1 Message Date
Hermes Platform Engineer
9a230d03c9 Merge fix(homeassistant): reduce memory requests + clean up restartedAt annotation 2026-07-28 19:22:16 +00:00
Hermes Platform Engineer
71f724420e Merge fix(homeassistant): memory reduction with restart annotation cleanup 2026-07-28 19:22:16 +00:00
Hermes Platform Engineer
6967925c4f 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.
2026-07-28 13:11:08 +00:00
Hermes Platform Engineer
2f1ae311f7 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).
2026-07-28 12:58:19 +00:00
7ca919b7c7 Merge pull request 'fix(homeassistant): pin image to 2026.7.4 to avoid cffi version mismatch' (#28) from fix/homeassistant-pin-version into main
Reviewed-on: #28
2026-07-28 11:07:26 +02:00

View File

@@ -52,15 +52,17 @@ spec:
metadata: metadata:
labels: labels:
app: home-assistant app: home-assistant
annotations:
kubectl.kubernetes.io/restartedAt: "2026-07-28T00:00:00Z"
spec: spec:
containers: containers:
- name: home-assistant - name: home-assistant
image: ghcr.io/home-assistant/home-assistant:2026.7.4 image: ghcr.io/home-assistant/home-assistant:2026.7.4
resources: resources:
requests: requests:
memory: "512Mi" memory: "256Mi"
limits: limits:
memory: "1Gi" memory: "512Mi"
ports: ports:
- containerPort: 8123 - containerPort: 8123
volumeMounts: volumeMounts:
@@ -101,6 +103,16 @@ spec:
- name: configuration - name: configuration
mountPath: /config-cm mountPath: /config-cm
readOnly: true readOnly: true
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- raspberrypi
hostNetwork: true hostNetwork: true
volumes: volumes:
- name: config - name: config