Exclude robing from upgrade plan. Move vault node affinity to server nodes

This commit is contained in:
Astra Logical 2026-06-11 15:53:28 -04:00
parent e9d9475d0a
commit 1fb9fbc5b0
2 changed files with 10 additions and 6 deletions

View file

@ -31,6 +31,10 @@ spec:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
- key: kubernetes.io/hostname
operator: NotIn
values:
- robin
prepare:
args:
- prepare

View file

@ -18,12 +18,12 @@ spec:
terminationGracePeriodSeconds: 10
affinity:
# 1. Pin the pods strictly to K3s server nodes
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: node-role.kubernetes.io/control-plane
# operator: Exists
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
# 2. Force those pods onto different physical server nodes
podAntiAffinity: