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:
Filiprogrammer committed 2024-07-29 21:31:24 +02:00
1 parent b7c59b36a7
commit 060befd027
1 file changed
+1 -1
+1 -1
View File
@@ -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
```