From e63fd199ecc9e4ddcfbb00d2112a9875fbc7e100 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 6 Sep 2025 08:10:28 -0500 Subject: [PATCH] firefly-iii: Prefer running on amd64 nodes Although Firefly III works on a Raspberry Pi, a few things are pretty slow. Notably, the search feature takes a really long time to return any results, which is particularly annoying when trying to add a receipt via the Receipts app. Adding a node affinity rule to prefer running on an x86_64 machine will ensure that it runs fast whenever possible, but can fall back to running on a Rasperry Pi if necessary. --- firefly-iii/kustomization.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/firefly-iii/kustomization.yaml b/firefly-iii/kustomization.yaml index b535270..969c80b 100644 --- a/firefly-iii/kustomization.yaml +++ b/firefly-iii/kustomization.yaml @@ -36,6 +36,16 @@ patches: spec: template: spec: + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + preference: + matchExpressions: + - key: kubernetes.io/arch + operator: In + values: + - amd64 containers: - name: firefly-iii volumeMounts: