Introduce named volumes in Helm chart (#6972)
This commit is contained in:
@@ -191,7 +191,7 @@ master:
|
||||
# Topology Spread Constraints Settings
|
||||
# This should map directly to the value of the topologySpreadConstraints
|
||||
# for a PodSpec. By Default no constraints are set.
|
||||
topologySpreadConstraints: null
|
||||
topologySpreadConstraints: ""
|
||||
|
||||
# Toleration Settings for master pods
|
||||
# This should be a multi-line string matching the Toleration array
|
||||
@@ -456,13 +456,13 @@ volume:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/component: volume
|
||||
app.kubernetes.io/component: {{ $volumeName }}
|
||||
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: null
|
||||
topologySpreadConstraints: ""
|
||||
|
||||
# Resource requests, limits, etc. for the server cluster placement. This
|
||||
# should map directly to the value of the resources field for a PodSpec,
|
||||
@@ -538,6 +538,31 @@ volume:
|
||||
failureThreshold: 100
|
||||
timeoutSeconds: 30
|
||||
|
||||
# Map of named volume groups for topology-aware deployments.
|
||||
# Each key inherits all fields from the `volume` section but can override
|
||||
# them locally—for example, replicas, nodeSelector, dataCenter, etc.
|
||||
# To switch entirely to this scheme, set `volume.enabled: false`
|
||||
# and define one entry per zone/data-center under `volumes`.
|
||||
#
|
||||
# volumes:
|
||||
# dc1:
|
||||
# replicas: 2
|
||||
# dataCenter: "dc1"
|
||||
# nodeSelector: |
|
||||
# topology.kubernetes.io/zone: dc1
|
||||
# dc2:
|
||||
# replicas: 2
|
||||
# dataCenter: "dc2"
|
||||
# nodeSelector: |
|
||||
# topology.kubernetes.io/zone: dc2
|
||||
# dc3:
|
||||
# replicas: 2
|
||||
# dataCenter: "dc3"
|
||||
# nodeSelector: |
|
||||
# topology.kubernetes.io/zone: dc3
|
||||
#
|
||||
volumes: {}
|
||||
|
||||
filer:
|
||||
enabled: true
|
||||
imageOverride: null
|
||||
@@ -690,7 +715,7 @@ filer:
|
||||
# Topology Spread Constraints Settings
|
||||
# This should map directly to the value of the topologySpreadConstraints
|
||||
# for a PodSpec. By Default no constraints are set.
|
||||
topologySpreadConstraints: null
|
||||
topologySpreadConstraints: ""
|
||||
|
||||
# updatePartition is used to control a careful rolling update of SeaweedFS
|
||||
# masters.
|
||||
@@ -1146,7 +1171,7 @@ allInOne:
|
||||
# Topology Spread Constraints Settings
|
||||
# This should map directly to the value of the topologySpreadConstraints
|
||||
# for a PodSpec. By Default no constraints are set.
|
||||
topologySpreadConstraints: null
|
||||
topologySpreadConstraints: ""
|
||||
|
||||
# Toleration Settings for master pods
|
||||
# This should be a multi-line string matching the Toleration array
|
||||
|
||||
Reference in New Issue
Block a user