chore: update nodeSelector in helm values
- Remove specific hostname constraint from nodeSelector for various components and add region and datacenter keys. This change allows more flexible scheduling of pods across available nodes by removing the fixed hostname requirement. It introduces the ability to distribute workloads based on region and data center while maintaining functional consistency across the Kubernetes deployment.
This commit is contained in:
parent
8d69e8ff45
commit
ae8bb36d48
@ -74,7 +74,9 @@ api:
|
||||
replicas: 1
|
||||
resources: {}
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
autoscaling:
|
||||
@ -244,7 +246,9 @@ worker:
|
||||
replicas: 1
|
||||
resources: {}
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
autoscaling:
|
||||
@ -301,7 +305,9 @@ proxy:
|
||||
replicas: 1
|
||||
resources: {}
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
## Configure extra options for proxy containers' liveness, readiness, and startup probes
|
||||
@ -372,7 +378,9 @@ web:
|
||||
replicas: 1
|
||||
resources: {}
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
autoscaling:
|
||||
@ -448,7 +456,9 @@ sandbox:
|
||||
replicas: 1
|
||||
resources: {}
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
autoscaling:
|
||||
@ -529,7 +539,9 @@ ssrfProxy:
|
||||
replicas: 1
|
||||
resources: {}
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
## Configure extra options for ssrf proxy containers' liveness, readiness, and startup probes
|
||||
@ -598,7 +610,9 @@ pluginDaemon:
|
||||
replicas: 1
|
||||
resources: {}
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
## Configure extra options for plugin daemon containers' liveness, readiness, and startup probes
|
||||
@ -705,7 +719,9 @@ postgresql:
|
||||
size: 8Gi
|
||||
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
## @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
|
||||
@ -1126,7 +1142,9 @@ weaviate:
|
||||
annotations:
|
||||
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
|
||||
tolerations:
|
||||
|
||||
@ -1188,7 +1206,9 @@ resources:
|
||||
# If set, this will apply to all dify components
|
||||
# Individual components can be set to a different node selector
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
|
||||
# Global tolerations
|
||||
# If set, this will apply to all dify components
|
||||
@ -1557,7 +1577,10 @@ redis:
|
||||
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
|
||||
## @param master.tolerations Tolerations for Redis® master pods assignment
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
@ -1975,7 +1998,9 @@ redis:
|
||||
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
#kubernetes.io/hostname: vkvm-us1
|
||||
region: us
|
||||
dc: vkus
|
||||
## @param replica.tolerations Tolerations for Redis® replicas pods assignment
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
|
Loading…
Reference in New Issue
Block a user