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.
This commit is contained in:
@@ -52,6 +52,16 @@ spec:
|
|||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: home-assistant
|
||||||
app.kubernetes.io/part-of: home-assistant
|
app.kubernetes.io/part-of: home-assistant
|
||||||
spec:
|
spec:
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- weight: 100
|
||||||
|
preference:
|
||||||
|
matchExpressions:
|
||||||
|
- key: kubernetes.io/arch
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- arm64
|
||||||
containers:
|
containers:
|
||||||
- name: home-assistant
|
- name: home-assistant
|
||||||
image: ghcr.io/home-assistant/home-assistant:2023.10.3
|
image: ghcr.io/home-assistant/home-assistant:2023.10.3
|
||||||
|
|||||||
Reference in New Issue
Block a user