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
fix(chart): missing resources on volume statefulset initContainer (#8678)
hoppla20d79e82ee60ac
diff --git a/k8s/charts/seaweedfs/templates/volume/volume-statefulset.yaml b/k8s/charts/seaweedfs/templates/volume/volume-statefulset.yamlindex 8bb9048730..1ef97088ca 100644--- a/k8s/charts/seaweedfs/templates/volume/volume-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/volume/volume-statefulset.yaml@@ -86,6 +86,10 @@ spec:- name: {{ $dir.name }}mountPath: /{{ $dir.name }}{{- end }}+ {{- with $volume.idxVolMoveResources }}+ resources:+ {{- toYaml . | nindent 12 }}+ {{- end }}{{- if $volume.containerSecurityContext.enabled }}securityContext: {{- omit $volume.containerSecurityContext "enabled" | toYaml | nindent 12 }}{{- end }}diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex a7916cf306..364334c164 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -393,6 +393,12 @@ volume:idx: {}+ # Resource requests, limits, etc. for the vol-move-idx initContainer. This+ # should map directly to the value of the resources field for a PodSpec,+ # formatted as a multi-line string. By default no direct resource request+ # is made.+ idxVolMoveResources: {}+logs: {}# limit background compaction or copying speed in mega bytes per second