Browse Source

Helm Charts: add ip bind for filer (#6902)

add ip bind for filer

fix https://github.com/seaweedfs/seaweedfs/issues/6900
pull/6903/head
Chris Lu 4 months ago
committed by GitHub
parent
commit
2b3385e201
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      k8s/charts/seaweedfs/templates/filer-statefulset.yaml
  2. 3
      k8s/charts/seaweedfs/values.yaml

1
k8s/charts/seaweedfs/templates/filer-statefulset.yaml

@ -190,6 +190,7 @@ spec:
-encryptVolumeData \ -encryptVolumeData \
{{- end }} {{- end }}
-ip=${POD_IP} \ -ip=${POD_IP} \
-ip.bind={{ .Values.filer.ipBind }} \
{{- if .Values.filer.filerGroup}} {{- if .Values.filer.filerGroup}}
-filerGroup={{ .Values.filer.filerGroup}} \ -filerGroup={{ .Values.filer.filerGroup}} \
{{- end }} {{- end }}

3
k8s/charts/seaweedfs/values.yaml

@ -536,7 +536,8 @@ filer:
port: 8888 port: 8888
grpcPort: 18888 grpcPort: 18888
metricsPort: 9327 metricsPort: 9327
metricsIp: "" # Metrics listen IP. If empty, defaults to bindIp
metricsIp: "" # Metrics listen IP. If empty, defaults to ipBind
ipBind: "0.0.0.0" # IP address to bind to. Set to 0.0.0.0 to allow external traffic
loggingOverrideLevel: null loggingOverrideLevel: null
filerGroup: "" filerGroup: ""
# prefer to read and write to volumes in this data center (not set by default) # prefer to read and write to volumes in this data center (not set by default)

Loading…
Cancel
Save