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
change default livens & readiness probe timings to allow less pod restarts on large clusters
LazyDBA247-Anyvisione73f0d4e8150
diff --git a/k8s/seaweedfs/templates/filer-statefulset.yaml b/k8s/seaweedfs/templates/filer-statefulset.yamlindex 43da74c435..0bf20f922f 100644--- a/k8s/seaweedfs/templates/filer-statefulset.yaml+++ b/k8s/seaweedfs/templates/filer-statefulset.yaml@@ -149,6 +149,7 @@ spec:periodSeconds: 15successThreshold: 1failureThreshold: 100+ timeoutSeconds: 3livenessProbe:httpGet:path: /@@ -158,6 +159,7 @@ spec:periodSeconds: 30successThreshold: 1failureThreshold: 5+ timeoutSeconds: 3{{- if .Values.filer.resources }}resources:{{ tpl .Values.filer.resources . | nindent 12 | trim }}diff --git a/k8s/seaweedfs/templates/master-statefulset.yaml b/k8s/seaweedfs/templates/master-statefulset.yamlindex 87050534f8..32d03a4532 100644--- a/k8s/seaweedfs/templates/master-statefulset.yaml+++ b/k8s/seaweedfs/templates/master-statefulset.yaml@@ -133,19 +133,21 @@ spec:path: /cluster/statusport: {{ .Values.master.port }}scheme: HTTP- initialDelaySeconds: 5- periodSeconds: 15+ initialDelaySeconds: 10+ periodSeconds: 45successThreshold: 2failureThreshold: 100+ timeoutSeconds: 5livenessProbe:httpGet:path: /cluster/statusport: {{ .Values.master.port }}scheme: HTTPinitialDelaySeconds: 20- periodSeconds: 10+ periodSeconds: 30successThreshold: 1- failureThreshold: 6+ failureThreshold: 4+ timeoutSeconds: 5{{- if .Values.master.resources }}resources:{{ tpl .Values.master.resources . | nindent 12 | trim }}diff --git a/k8s/seaweedfs/templates/s3-deployment.yaml b/k8s/seaweedfs/templates/s3-deployment.yamlindex 1bb3283f1c..0e786a6c33 100644--- a/k8s/seaweedfs/templates/s3-deployment.yaml+++ b/k8s/seaweedfs/templates/s3-deployment.yaml@@ -116,6 +116,7 @@ spec:periodSeconds: 15successThreshold: 1failureThreshold: 100+ timeoutSeconds: 3livenessProbe:httpGet:path: /@@ -125,6 +126,7 @@ spec:periodSeconds: 60successThreshold: 1failureThreshold: 20+ timeoutSeconds: 3{{- if .Values.s3.resources }}resources:{{ tpl .Values.s3.resources . | nindent 12 | trim }}diff --git a/k8s/seaweedfs/templates/volume-statefulset.yaml b/k8s/seaweedfs/templates/volume-statefulset.yamlindex 426f923df0..4db8391f97 100644--- a/k8s/seaweedfs/templates/volume-statefulset.yaml+++ b/k8s/seaweedfs/templates/volume-statefulset.yaml@@ -142,19 +142,21 @@ spec:path: /statusport: {{ .Values.volume.port }}scheme: HTTP- initialDelaySeconds: 5- periodSeconds: 15+ initialDelaySeconds: 15+ periodSeconds: 90successThreshold: 1failureThreshold: 100+ timeoutSeconds: 5livenessProbe:httpGet:path: /statusport: {{ .Values.volume.port }}scheme: HTTPinitialDelaySeconds: 20- periodSeconds: 30+ periodSeconds: 90successThreshold: 1- failureThreshold: 10+ failureThreshold: 4+ timeoutSeconds: 5{{- if .Values.volume.resources }}resources:{{ tpl .Values.volume.resources . | nindent 12 | trim }}