From a248d1f5d7e14222b9b90ebc154a5c1979258c14 Mon Sep 17 00:00:00 2001 From: hemanthsavasere Date: Sun, 25 Jan 2026 05:57:39 +0000 Subject: [PATCH 1/3] Helm Chart Component Configuration Isolation --- helm/templates/sts-coordinator.yaml | 20 +++++++-------- helm/templates/sts-tablet.yaml | 18 +++++++------- helm/values.yaml | 38 ++++++++++++++++++++++------- 3 files changed, 48 insertions(+), 28 deletions(-) diff --git a/helm/templates/sts-coordinator.yaml b/helm/templates/sts-coordinator.yaml index 7bffccc827..b19326da67 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,21 +81,21 @@ 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: - {{- toYaml .Values.resources.tabletServer | nindent 12 }} + {{- toYaml .Values.resources.coordinatorServer | nindent 12 }} volumeMounts: - name: fluss-conf mountPath: /opt/conf diff --git a/helm/templates/sts-tablet.yaml b/helm/templates/sts-tablet.yaml index aa60cf462c..405952c26d 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 db5d3fc2a9..f561a9a536 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 From fbea4cea2a1679cb131c177ba146bf8e2f551ff9 Mon Sep 17 00:00:00 2001 From: hemanthsavasere Date: Sun, 25 Jan 2026 13:18:23 +0000 Subject: [PATCH 2/3] Retrigger CI tests From 92c4ce9a7c293294dbe4fdafcaf5a7944d2e497a Mon Sep 17 00:00:00 2001 From: hemanthsavasere Date: Thu, 12 Mar 2026 10:29:10 +0000 Subject: [PATCH 3/3] Retriggering CI/CD build pipeline