3 Commits

Author SHA1 Message Date
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
Hermes Platform Engineer
d266086c1b fix(homeassistant): pin image to 2026.7.4 to avoid cffi version mismatch with Python 3.14 2026-07-28 09:01:06 +00:00

View File

@@ -55,12 +55,12 @@ spec:
spec: spec:
containers: containers:
- name: home-assistant - name: home-assistant
image: ghcr.io/home-assistant/home-assistant:stable 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 +101,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