Merge pull request #8948 from Filiprogrammer/docs-fix-leader-readiness-probe

docs: fix leader node readiness probe example
This commit is contained in:
Oliver Gugger 2024-07-30 08:54:54 -06:00 committed by GitHub
commit a1af505df4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
```