FEAT(postgresql): add master node toleration
- to PostgreSQL - Allows postgresql pods to run on master with NoExecute taint - Required because PV is on master node
This commit is contained in:
@@ -68,6 +68,10 @@ spec:
|
||||
# Affinity to spread replicas across nodes
|
||||
affinity:
|
||||
podAntiAffinityType: required
|
||||
tolerations:
|
||||
- key: "node-role.kubernetes.io/master"
|
||||
operator: "Exists"
|
||||
effect: "NoExecute"
|
||||
|
||||
# Enable superuser access
|
||||
enableSuperuserAccess: true
|
||||
|
||||
Reference in New Issue
Block a user