Implement /health admin API endpoint to check node health #440
No reviewers
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#440
Loading…
Reference in 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