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
feature/add-cosi-resources (#6638)
klinch0ffe6d928e3b6
diff --git a/k8s/charts/seaweedfs/Chart.yaml b/k8s/charts/seaweedfs/Chart.yamlindex 6f20d7a748..9d893a980e 100644--- a/k8s/charts/seaweedfs/Chart.yaml+++ b/k8s/charts/seaweedfs/Chart.yaml@@ -3,4 +3,4 @@ description: SeaweedFSname: seaweedfsappVersion: "3.85"# Dev note: Trigger a helm chart release by `git tag -a helm-<version>`-version: 4.0.385+version: 4.0.386diff --git a/k8s/charts/seaweedfs/templates/cosi-deployment.yaml b/k8s/charts/seaweedfs/templates/cosi-deployment.yamlindex 84b537eba5..0e2e194776 100644--- a/k8s/charts/seaweedfs/templates/cosi-deployment.yaml+++ b/k8s/charts/seaweedfs/templates/cosi-deployment.yaml@@ -140,6 +140,10 @@ spec:mountPath: /usr/local/share/ca-certificates/client/{{- end }}{{ tpl .Values.cosi.extraVolumeMounts . | nindent 12 | trim }}+ {{- with .Values.cosi.resources }}+ resources:+ {{- toYaml . | nindent 12 }}+ {{- end }}- name: seaweedfs-cosi-sidecarimage: "{{ .Values.cosi.sidecar.image }}"imagePullPolicy: {{ default "IfNotPresent" .Values.global.imagePullPolicy }}@@ -153,7 +157,7 @@ spec:volumeMounts:- mountPath: /var/lib/cosiname: socket- {{- with .Values.cosi.resources }}+ {{- with .Values.cosi.sidecar.resources }}resources:{{- toYaml . | nindent 12 }}{{- end }}diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex 2269900ee9..f2ed59b8b7 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -962,6 +962,11 @@ cosi:sidecar:image: gcr.io/k8s-staging-sig-storage/objectstorage-sidecar/objectstorage-sidecar:v20230130-v0.1.0-24-gc0cf995+ # Resource requests, limits, etc. for the server cluster placement. 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.+ resources: {}# enable user & permission to s3 (need to inject to all services)enableAuth: false@@ -975,6 +980,12 @@ cosi:extraVolumes: ""extraVolumeMounts: ""+ # Resource requests, limits, etc. for the server cluster placement. 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.+ resources: {}+certificates:commonName: "SeaweedFS CA"ipAddresses: []