nuts-foundation / nuts-foundation/nuts-node
Clouds: define and support liveness/readyness checks
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 28
- Forks
- 23
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 76
Description
Kubernetes (and probably other clouds as well) support a liveness and readyness check. These currently map on the Docker healthcheck (status = OK?), but we might want to support a separate liveness check. For instance, when you do a rolling upgrade but use BBolt, you might want to stop the old instance when the node is "live" (no BBolt connection yet) rather than "ready" (when the BBolt connection is open), because BBolt doesn't support multiple connections to the same DB.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how Kubernetes liveness and readiness checks currently map to the Docker healthcheck and how rolling upgrades use those states. Examine the BBolt connection constraint described in the issue, then define the separate check behavior and verify that an old instance can stop at liveness without waiting for readiness.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, kubernetes
- Domain
- cloud, devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100