This is an automated email from the ASF dual-hosted git repository.

yunhong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss.git


The following commit(s) were added to refs/heads/main by this push:
     new d956e75b6 [Helm] Chart Component Configuration Isolation (#2472)
d956e75b6 is described below

commit d956e75b6f45dcd5264dafd5fd31c4a7a8cd8c04
Author: Hemanth Savasere <[email protected]>
AuthorDate: Thu Mar 12 19:05:38 2026 +0530

    [Helm] Chart Component Configuration Isolation (#2472)
    
    * Helm Chart Component Configuration Isolation
    
    * Retrigger CI tests
    
    * Retriggering CI/CD build pipeline
---
 helm/templates/sts-coordinator.yaml | 18 +++++++++---------
 helm/templates/sts-tablet.yaml      | 18 +++++++++---------
 helm/values.yaml                    | 38 ++++++++++++++++++++++++++++---------
 3 files changed, 47 insertions(+), 27 deletions(-)

diff --git a/helm/templates/sts-coordinator.yaml 
b/helm/templates/sts-coordinator.yaml
index 6e187bd98..b19326da6 100644
--- a/helm/templates/sts-coordinator.yaml
+++ b/helm/templates/sts-coordinator.yaml
@@ -24,7 +24,7 @@ metadata:
   {{- include "fluss.labels" . | nindent 4 }}
 spec:
   serviceName: coordinator-server-hs
-  replicas: {{ .Values.coordinator.numberOfReplicas }}
+  replicas: {{ .Values.coordinatorServer.replicas }}
   selector:
     matchLabels:
       {{- include "fluss.selectorLabels" . | nindent 6 }}
@@ -81,17 +81,17 @@ spec:
 
               bin/coordinator-server.sh start-foreground
           livenessProbe:
-            failureThreshold: 100
-            timeoutSeconds: 1
-            initialDelaySeconds: 10
-            periodSeconds: 3
+            failureThreshold: {{ 
.Values.coordinatorServer.livenessProbe.failureThreshold }}
+            timeoutSeconds: {{ 
.Values.coordinatorServer.livenessProbe.timeoutSeconds }}
+            initialDelaySeconds: {{ 
.Values.coordinatorServer.livenessProbe.initialDelaySeconds }}
+            periodSeconds: {{ 
.Values.coordinatorServer.livenessProbe.periodSeconds }}
             tcpSocket:
               port: {{ .Values.listeners.client.port }}
           readinessProbe:
-            failureThreshold: 100
-            timeoutSeconds: 1
-            initialDelaySeconds: 10
-            periodSeconds: 3
+            failureThreshold: {{ 
.Values.coordinatorServer.readinessProbe.failureThreshold }}
+            timeoutSeconds: {{ 
.Values.coordinatorServer.readinessProbe.timeoutSeconds }}
+            initialDelaySeconds: {{ 
.Values.coordinatorServer.readinessProbe.initialDelaySeconds }}
+            periodSeconds: {{ 
.Values.coordinatorServer.readinessProbe.periodSeconds }}
             tcpSocket:
               port: {{ .Values.listeners.client.port }}
           resources:
diff --git a/helm/templates/sts-tablet.yaml b/helm/templates/sts-tablet.yaml
index aa60cf462..405952c26 100644
--- a/helm/templates/sts-tablet.yaml
+++ b/helm/templates/sts-tablet.yaml
@@ -24,7 +24,7 @@ metadata:
   {{- include "fluss.labels" . | nindent 4 }}
 spec:
   serviceName: tablet-server-hs
-  replicas: {{ .Values.tablet.numberOfReplicas }}
+  replicas: {{ .Values.tabletServer.replicas }}
   selector:
     matchLabels:
       {{- include "fluss.selectorLabels" . | nindent 6 }}
@@ -78,17 +78,17 @@ spec:
 
               bin/tablet-server.sh start-foreground
           livenessProbe:
-            failureThreshold: 100
-            timeoutSeconds: 1
-            initialDelaySeconds: 10
-            periodSeconds: 3
+            failureThreshold: {{ 
.Values.tabletServer.livenessProbe.failureThreshold }}
+            timeoutSeconds: {{ 
.Values.tabletServer.livenessProbe.timeoutSeconds }}
+            initialDelaySeconds: {{ 
.Values.tabletServer.livenessProbe.initialDelaySeconds }}
+            periodSeconds: {{ .Values.tabletServer.livenessProbe.periodSeconds 
}}
             tcpSocket:
               port: {{ .Values.listeners.client.port }}
           readinessProbe:
-            failureThreshold: 100
-            timeoutSeconds: 1
-            initialDelaySeconds: 10
-            periodSeconds: 3
+            failureThreshold: {{ 
.Values.tabletServer.readinessProbe.failureThreshold }}
+            timeoutSeconds: {{ 
.Values.tabletServer.readinessProbe.timeoutSeconds }}
+            initialDelaySeconds: {{ 
.Values.tabletServer.readinessProbe.initialDelaySeconds }}
+            periodSeconds: {{ 
.Values.tabletServer.readinessProbe.periodSeconds }}
             tcpSocket:
               port: {{ .Values.listeners.client.port }}
           resources:
diff --git a/helm/values.yaml b/helm/values.yaml
index db5d3fc2a..f561a9a53 100644
--- a/helm/values.yaml
+++ b/helm/values.yaml
@@ -27,6 +27,32 @@ image:
   pullPolicy: IfNotPresent
   pullSecrets: []
 
+coordinatorServer:
+  replicas: 1
+  livenessProbe:
+    failureThreshold: 100
+    timeoutSeconds: 1
+    initialDelaySeconds: 10
+    periodSeconds: 3
+  readinessProbe:
+    failureThreshold: 100
+    timeoutSeconds: 1
+    initialDelaySeconds: 10
+    periodSeconds: 3
+
+tabletServer:
+  replicas: 3
+  livenessProbe:
+    failureThreshold: 100
+    timeoutSeconds: 1
+    initialDelaySeconds: 10
+    periodSeconds: 3
+  readinessProbe:
+    failureThreshold: 100
+    timeoutSeconds: 1
+    initialDelaySeconds: 10
+    periodSeconds: 3
+
 # Fluss server configuration options
 configurationOverrides:
   default.bucket.number: 3
@@ -38,14 +64,12 @@ configurationOverrides:
   internal.listener.name: INTERNAL
 
 tablet:
-  numberOfReplicas: 3
   storage:
     enabled: false
     size: 1Gi
     storageClass:
 
 coordinator:
-  numberOfReplicas: 1
   storage:
     enabled: false
     size: 1Gi
@@ -58,19 +82,15 @@ listeners:
   client:
     port: 9124
 
-resources: {}
-  # We usually recommend not to specify default resources and to leave this as 
a conscious
-  # choice for the user. This also increases chances charts run on 
environments with little
-  # resources, such as Minikube. If you do want to specify resources, 
uncomment the following
-  # lines, adjust them as necessary, and remove the curly braces after 
'resources:'.
-  # coordinatorServer:
+resources:
+  coordinatorServer: {}
   #   limits:
   #     cpu: 100m
   #     memory: 128Mi
   #   requests:
   #     cpu: 100m
   #     memory: 128Mi
-  # tabletServer:
+  tabletServer: {}
   #   requests:
   #     cpu: 100m
   #     memory: 128Mi

Reply via email to