Implement /health admin API endpoint to check node health #440
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#440
Loading…
Reference in a new issue
No description provided.
Delete branch "admin-health-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Endpoint returns 200 OK if there is a quorum for all storage partitions, or 503 Service unavailable if quorum is not attained for some partitions.
Endpoint is available as two variants:
/health
: non-authenticated, minimal for use with e.g. automated Consul health checks, returns a status code and a small text message that describes the situation/v0/health
: full JSON API, returns a JSON object with some interesting numeric values on number of available nodes, partitions with quorum, etc.TODO: update specification of the JSON API
Fix #418
WIP: Implement /health admin API endpoint to check node healthto Implement /health admin API endpoint to check node healthImplement /health admin API endpoint to check node healthto WIP: Implement /health admin API endpoint to check node healthI have not completed
doc/api/garage-admin-v0.yml
but I wrote a small section explaining the new endpoints in the markdown file for the admin API. That'll have to do for now.WIP: Implement /health admin API endpoint to check node healthto Implement /health admin API endpoint to check node health