etcd/server/etcdserver/api/etcdhttp
Siyuan Zhang 7a57e06eca 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-10-14 22:32:16 -07:00
..
types server: Remove unused NewClientHandler 2022-05-05 09:52:13 +02:00
debug.go all: Changing Printf and friends to Print if there is no formatting 2022-11-15 22:11:23 +03:00
doc.go server: Move server files to 'server' directory. 2020-10-26 12:57:19 +01:00
health_test.go etcdserver: add livez and ready http endpoints for etcd. 2023-10-14 22:32:16 -07:00
health.go etcdserver: add livez and ready http endpoints for etcd. 2023-10-14 22:32:16 -07:00
metrics.go server: Split metrics and health code 2022-05-05 09:52:14 +02:00
peer_test.go *: enable goimports in verify-lint 2023-09-21 21:14:09 +08:00
peer.go *: enable goimports in verify-lint 2023-09-21 21:14:09 +08:00
utils.go Fix goimports in all existing files. Execution of ./scripts/fix.sh 2022-12-29 09:41:31 +01:00
version_test.go chore: Use http constants to replace numbers as parameters 2023-02-20 11:53:41 +08:00
version.go enhance the /version endpoint to add storageVersion 2022-05-06 20:29:42 +08:00