|
|
|
@ -1144,6 +1144,24 @@ admin: |
|
|
|
## Set podManagementPolicy |
|
|
|
podManagementPolicy: Parallel |
|
|
|
|
|
|
|
# Affinity Settings |
|
|
|
# Commenting out or setting as empty the affinity variable, will allow |
|
|
|
# deployment to single node services such as Minikube |
|
|
|
affinity: | |
|
|
|
podAntiAffinity: |
|
|
|
requiredDuringSchedulingIgnoredDuringExecution: |
|
|
|
- labelSelector: |
|
|
|
matchLabels: |
|
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
app.kubernetes.io/component: admin |
|
|
|
topologyKey: kubernetes.io/hostname |
|
|
|
|
|
|
|
# Topology Spread Constraints Settings |
|
|
|
# This should map directly to the value of the topologySpreadConstraints |
|
|
|
# for a PodSpec. By Default no constraints are set. |
|
|
|
topologySpreadConstraints: "" |
|
|
|
|
|
|
|
resources: {} |
|
|
|
tolerations: "" |
|
|
|
nodeSelector: "" |
|
|
|
@ -1243,6 +1261,25 @@ worker: |
|
|
|
podLabels: {} |
|
|
|
podAnnotations: {} |
|
|
|
annotations: {} |
|
|
|
|
|
|
|
# Affinity Settings |
|
|
|
# Commenting out or setting as empty the affinity variable, will allow |
|
|
|
# deployment to single node services such as Minikube |
|
|
|
affinity: | |
|
|
|
podAntiAffinity: |
|
|
|
requiredDuringSchedulingIgnoredDuringExecution: |
|
|
|
- labelSelector: |
|
|
|
matchLabels: |
|
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
app.kubernetes.io/component: worker |
|
|
|
topologyKey: kubernetes.io/hostname |
|
|
|
|
|
|
|
# Topology Spread Constraints Settings |
|
|
|
# This should map directly to the value of the topologySpreadConstraints |
|
|
|
# for a PodSpec. By Default no constraints are set. |
|
|
|
topologySpreadConstraints: "" |
|
|
|
|
|
|
|
resources: |
|
|
|
requests: |
|
|
|
cpu: "500m" |
|
|
|
|