Skip to content

Commit

Permalink
Explicitly Include Affinity & Toleration Options in PostgresSQL (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shomu-Maersk authored May 27, 2024
1 parent 93e1eaf commit 0a2f029
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions charts/dify/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,17 @@ postgresql:
- ReadWriteOnce
size: 8Gi

## @param primary.affinity Affinity for PostgreSQL primary pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: primary.podAffinityPreset, primary.podAntiAffinityPreset, and primary.nodeAffinityPreset will be ignored when it's set
##
affinity: {}

## @param primary.tolerations Tolerations for PostgreSQL primary pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []

## @section PostgreSQL read only replica parameters (only used when `architecture` is set to `replication`)
##
readReplicas:
Expand All @@ -302,6 +313,17 @@ postgresql:
- ReadWriteOnce
size: 8Gi

## @param readReplicas.affinity Affinity for PostgreSQL read only pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: primary.podAffinityPreset, primary.podAntiAffinityPreset, and primary.nodeAffinityPreset will be ignored when it's set
##
affinity: {}

## @param readReplicas.tolerations Tolerations for PostgreSQL read only pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []


weaviate:
enabled: true
Expand Down

0 comments on commit 0a2f029

Please sign in to comment.