Skip to content

Commit 9ea08f2

Browse files
authored
DOC: Deployment template documentation update. (#663)
* deployment templet documentation update * deployment templet documentation update
1 parent 399d960 commit 9ea08f2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/user-guide/creating-application/deployment-template.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ LivenessProbe:
7171
successThreshold: 1
7272
timeoutSeconds: 5
7373
failureThreshold: 3
74+
httpHeader:
75+
scheme: ""
76+
tcp: true
7477
```
7578

7679
| Key | Description |
@@ -81,6 +84,10 @@ LivenessProbe:
8184
| `periodSeconds` | It defines the time to check a given container for liveness. |
8285
| `successThreshold` | It defines the number of successes required before a given container is said to fulfil the liveness probe. |
8386
| `timeoutSeconds` | It defines the time for checking timeout. |
87+
| `httpHeader` | Custom headers to set in the request. HTTP allows repeated headers,You can override the default headers by defining .httpHeaders for the probe. |
88+
| `scheme` | Scheme to use for connecting to the host (HTTP or HTTPS). Defaults to HTTP.
89+
| `tcp` | The kubelet will attempt to open a socket to your container on the specified port. If it can establish a connection, the container is considered healthy. |
90+
8491

8592
### MaxUnavailable
8693

@@ -117,6 +124,9 @@ ReadinessProbe:
117124
successThreshold: 1
118125
timeoutSeconds: 5
119126
failureThreshold: 3
127+
httpHeader:
128+
scheme: ""
129+
tcp: true
120130
```
121131

122132
| Key | Description |
@@ -127,6 +137,9 @@ ReadinessProbe:
127137
| `periodSeconds` | It defines the time to check a given container for readiness. |
128138
| `successThreshold` | It defines the number of successes required before a given container is said to fulfil the rediness probe. |
129139
| `timeoutSeconds` | It defines the time for checking timeout. |
140+
| `httpHeader` | Custom headers to set in the request. HTTP allows repeated headers,You can override the default headers by defining .httpHeaders for the probe. |
141+
| `scheme` | Scheme to use for connecting to the host (HTTP or HTTPS). Defaults to HTTP.
142+
| `tcp` | The kubelet will attempt to open a socket to your container on the specified port. If it can establish a connection, the container is considered healthy. |
130143

131144
### Autoscaling
132145

0 commit comments

Comments
 (0)