From bfc430afbdc9821668e21e6bf5c8cd6039f19cac Mon Sep 17 00:00:00 2001 From: Surote Date: Sat, 7 Mar 2026 20:30:23 +0700 Subject: [PATCH] Update helm for support on OpenShift to have data replication and replicas for master,filer and volume (#8543) --- k8s/charts/seaweedfs/openshift-values.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/k8s/charts/seaweedfs/openshift-values.yaml b/k8s/charts/seaweedfs/openshift-values.yaml index 0267141cd..3846f7297 100644 --- a/k8s/charts/seaweedfs/openshift-values.yaml +++ b/k8s/charts/seaweedfs/openshift-values.yaml @@ -23,8 +23,15 @@ # # Adjust storageClass and sizes to match your cluster's available StorageClasses. # On OpenShift you can discover them with: oc get storageclass - +global: + enableReplication: true + # replication type is XYZ: + # X number of replica in other data centers + # Y number of replica in other racks in the same data center + # Z number of replica in other servers in the same rack + replicationPlacement: "000" # no data replica master: + replicas: 1 data: type: "persistentVolumeClaim" size: "10Gi" @@ -49,6 +56,7 @@ master: type: RuntimeDefault volume: + replicas: 1 dataDirs: - name: data1 type: "persistentVolumeClaim" @@ -75,6 +83,7 @@ volume: type: RuntimeDefault filer: + replicas: 1 data: type: "persistentVolumeClaim" size: "25Gi"