fix(scheduling): pin portainer+forgejo-runner to az-a, add nodeSelector to runner chart template — WFFC alone insufficient with single Longhorn node (cp-1 only)

This commit is contained in:
Story Crater Bot
2026-07-20 23:51:46 -07:00
parent e0b24c83d0
commit 7fb73d6a4c
3 changed files with 14 additions and 0 deletions
@@ -51,3 +51,8 @@ tolerations:
- key: node-role.kubernetes.io/control-plane - key: node-role.kubernetes.io/control-plane
operator: Exists operator: Exists
effect: NoSchedule effect: NoSchedule
# Pin to az-a (talos-cp-1) — sole Longhorn storage node. Its RWO PVC can only
# attach there; without this the pod may land on cp-2/cp-3 and fail to mount.
nodeSelector:
topology.kubernetes.io/zone: az-a
@@ -19,6 +19,10 @@ spec:
spec: spec:
tolerations: tolerations:
{{- toYaml .Values.tolerations | nindent 8 }} {{- toYaml .Values.tolerations | nindent 8 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers: initContainers:
- name: register - name: register
@@ -40,3 +40,8 @@ tolerations:
- key: node-role.kubernetes.io/control-plane - key: node-role.kubernetes.io/control-plane
operator: Exists operator: Exists
effect: NoSchedule effect: NoSchedule
# Pin to az-a (talos-cp-1) — sole Longhorn node; RWO PVCs (reg/dind cache) only
# attach there.
nodeSelector:
topology.kubernetes.io/zone: az-a