feature: Add health-check (liveness and readiness) probes for Zebra #8830
Labels
A-rpc
Area: Remote Procedure Call interfaces
C-enhancement
Category: This is an improvement
C-feature
Category: New features
I-usability
Zebra is hard to understand or use
P-High 🔥
S-needs-triage
Status: A bug report needs triage
Motivation
If we're deploying some/several Zebra nodes, and we need to continuously confirm if those nodes are running and behaving as expected, we should have a way to validate the nodes are live and ready, which would be defined as:
This would make nodes management easier, and more automatic. Here is an explanation on how this would work with Kubernetes, but this applies to most container orchestration tools.
Specifications
Any solution should consider this endpoints will be publicly available and thus their security implications should be thoroughly evaluated.
Requirements and examples from other projects:
Complex Code or Requirements
getblockchaininfo
(sync progress) orgetinfo
(liveness) instead; and we could add more fields.Testing
No response
Related Work
This was previously requested and partially done:
The text was updated successfully, but these errors were encountered: