nuts-foundation / nuts-foundation/nuts-node

Clouds: define and support liveness/readyness checks

Open
#1,224 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.