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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
[helm] fix log to stderr and default host for ingress (#4787)
Dmitriy Pavlov3d45ecd326c4
diff --git a/k8s/charts/seaweedfs/templates/ingress.yaml b/k8s/charts/seaweedfs/templates/ingress.yamlindex ab46253fdf..183cf1a23d 100644--- a/k8s/charts/seaweedfs/templates/ingress.yaml+++ b/k8s/charts/seaweedfs/templates/ingress.yaml@@ -17,8 +17,7 @@ spec:tls:{{ .Values.filer.ingress.tls | default list | toYaml | nindent 6}}rules:- - host: {{ .Values.filer.ingress.host }}- http:+ - http:paths:- path: /sw-filer/?(.*)pathType: ImplementationSpecific@@ -33,6 +32,9 @@ spec:serviceName: {{ template "seaweedfs.name" . }}-filerservicePort: {{ .Values.filer.port }}{{- end }}+{{- if .Values.filer.ingress.host }}+ host: {{ .Values.filer.ingress.host }}+{{- end }}{{- end }}---{{- if .Values.master.ingress.enabled }}@@ -52,8 +54,7 @@ metadata:spec:ingressClassName: {{ .Values.master.ingress.className | quote }}rules:- - host: {{ .Values.master.ingress.host }}- http:+ - http:paths:- path: /sw-master/?(.*)pathType: ImplementationSpecific@@ -68,4 +69,7 @@ spec:serviceName: {{ template "seaweedfs.name" . }}-masterservicePort: {{ .Values.master.port }}{{- end }}+{{- if .Values.filer.ingress.host }}+ host: {{ .Values.master.ingress.host }}+{{- end }}{{- end }}diff --git a/k8s/charts/seaweedfs/templates/s3-deployment.yaml b/k8s/charts/seaweedfs/templates/s3-deployment.yamlindex d0d56d0ef6..2040e71612 100644--- a/k8s/charts/seaweedfs/templates/s3-deployment.yaml+++ b/k8s/charts/seaweedfs/templates/s3-deployment.yaml@@ -107,8 +107,10 @@ spec:{{- end }}-filer={{ template "seaweedfs.name" . }}-filer-client.{{ .Release.Namespace }}:{{ .Values.filer.port }}volumeMounts:+ {{- if eq .Values.s3.logs.type "hostPath" }}- name: logsmountPath: "/logs/"+ {{- end }}- mountPath: /etc/swname: config-usersreadOnly: truediff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex 8a41481021..165be23f37 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -127,6 +127,7 @@ master:ingress:enabled: falseclassName: "nginx"+ # host: false for "*" hostnamehost: "master.seaweedfs.local"annotations:nginx.ingress.kubernetes.io/auth-type: "basic"@@ -375,6 +376,7 @@ filer:ingress:enabled: falseclassName: "nginx"+ # host: false for "*" hostnamehost: "seaweedfs.cluster.local"annotations:nginx.ingress.kubernetes.io/backend-protocol: GRPC