Skip to content

Commit a1af505

Browse files
authored
Merge pull request #8948 from Filiprogrammer/docs-fix-leader-readiness-probe
docs: fix leader node readiness probe example
2 parents 9decf80 + 060befd commit a1af505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/leader_election.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ readinessProbe:
8989
command: [
9090
"/bin/sh",
9191
"-c",
92-
"set -e; set -o pipefail; curl -s -k -o - https://localhost:8080/v1/state | jq .'State' | grep -E 'NON_EXISTING|LOCKED|UNLOCKED|RPC_ACTIVE'",
92+
"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'",
9393
]
9494
periodSeconds: 1
9595
```

0 commit comments

Comments
 (0)