docs: fix leader node readiness probe example [skip ci]
Add the missing SERVER_ACTIVE state to the readiness probe. Without this, a node that is ready to accept RPC calls would be incorrectly considered not ready.
This commit is contained in:
1 file changed
+1
-1
@@ -89,7 +89,7 @@ readinessProbe:
|
||||
command: [
|
||||
"/bin/sh",
|
||||
"-c",
|
||||
"set -e; set -o pipefail; curl -s -k -o - https://localhost:8080/v1/state | jq .'State' | grep -E 'NON_EXISTING|LOCKED|UNLOCKED|RPC_ACTIVE'",
|
||||
"set -e; set -o pipefail; curl -s -k -o - https://localhost:8080/v1/state | jq .'State' | grep -E 'NON_EXISTING|LOCKED|UNLOCKED|RPC_ACTIVE|SERVER_ACTIVE'",
|
||||
]
|
||||
periodSeconds: 1
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user