From 19d73c7d88d94ef70085c18080f0f37dfcece23d Mon Sep 17 00:00:00 2001 From: Jacek N Date: Thu, 9 Apr 2026 11:50:17 +0100 Subject: [PATCH 1/2] RPC: allow replica count to be configured * allow replica count to be configured. Defaults stay the same * as drive-by bump appVersion to match latest release --- charts/soroban-rpc/Chart.yaml | 4 ++-- charts/soroban-rpc/templates/soroban-rpc-sts.yaml | 2 +- charts/soroban-rpc/values.yaml | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/charts/soroban-rpc/Chart.yaml b/charts/soroban-rpc/Chart.yaml index 3dc6754..5812739 100644 --- a/charts/soroban-rpc/Chart.yaml +++ b/charts/soroban-rpc/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: soroban-rpc -version: 0.4.0 -appVersion: "25.0.1" +version: 0.4.1 +appVersion: "26.0.0" description: Stellar RPC Helm Chart. This chart will deploy Stellar RPC server maintainers: - name: Stellar Development Foundation diff --git a/charts/soroban-rpc/templates/soroban-rpc-sts.yaml b/charts/soroban-rpc/templates/soroban-rpc-sts.yaml index 3aa1168..b4213ee 100644 --- a/charts/soroban-rpc/templates/soroban-rpc-sts.yaml +++ b/charts/soroban-rpc/templates/soroban-rpc-sts.yaml @@ -18,7 +18,7 @@ spec: # Having two replicas also ensures zero downtime during upgrades as at least one replica is # gauranteed to be running while the other one is upgraded and catching backup to network # after restart - replicas: 2 + replicas: {{ .Values.sorobanRpc.replicaCount }} podManagementPolicy: {{ .Values.sorobanRpc.podManagementPolicy }} serviceName: {{ template "common.fullname" . }} selector: diff --git a/charts/soroban-rpc/values.yaml b/charts/soroban-rpc/values.yaml index 490d35d..a8cc690 100644 --- a/charts/soroban-rpc/values.yaml +++ b/charts/soroban-rpc/values.yaml @@ -36,6 +36,9 @@ sorobanRpc: ## marking pods as Ready requireFullRetentionWindow: false + ## For production use cases we recommend at least 2 replicas + replicaCount: 2 + ## Soroban-rpc config variables sorobanRpcConfig: friendbotUrl: "https://friendbot-futurenet.stellar.org/" From 7f7af85791f886f0a1f0df15491cff5ef191142b Mon Sep 17 00:00:00 2001 From: jacekn Date: Thu, 9 Apr 2026 11:59:01 +0100 Subject: [PATCH 2/2] Update charts/soroban-rpc/templates/soroban-rpc-sts.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- charts/soroban-rpc/templates/soroban-rpc-sts.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/soroban-rpc/templates/soroban-rpc-sts.yaml b/charts/soroban-rpc/templates/soroban-rpc-sts.yaml index b4213ee..7df365e 100644 --- a/charts/soroban-rpc/templates/soroban-rpc-sts.yaml +++ b/charts/soroban-rpc/templates/soroban-rpc-sts.yaml @@ -18,7 +18,7 @@ spec: # Having two replicas also ensures zero downtime during upgrades as at least one replica is # gauranteed to be running while the other one is upgraded and catching backup to network # after restart - replicas: {{ .Values.sorobanRpc.replicaCount }} + replicas: {{ .Values.sorobanRpc.replicaCount | default 2 | int }} podManagementPolicy: {{ .Values.sorobanRpc.podManagementPolicy }} serviceName: {{ template "common.fullname" . }} selector: