You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/reference/using-api/health-checks.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,12 @@ The `healthz` endpoint is deprecated (since Kubernetes v1.16), and you should us
19
19
The `livez` endpoint can be used with the `--livez-grace-period`[flag](/docs/reference/command-line-tools-reference/kube-apiserver) to specify the startup duration.
20
20
For a graceful shutdown you can specify the `--shutdown-delay-duration`[flag](/docs/reference/command-line-tools-reference/kube-apiserver) with the `/readyz` endpoint.
21
21
Machines that check the `healthz`/`livez`/`readyz` of the API server should rely on the HTTP status code.
22
-
A status code `200` indicates the API server is `healthy`/`live`/`ready`, depending of the called endpoint.
23
-
The more verbose options shown below are intended to be used by human operators to debug their cluster or specially the state of the API server.
22
+
A status code `200` indicates the API server is `healthy`/`live`/`ready`, depending on the called endpoint.
23
+
The more verbose options shown below are intended to be used by human operators to debug their cluster or understand the state of the API server.
24
24
25
25
The following examples will show how you can interact with the health API endpoints.
26
26
27
-
For all endpoints you can use the `verbose` parameter to print out the checks and their status.
27
+
For all endpoints, you can use the `verbose` parameter to print out the checks and their status.
28
28
This can be useful for a human operator to debug the current status of the API server, it is not intended to be consumed by a machine:
29
29
30
30
```shell
@@ -93,7 +93,7 @@ The output show that the `etcd` check is excluded:
93
93
94
94
{{< feature-state state="alpha" >}}
95
95
96
-
Each individual health check exposes an HTTP endpoint and could can be checked individually.
96
+
Each individual health check exposes an HTTP endpoint and can be checked individually.
97
97
The schema for the individual health checks is `/livez/<healthcheck-name>` where `livez` and `readyz` and be used to indicate if you want to check the liveness or the readiness of the API server.
98
98
The `<healthcheck-name>` path can be discovered using the `verbose` flag from above and take the path between `[+]` and `ok`.
99
99
These individual health checks should not be consumed by machines but can be helpful for a human operator to debug a system:
0 commit comments