You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: parallel deployment and better readiness check (#26)
## Summary by Sourcery
Enable parallel rolling updates of validator StatefulSets and tighten
readiness checks by updating probe thresholds and frequency
New Features:
- Enable parallel deployment of validator pods by setting
podManagementPolicy to Parallel
Enhancements:
- Adjust readiness probe to require at least one peer and reduce probe
period to 5 seconds
| livenessProbe.failureThreshold | int |`3`| Consecutive failures required before the container is restarted. |
85
-
| livenessProbe.httpGet.path | string |`"/liveness"`| HTTP path used for liveness probing. |
85
+
| livenessProbe.httpGet.path | string |`"/readiness?minPeers=1&maxBlocksBehind=100"`| HTTP path used for liveness probing. |
86
86
| livenessProbe.httpGet.port | string|int |`"json-rpc"`| Target container port serving the liveness endpoint. |
87
87
| livenessProbe.initialDelaySeconds | int |`30`| Seconds to wait before starting liveness checks. |
88
88
| livenessProbe.periodSeconds | int |`10`| Frequency of liveness checks in seconds. |
@@ -122,7 +122,7 @@ A Helm chart for Kubernetes
122
122
| readinessProbe.httpGet.path | string |`"/readiness?minPeers=0&maxBlocksBehind=100"`| HTTP path used for readiness probing, including peer/sync thresholds. |
123
123
| readinessProbe.httpGet.port | string|int |`"json-rpc"`| Target container port serving the readiness endpoint. |
124
124
| readinessProbe.initialDelaySeconds | int |`15`| Seconds to wait before starting readiness checks. |
125
-
| readinessProbe.periodSeconds | int |`10`| Frequency of readiness checks in seconds. |
125
+
| readinessProbe.periodSeconds | int |`5`| Frequency of readiness checks in seconds. |
126
126
| readinessProbe.timeoutSeconds | int |`2`| Timeout in seconds before marking the probe as failed. |
127
127
| resources | object |`{}`||
128
128
| rpcReplicaCount | int |`2`| Number of RPC node replicas provisioned via StatefulSet. |
0 commit comments