From 18752214b434e8dd7cd3ec72cc78df8541c6f2a8 Mon Sep 17 00:00:00 2001 From: Traver Tischio Date: Tue, 17 Jun 2025 15:57:42 -0400 Subject: [PATCH] Add parallel pod management to core, horizon ingest and rpc charts --- charts/core/Chart.yaml | 2 +- charts/core/templates/core-sts.yaml | 1 + charts/core/values.yaml | 3 +++ charts/horizon/Chart.yaml | 2 +- charts/horizon/templates/ingest.yaml | 1 + charts/horizon/values.yaml | 3 +++ charts/soroban-rpc/Chart.yaml | 2 +- charts/soroban-rpc/templates/soroban-rpc-sts.yaml | 1 + charts/soroban-rpc/values.yaml | 3 +++ 9 files changed, 15 insertions(+), 3 deletions(-) diff --git a/charts/core/Chart.yaml b/charts/core/Chart.yaml index 960a339..4a4d6e7 100644 --- a/charts/core/Chart.yaml +++ b/charts/core/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: core description: This chart will deploy Stellar Core node -version: 0.0.3 +version: 0.1.0 appVersion: "19.12.0-1378.2109a168a.focal" maintainers: - name: Stellar Development Foundation diff --git a/charts/core/templates/core-sts.yaml b/charts/core/templates/core-sts.yaml index d8f32b8..0e19671 100644 --- a/charts/core/templates/core-sts.yaml +++ b/charts/core/templates/core-sts.yaml @@ -13,6 +13,7 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.core.replicaCount }} + podManagementPolicy: {{ .Values.core.podManagementPolicy }} serviceName: {{ template "common.fullname" . }} selector: matchLabels: diff --git a/charts/core/values.yaml b/charts/core/values.yaml index c7c74a4..314c81b 100644 --- a/charts/core/values.yaml +++ b/charts/core/values.yaml @@ -72,6 +72,9 @@ core: ## For production use cases we recommend at least 2 replicas replicaCount: 1 + ## Core pods do not need to be initialized in a specific order + podManagementPolicy: Parallel + ## Uncomment to use custom service account # serviceAccountName: default diff --git a/charts/horizon/Chart.yaml b/charts/horizon/Chart.yaml index 8958071..5703154 100644 --- a/charts/horizon/Chart.yaml +++ b/charts/horizon/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: horizon -version: 0.0.7 +version: 0.1.0 appVersion: "2.26.1" description: Stellar Horizon Helm Chart. This chart will deploy Stellar Horizon API server maintainers: diff --git a/charts/horizon/templates/ingest.yaml b/charts/horizon/templates/ingest.yaml index 58571cd..c1ae8b8 100644 --- a/charts/horizon/templates/ingest.yaml +++ b/charts/horizon/templates/ingest.yaml @@ -17,6 +17,7 @@ metadata: spec: replicas: {{ .Values.ingest.replicaCount }} {{- if not (.Values.useDeployment) }} + podManagementPolicy: {{ .Values.ingest.podManagementPolicy }} serviceName: {{ include "common.fullname" . }}-ingest {{- end }} selector: diff --git a/charts/horizon/values.yaml b/charts/horizon/values.yaml index b420d94..f9987fe 100644 --- a/charts/horizon/values.yaml +++ b/charts/horizon/values.yaml @@ -90,6 +90,9 @@ ingest: ## For production use cases we recommend at least 2 replicas replicaCount: 1 + ## Horizon ingest pods do not need to be initialized in a specific order + podManagementPolicy: Parallel + serviceAccountName: default ## Additional annotations or labels to add the Deployment template diff --git a/charts/soroban-rpc/Chart.yaml b/charts/soroban-rpc/Chart.yaml index 758a343..8b76a41 100644 --- a/charts/soroban-rpc/Chart.yaml +++ b/charts/soroban-rpc/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: soroban-rpc -version: 0.1.1 +version: 0.2.0 appVersion: "0.9.3" description: Stellar Soroban RPC Helm Chart. This chart will deploy Stellar Soroban API server maintainers: diff --git a/charts/soroban-rpc/templates/soroban-rpc-sts.yaml b/charts/soroban-rpc/templates/soroban-rpc-sts.yaml index a56f7f1..7f2aea3 100644 --- a/charts/soroban-rpc/templates/soroban-rpc-sts.yaml +++ b/charts/soroban-rpc/templates/soroban-rpc-sts.yaml @@ -19,6 +19,7 @@ spec: # gauranteed to be running while the other one is upgraded and catching backup to network # after restart replicas: 2 + podManagementPolicy: {{ .Values.sorobanRpc.podManagementPolicy }} serviceName: {{ template "common.fullname" . }} selector: matchLabels: diff --git a/charts/soroban-rpc/values.yaml b/charts/soroban-rpc/values.yaml index a7ba025..0232dea 100644 --- a/charts/soroban-rpc/values.yaml +++ b/charts/soroban-rpc/values.yaml @@ -89,6 +89,9 @@ sorobanRpc: storageClass: default size: 100G + ## Soroban RPC pods do not need to be initialized in a specific order + podManagementPolicy: Parallel + ## Uncomment to use custom service account # serviceAccountName: default