Exclude robing from upgrade plan. Move vault node affinity to server nodes
This commit is contained in:
parent
e9d9475d0a
commit
1fb9fbc5b0
2 changed files with 10 additions and 6 deletions
|
|
@ -31,6 +31,10 @@ spec:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
operator: DoesNotExist
|
operator: DoesNotExist
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: NotIn
|
||||||
|
values:
|
||||||
|
- robin
|
||||||
prepare:
|
prepare:
|
||||||
args:
|
args:
|
||||||
- prepare
|
- prepare
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,12 @@ spec:
|
||||||
terminationGracePeriodSeconds: 10
|
terminationGracePeriodSeconds: 10
|
||||||
affinity:
|
affinity:
|
||||||
# 1. Pin the pods strictly to K3s server nodes
|
# 1. Pin the pods strictly to K3s server nodes
|
||||||
# nodeAffinity:
|
nodeAffinity:
|
||||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
# nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
# - matchExpressions:
|
- matchExpressions:
|
||||||
# - key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
# operator: Exists
|
operator: Exists
|
||||||
|
|
||||||
# 2. Force those pods onto different physical server nodes
|
# 2. Force those pods onto different physical server nodes
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue