From 7b440c44ec1d3dd33607c754120ef544c5e78b97 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 27 Jul 2025 18:35:07 -0500 Subject: [PATCH] h-a: Prefer running on a Raspberry Pi Now that we have Raspberry Pi CM4 worker nodes, let's configure Home Assistant to run on one, since it's pretty much designed to. --- home-assistant/home-assistant.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home-assistant/home-assistant.yaml b/home-assistant/home-assistant.yaml index ed38d62..f055552 100644 --- a/home-assistant/home-assistant.yaml +++ b/home-assistant/home-assistant.yaml @@ -52,6 +52,16 @@ spec: app.kubernetes.io/name: home-assistant app.kubernetes.io/part-of: home-assistant spec: + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + preference: + matchExpressions: + - key: kubernetes.io/arch + operator: In + values: + - arm64 containers: - name: home-assistant image: ghcr.io/home-assistant/home-assistant:2023.10.3