Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

chore: keep master statefulSet chart up-to-date (#6903)

Yixing Cheng5a7d226d9320
diff --git a/k8s/charts/seaweedfs/Chart.yaml b/k8s/charts/seaweedfs/Chart.yaml
index 72bc137728..1e0b7b3b0c 100644
--- a/k8s/charts/seaweedfs/Chart.yaml
+++ b/k8s/charts/seaweedfs/Chart.yaml
@@ -3,4 +3,4 @@ description: SeaweedFS
name: seaweedfs
appVersion: "3.91"
# Dev note: Trigger a helm chart release by `git tag -a helm-<version>`
-version: 4.0.391
+version: 4.0.392
diff --git a/k8s/charts/seaweedfs/templates/master-statefulset.yaml b/k8s/charts/seaweedfs/templates/master-statefulset.yaml
index 2a8921f471..4eb709559f 100644
--- a/k8s/charts/seaweedfs/templates/master-statefulset.yaml
+++ b/k8s/charts/seaweedfs/templates/master-statefulset.yaml
@@ -164,8 +164,20 @@ spec:
{{- if .Values.master.disableHttp }}
-disableHttp \
{{- end }}
- {{- if .Values.master.pulseSeconds }}
- -pulseSeconds={{ .Values.master.pulseSeconds }} \
+ {{- if .Values.master.resumeState }}
+ -resumeState \
+ {{- end }}
+ {{- if .Values.master.raftHashicorp }}
+ -raftHashicorp \
+ {{- end }}
+ {{- if .Values.master.raftBootstrap }}
+ -raftBootstrap \
+ {{- end }}
+ {{- if .Values.master.electionTimeout }}
+ -electionTimeout={{ .Values.master.electionTimeout }} \
+ {{- end }}
+ {{- if .Values.master.heartbeatInterval }}
+ -heartbeatInterval={{ .Values.master.heartbeatInterval }} \
{{- end }}
{{- if .Values.master.garbageThreshold }}
-garbageThreshold={{ .Values.master.garbageThreshold }} \
diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml
index 4a8b60e3fe..53cc7ef7f3 100644
--- a/k8s/charts/seaweedfs/values.yaml
+++ b/k8s/charts/seaweedfs/values.yaml
@@ -61,8 +61,6 @@ master:
volumePreallocate: false
volumeSizeLimitMB: 1000
loggingOverrideLevel: null
- # number of seconds between heartbeats, default 5
- pulseSeconds: null
# threshold to vacuum and reclaim spaces, default 0.3 (30%)
garbageThreshold: null
# Prometheus push interval in seconds, default 15
@@ -76,6 +74,18 @@ master:
# Disable http request, only gRpc operations are allowed
disableHttp: false
+ # Resume previous state on start master server
+ resumeState: false
+ # Use Hashicorp Raft
+ raftHashicorp: false
+ # Whether to bootstrap the Raft cluster. Only use it when use Hashicorp Raft
+ raftBootstrap: false
+
+ # election timeout of master servers
+ electionTimeout: "10s"
+ # heartbeat interval of master servers, and will be randomly multiplied by [1, 1.25)
+ heartbeatInterval: "300ms"
+
# Custom command line arguments to add to the master command
# Example to fix IPv6 metrics connectivity issues:
# extraArgs: ["-metricsIp", "0.0.0.0"]