diff --git a/charts/network/charts/network-nodes/README.md b/charts/network/charts/network-nodes/README.md index 6979867..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. | @@ -122,7 +122,7 @@ A Helm chart for Kubernetes | 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 | `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. | 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..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. @@ -357,7 +357,7 @@ readinessProbe: # -- (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.