Skip to content

Commit 8d225a1

Browse files
authored
Merge pull request #25088 from jjasghar/patch-1
Update health-checks.md
2 parents 8a58555 + 3be56a6 commit 8d225a1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

content/en/docs/reference/using-api/health-checks.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ The following examples will show how you can interact with the health API endpoi
2727
For all endpoints you can use the `verbose` parameter to print out the checks and their status.
2828
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:
2929

30-
```shell
31-
curl -k https://localhost:6443/livez?verbose
32-
```
30+
```shell
31+
curl -k https://localhost:6443/livez?verbose
32+
```
3333

3434
or from a remote host with authentication:
3535

36-
```shell
37-
kubectl get --raw='/readyz?verbose'
38-
```
36+
```shell
37+
kubectl get --raw='/readyz?verbose'
38+
```
3939

4040
The output will look like this:
4141

@@ -62,9 +62,9 @@ The output will look like this:
6262
The Kubernetes API server also supports to exclude specific checks.
6363
The query parameters can also be combined like in this example:
6464

65-
```shell
66-
curl -k 'https://localhost:6443/readyz?verbose&exclude=etcd'
67-
```
65+
```shell
66+
curl -k 'https://localhost:6443/readyz?verbose&exclude=etcd'
67+
```
6868

6969
The output show that the `etcd` check is excluded:
7070

@@ -98,6 +98,6 @@ The schema for the individual health checks is `/livez/<healthcheck-name>` where
9898
The `<healthcheck-name>` path can be discovered using the `verbose` flag from above and take the path between `[+]` and `ok`.
9999
These individual health checks should not be consumed by machines but can be helpful for a human operator to debug a system:
100100

101-
```shell
102-
curl -k https://localhost:6443/livez/etcd
103-
```
101+
```shell
102+
curl -k https://localhost:6443/livez/etcd
103+
```

0 commit comments

Comments
 (0)