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: docs/user-guide/creating-application/deployment-template.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,9 @@ LivenessProbe:
71
71
successThreshold: 1
72
72
timeoutSeconds: 5
73
73
failureThreshold: 3
74
+
httpHeader:
75
+
scheme: ""
76
+
tcp: true
74
77
```
75
78
76
79
| Key | Description |
@@ -81,6 +84,10 @@ LivenessProbe:
81
84
| `periodSeconds` | It defines the time to check a given container for liveness. |
82
85
| `successThreshold` | It defines the number of successes required before a given container is said to fulfil the liveness probe. |
83
86
| `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
+
84
91
85
92
### MaxUnavailable
86
93
@@ -117,6 +124,9 @@ ReadinessProbe:
117
124
successThreshold: 1
118
125
timeoutSeconds: 5
119
126
failureThreshold: 3
127
+
httpHeader:
128
+
scheme: ""
129
+
tcp: true
120
130
```
121
131
122
132
| Key | Description |
@@ -127,6 +137,9 @@ ReadinessProbe:
127
137
| `periodSeconds` | It defines the time to check a given container for readiness. |
128
138
| `successThreshold` | It defines the number of successes required before a given container is said to fulfil the rediness probe. |
129
139
| `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. |
0 commit comments