From 351f81b404a6c9204653d7776aed203b7a4d18c1 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Fri, 10 Nov 2023 15:16:33 +0000 Subject: [PATCH] fix(content): fixed the description of liveness and readiness probe in the spec Signed-off-by: Ben Meier --- .../en/docs/reference/score-spec-reference.md | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/content/en/docs/reference/score-spec-reference.md b/content/en/docs/reference/score-spec-reference.md index c0ef12a7..d9388a3c 100644 --- a/content/en/docs/reference/score-spec-reference.md +++ b/content/en/docs/reference/score-spec-reference.md @@ -276,28 +276,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.