Skip to content

Commit

Permalink
fix(content): fixed the description of liveness and readiness probe i…
Browse files Browse the repository at this point in the history
…n the spec (#65)
  • Loading branch information
astromechza authored Nov 11, 2023
2 parents 952fd48 + 351f81b commit 1f4db8e
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions content/en/docs/reference/score-spec-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,28 +273,18 @@ readinessProbe:

`livenessProbe`: indicates if the container is running.

- `scheme`: specifies the identifier used for connecting to the host.
- Defaults: `HTTP`
- Valid values: `HTTP` | `HTTPS`

- `httpGet`: performs an HTTP `Get` on a specified path and port.
- `scheme`: specifies the identifier used for connecting to the host.
- Defaults: `HTTP`
- Valid values: `HTTP` | `HTTPS`
- `path`: specifies a path for the HTTP `Get` method.
- `port`: specifies a port for the HTTP `Get` method.

`readinessProbe`: indicates if the container is ready to respond to requests.

- `scheme`: specifies the identifier used for connecting to the host.
- Defaults: `HTTP`
- Valid values: `HTTP` | `HTTPS`

- `httpGet`: performs an HTTP `Get` on a specified path and port.
- `path`: specifies a path for the HTTP `Get` method.
- `port`: specifies a port for the HTTP `Get` method.

- `httpHeaders`: headers to set in the request. Allows repeated headers.
- `name`: custom header to set in the request.
- `value`: specifies a value.

`readinessProbe`: indicates if the container is ready to respond to requests. This has the same format as `livenessProbe`.

### Container example

The following example creates a container with the `busybox` image.
Expand Down

0 comments on commit 1f4db8e

Please sign in to comment.