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
s3 logs
LazyDBA247-Anyvisione57e6d667702
diff --git a/k8s/seaweedfs/templates/s3-deployment.yaml b/k8s/seaweedfs/templates/s3-deployment.yamlindex 794d4da30b..46bf91d858 100644--- a/k8s/seaweedfs/templates/s3-deployment.yaml+++ b/k8s/seaweedfs/templates/s3-deployment.yaml@@ -69,7 +69,7 @@ spec:- "/bin/sh"- "-ec"- |- exec /usr/bin/weed \+ exec /usr/bin/weed -logdir=/logs \{{- if .Values.s3.loggingOverrideLevel }}-v={{ .Values.s3.loggingOverrideLevel }} \{{- else }}@@ -92,6 +92,8 @@ spec:{{- end }}-filer={{ template "seaweedfs.name" . }}-filer-client:{{ .Values.filer.port }}volumeMounts:+ - name: logs+ mountPath: "/logs/"{{- if .Values.global.enableSecurity }}- name: security-configreadOnly: true@@ -143,6 +145,12 @@ spec:{{ tpl .Values.s3.resources . | nindent 12 | trim }}{{- end }}volumes:+ {{- if eq .Values.s3.logs.type "hostPath" }}+ - name: logs+ hostPath:+ path: /storage/logs/seaweedfs/s3+ type: DirectoryOrCreate+ {{- end }}{{- if .Values.global.enableSecurity }}- name: security-configconfigMap:diff --git a/k8s/seaweedfs/values.yaml b/k8s/seaweedfs/values.yamlindex 632bbd4406..cdb9437eea 100644--- a/k8s/seaweedfs/values.yaml+++ b/k8s/seaweedfs/values.yaml@@ -351,6 +351,11 @@ s3:# ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/priorityClassName: ""+ logs:+ type: "hostPath"+ size: ""+ storageClass: ""+cronjob:enabled: falseschedule: "*/7 * * * *"