5 Commits

Author SHA1 Message Date
Siyuan Zhang
b6ab23900d etcdserver: add linearizable_read check to readyz.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-12-15 14:00:22 -08:00
Siyuan Zhang
c58ef8d10f etcdserver: add metric counters for livez/readyz health checks.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-12-15 08:39:51 -08:00
Siyuan Zhang
f4c229a41d etcdserver: add livez and ready http endpoints for etcd.
Add two separate probes, one for liveness and one for readiness. The liveness probe would check that the local individual node is up and running, or else restart the node, while the readiness probe would check that the cluster is ready to serve traffic. This would make etcd health-check fully Kubernetes API complient.

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-12-15 08:39:51 -08:00
Chao Chen
d4861d660b http health check bug fixes
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-12-15 08:39:51 -08:00
Marek Siarkowicz
4a8381a461 server: Split metrics and health code
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-12-14 10:25:43 -08:00