Browse Source
chore: keep master statefulSet chart up-to-date (#6903)
This patch adds some missing master options to the helm chart of master statefulSet.
pull/6905/head
Yixing Cheng
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
27 additions and
5 deletions
-
k8s/charts/seaweedfs/Chart.yaml
-
k8s/charts/seaweedfs/templates/master-statefulset.yaml
-
k8s/charts/seaweedfs/values.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 |
|
|
@ -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 }} \ |
|
|
|
|
|
@ -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"] |
|
|
|