ZcashFoundation / zebra

Zcash - Financial Privacy in Rust 🦓
https://zfnd.org/zebra/
Apache License 2.0
407 stars 98 forks source link

feature: Add health-check (liveness and readiness) probes for Zebra #8830

Open gustavovalverde opened 3 weeks ago

gustavovalverde commented 3 weeks ago

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

Testing

No response

Related Work

This was previously requested and partially done: