1
0
mirror of https://github.com/minio/minio.git synced 2025-01-16 17:23:16 -05:00

11 Commits

Author SHA1 Message Date
Harshavardhana
31b0decd46
migrate to minio/mux from gorilla/mux () 2023-01-23 16:42:47 +05:30
Harshavardhana
f527c708f2
run gofumpt cleanup across code-base () 2022-01-02 09:15:06 -08:00
Harshavardhana
25d3c73162
add HEAD for cluster healthcheck ()
fixes 

Signed-off-by: Harshavardhana <harsha@minio.io>
2021-04-23 22:47:39 -07:00
Harshavardhana
069432566f update license change for MinIO
Signed-off-by: Harshavardhana <harsha@minio.io>
2021-04-23 11:58:53 -07:00
Krishna Srinivas
876b79b8d8
read-health check endpoint returns success if cluster can serve read requests () 2021-02-09 01:00:44 -08:00
Harshavardhana
c0ac25bfff
fix: readiness needs to be like liveness ()
Readiness as no reasoning to be cluster scope
because that is not how the k8s networking works
for pods, all the pods to a deployment are not
sharing the network in a singleton. Instead they
are run as local scopes to themselves, with
readiness failures the pod is potentially taken
out of the network to be resolvable - this
affects the distributed setup in myriad of
different ways.

Instead readiness should behave like liveness
with local scope alone, and should be a dummy
implementation.

This PR all the startup times and overal k8s
startup time dramatically improves.

Added another handler called as `/minio/health/cluster`
to understand the cluster scope health.
2020-06-30 11:28:27 -07:00
kannappanr
5ecac91a55
Replace Minio refs in docs with MinIO and links () 2019-04-09 11:39:42 -07:00
Harshavardhana
617a6d8e47 Add request tracing support for other REST APIs () 2018-06-07 10:41:13 -07:00
Bala FA
76cc65531c use package name correctly () 2018-04-21 19:23:54 -07:00
Nitish Tiwari
abffa00b76
Update healthcheck related examples and add head support ()
- Add head method for healthcheck endpoint. Some platforms/users
may use the HTTP Head method to check for health status.

- Add liveness and readiness probe examples in Kubernetes yaml
example docs. Note that readiness probe not added to StatefulSet
example due to https://github.com/kubernetes/kubernetes/issues/27114
2018-03-15 09:55:02 +05:30
Nitish Tiwari
10b01ac836
Add healthcheck endpoints ()
This PR adds readiness and liveness endpoints to probe Minio server
instance health. Endpoints can only be accessed without authentication
and the paths are /minio/health/live and /minio/health/ready for
liveness and readiness respectively.

The new healthcheck liveness endpoint is used for Docker healthcheck
now.

Fixes 
Fixes 
2018-03-12 11:46:53 +05:30