From e87224c23978d7099cf0e9918da456da5b44c707 Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Wed, 17 Sep 2025 22:49:11 +0200 Subject: [PATCH 1/4] chore(helm): update readiness probe configuration in values.yaml for network nodes --- .../charts/network-nodes/templates/statefulset-validator.yaml | 1 + charts/network/charts/network-nodes/values.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/network/charts/network-nodes/templates/statefulset-validator.yaml b/charts/network/charts/network-nodes/templates/statefulset-validator.yaml index 39d50e2..6d9141b 100644 --- a/charts/network/charts/network-nodes/templates/statefulset-validator.yaml +++ b/charts/network/charts/network-nodes/templates/statefulset-validator.yaml @@ -35,6 +35,7 @@ spec: {{- $initContainers := .Values.initContainers | default (dict) }} {{- $sharedInitContainers := get $initContainers "shared" }} {{- $validatorInitContainers := get $initContainers "validator" }} + podManagementPolicy: Parallel replicas: {{ $validatorReplicaBudget }} serviceName: {{ include "nodes.fullname" . }} {{- if and $useClaimTemplate (or (ne $whenDeleted "") (ne $whenScaled "")) }} diff --git a/charts/network/charts/network-nodes/values.yaml b/charts/network/charts/network-nodes/values.yaml index 41d0363..0d9d723 100644 --- a/charts/network/charts/network-nodes/values.yaml +++ b/charts/network/charts/network-nodes/values.yaml @@ -351,13 +351,13 @@ readinessProbe: # HTTP GET probe configuration hitting the Besu readiness endpoint. httpGet: # -- (string) HTTP path used for readiness probing, including peer/sync thresholds. - path: /readiness?minPeers=0&maxBlocksBehind=100 + path: /readiness?minPeers=1&maxBlocksBehind=100 # -- (string|int) Target container port serving the readiness endpoint. port: json-rpc # -- (int) Seconds to wait before starting readiness checks. initialDelaySeconds: 15 # -- (int) Frequency of readiness checks in seconds. - periodSeconds: 10 + periodSeconds: 5 # -- (int) Timeout in seconds before marking the probe as failed. timeoutSeconds: 2 # -- (int) Consecutive failures required before the pod is considered unready. From 75282493189fa0d411e7fb8a119cee0c99638c81 Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Wed, 17 Sep 2025 22:49:20 +0200 Subject: [PATCH 2/4] chore(helm): refine readiness probe settings in network nodes README --- charts/network/charts/network-nodes/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/network/charts/network-nodes/README.md b/charts/network/charts/network-nodes/README.md index 6979867..49c1ded 100644 --- a/charts/network/charts/network-nodes/README.md +++ b/charts/network/charts/network-nodes/README.md @@ -119,10 +119,10 @@ A Helm chart for Kubernetes | podLabels | object | `{}` | | | podSecurityContext | object | `{}` | | | readinessProbe.failureThreshold | int | `3` | Consecutive failures required before the pod is considered unready. | -| readinessProbe.httpGet.path | string | `"/readiness?minPeers=0&maxBlocksBehind=100"` | HTTP path used for readiness probing, including peer/sync thresholds. | +| readinessProbe.httpGet.path | string | `"/readiness?minPeers=1&maxBlocksBehind=100"` | HTTP path used for readiness probing, including peer/sync thresholds. | | readinessProbe.httpGet.port | string|int | `"json-rpc"` | Target container port serving the readiness endpoint. | | readinessProbe.initialDelaySeconds | int | `15` | Seconds to wait before starting readiness checks. | -| readinessProbe.periodSeconds | int | `10` | Frequency of readiness checks in seconds. | +| readinessProbe.periodSeconds | int | `5` | Frequency of readiness checks in seconds. | | readinessProbe.timeoutSeconds | int | `2` | Timeout in seconds before marking the probe as failed. | | resources | object | `{}` | | | rpcReplicaCount | int | `2` | Number of RPC node replicas provisioned via StatefulSet. | From ebf4c33d6480be5d8ceb5a722fd1b2e063d4e607 Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Wed, 17 Sep 2025 23:06:11 +0200 Subject: [PATCH 3/4] chore(helm): update liveness and readiness probe configurations in values.yaml for network nodes --- charts/network/charts/network-nodes/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/network/charts/network-nodes/values.yaml b/charts/network/charts/network-nodes/values.yaml index 0d9d723..741d487 100644 --- a/charts/network/charts/network-nodes/values.yaml +++ b/charts/network/charts/network-nodes/values.yaml @@ -334,7 +334,7 @@ livenessProbe: # HTTP GET probe configuration hitting the Besu liveness endpoint. httpGet: # -- (string) HTTP path used for liveness probing. - path: /liveness + path: /readiness?minPeers=1&maxBlocksBehind=100 # -- (string|int) Target container port serving the liveness endpoint. port: json-rpc # -- (int) Seconds to wait before starting liveness checks. @@ -351,7 +351,7 @@ readinessProbe: # HTTP GET probe configuration hitting the Besu readiness endpoint. httpGet: # -- (string) HTTP path used for readiness probing, including peer/sync thresholds. - path: /readiness?minPeers=1&maxBlocksBehind=100 + path: /readiness?minPeers=0&maxBlocksBehind=100 # -- (string|int) Target container port serving the readiness endpoint. port: json-rpc # -- (int) Seconds to wait before starting readiness checks. From 22d9250c2c3553aee5303a36cbe35303db4eb24e Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Wed, 17 Sep 2025 23:06:19 +0200 Subject: [PATCH 4/4] chore(helm): enhance init container and probe configurations in network nodes README --- charts/network/charts/network-nodes/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/network/charts/network-nodes/README.md b/charts/network/charts/network-nodes/README.md index 49c1ded..85c193b 100644 --- a/charts/network/charts/network-nodes/README.md +++ b/charts/network/charts/network-nodes/README.md @@ -82,7 +82,7 @@ A Helm chart for Kubernetes | initContainers.shared | list|string | `[]` | Init containers applied to both validator and RPC pods. | | initContainers.validator | list|string | `[]` | Additional init containers exclusively for validator pods. | | livenessProbe.failureThreshold | int | `3` | Consecutive failures required before the container is restarted. | -| livenessProbe.httpGet.path | string | `"/liveness"` | HTTP path used for liveness probing. | +| livenessProbe.httpGet.path | string | `"/readiness?minPeers=1&maxBlocksBehind=100"` | HTTP path used for liveness probing. | | livenessProbe.httpGet.port | string|int | `"json-rpc"` | Target container port serving the liveness endpoint. | | livenessProbe.initialDelaySeconds | int | `30` | Seconds to wait before starting liveness checks. | | livenessProbe.periodSeconds | int | `10` | Frequency of liveness checks in seconds. | @@ -119,7 +119,7 @@ A Helm chart for Kubernetes | podLabels | object | `{}` | | | podSecurityContext | object | `{}` | | | readinessProbe.failureThreshold | int | `3` | Consecutive failures required before the pod is considered unready. | -| readinessProbe.httpGet.path | string | `"/readiness?minPeers=1&maxBlocksBehind=100"` | HTTP path used for readiness probing, including peer/sync thresholds. | +| readinessProbe.httpGet.path | string | `"/readiness?minPeers=0&maxBlocksBehind=100"` | HTTP path used for readiness probing, including peer/sync thresholds. | | readinessProbe.httpGet.port | string|int | `"json-rpc"` | Target container port serving the readiness endpoint. | | readinessProbe.initialDelaySeconds | int | `15` | Seconds to wait before starting readiness checks. | | readinessProbe.periodSeconds | int | `5` | Frequency of readiness checks in seconds. |