7 Commits

Author SHA1 Message Date
Roger Oriol
9eb425f7f5 merge 2026-07-28 23:02:08 +02:00
Roger Oriol
6970313822 fix homeassistant not being able to see scripts saved 2026-07-28 23:01:22 +02:00
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

@@ -29,6 +29,12 @@ data:
# Loads default set of integrations # Loads default set of integrations
default_config: default_config:
# Load UI-edited scripts from /config/scripts.yaml (YAML mode). Without this
# line, default_config runs the script integration in storage mode and the
# Scripts editor has no file to write back to, so saving scripts from the UI
# appears to fail / scripts never load.
script: !include scripts.yaml
http: http:
use_x_forwarded_for: true use_x_forwarded_for: true
trusted_proxies: trusted_proxies:
@@ -52,15 +58,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 +109,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