Temporarily disable vault node-affinity
This commit is contained in:
parent
800bfa736b
commit
7ef764c178
1 changed files with 9 additions and 1 deletions
|
|
@ -16,8 +16,16 @@ spec:
|
|||
spec:
|
||||
serviceAccountName: vault # Allows k8s auth for autounsealing
|
||||
terminationGracePeriodSeconds: 10
|
||||
# Force pods onto different physical server nodes
|
||||
affinity:
|
||||
# 1. Pin the pods strictly to K3s server nodes
|
||||
# nodeAffinity:
|
||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||
# nodeSelectorTerms:
|
||||
# - matchExpressions:
|
||||
# - key: node-role.kubernetes.io/control-plane
|
||||
# operator: Exists
|
||||
|
||||
# 2. Force those pods onto different physical server nodes
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue