From f1588c03f30ac62be64eefee5e451fac1c81500e Mon Sep 17 00:00:00 2001 From: "Johannes M. Scheuermann" Date: Tue, 21 Jul 2020 10:24:40 +0200 Subject: [PATCH] Add feature state for individual health checks --- content/en/docs/reference/using-api/health-checks.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/en/docs/reference/using-api/health-checks.md b/content/en/docs/reference/using-api/health-checks.md index 7e1aabbf21..a7be3b267f 100644 --- a/content/en/docs/reference/using-api/health-checks.md +++ b/content/en/docs/reference/using-api/health-checks.md @@ -31,6 +31,12 @@ This can be useful for a human operator to debug the current status of the Api s curl -k https://localhost:6443/livez?verbose ``` +or from a remote host with authentication: + + ```shell + kubectl get --raw='/readyz?verbose' + ``` + The output will look like this: [+]ping ok @@ -83,6 +89,10 @@ The output show that the `etcd` check is excluded: [+]shutdown ok healthz check passed +## Individual health checks + +{{< feature-state state="alpha" >}} + Each individual health check exposes an http endpoint and could can be checked individually. The schema for the individual health checks is `/livez/` where `livez` and `readyz` and be used to indicate if you want to check thee liveness or the readiness of the API server. The `` path can be discovered using the `verbose` flag from above and take the path between `[+]` and `ok`.