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 to spread replicas across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinityType: required
|
podAntiAffinityType: required
|
||||||
|
tolerations:
|
||||||
|
- key: "node-role.kubernetes.io/master"
|
||||||
|
operator: "Exists"
|
||||||
|
effect: "NoExecute"
|
||||||
|
|
||||||
# Enable superuser access
|
# Enable superuser access
|
||||||
enableSuperuserAccess: true
|
enableSuperuserAccess: true
|
||||||
|
|||||||
Reference in New Issue
Block a user