fix(logging): pin grafana + loki to az-a (talos-cp-1) — sole Longhorn node, PVC fails to attach on cp-2/cp-3

This commit is contained in:
Story Crater Bot
2026-07-20 23:04:19 -07:00
parent 3a95f57b8f
commit 42cd0204fa
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -157,6 +157,18 @@ tolerations:
operator: Exists
effect: NoSchedule
# Pin to az-a (talos-cp-1) — the only node running Longhorn. Without this the
# scheduler may place grafana on cp-2/cp-3, where its Longhorn PVC cannot attach
# ("CSINode does not contain driver driver.longhorn.io").
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: topology.kubernetes.io/zone
operator: In
values: [az-a]
# ClusterIP only — access via ingress (grafana.riotpiao.com) or port-forward.
service:
type: ClusterIP