mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
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:
parent
b7c59b36a7
commit
060befd027
@ -89,7 +89,7 @@ readinessProbe:
|
|||||||
command: [
|
command: [
|
||||||
"/bin/sh",
|
"/bin/sh",
|
||||||
"-c",
|
"-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
|
periodSeconds: 1
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user