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
feat(k8s): added possibility to specify service.type for multiple ser… (#8372)
Andreas Røste79f4a4579f50
diff --git a/k8s/charts/seaweedfs/templates/s3/s3-service.yaml b/k8s/charts/seaweedfs/templates/s3/s3-service.yamlindex c4452ec960..063b1c59f2 100644--- a/k8s/charts/seaweedfs/templates/s3/s3-service.yaml+++ b/k8s/charts/seaweedfs/templates/s3/s3-service.yaml@@ -15,6 +15,7 @@ metadata:{{- toYaml .Values.s3.annotations | nindent 4 }}{{- end }}spec:+ type: {{ .Values.s3.service.type }}internalTrafficPolicy: {{ .Values.s3.internalTrafficPolicy | default "Cluster" }}{{- $td := .Values.s3.trafficDistribution | default .Values.filer.s3.trafficDistribution }}{{- if and (semverCompare ">=1.31-0" .Capabilities.KubeVersion.GitVersion) $td }}diff --git a/k8s/charts/seaweedfs/templates/sftp/sftp-service.yaml b/k8s/charts/seaweedfs/templates/sftp/sftp-service.yamlindex 11c4d8f4ee..9a80cca330 100644--- a/k8s/charts/seaweedfs/templates/sftp/sftp-service.yaml+++ b/k8s/charts/seaweedfs/templates/sftp/sftp-service.yaml@@ -15,6 +15,7 @@ metadata:{{- toYaml .Values.sftp.annotations | nindent 4 }}{{- end }}spec:+ type: {{ .Values.sftp.service.type }}internalTrafficPolicy: {{ .Values.sftp.internalTrafficPolicy | default "Cluster" }}ports:- name: "swfs-sftp"@@ -31,4 +32,4 @@ spec:app.kubernetes.io/name: {{ template "seaweedfs.name" . }}app.kubernetes.io/instance: {{ .Release.Name }}app.kubernetes.io/component: sftp-{{- end }}\ No newline at end of file+{{- end }}diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex 2ad609f7b2..f39b3013e2 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -1104,6 +1104,10 @@ s3:annotations: {}tls: []+ # Service settings+ service:+ type: ClusterIP+icebergIngress:enabled: falseclassName: ""@@ -1185,6 +1189,10 @@ sftp:failureThreshold: 100timeoutSeconds: 10+ # Service settings+ service:+ type: ClusterIP+admin:enabled: falseimageOverride: null