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/serving/configuration/config-defaults.md
+79Lines changed: 79 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ metadata:
20
20
data:
21
21
revision-timeout-seconds: "300"
22
22
max-revision-timeout-seconds: "600"
23
+
revision-response-start-timeout-seconds: "300"
24
+
revision-idle-timeout-seconds: "0"# infinite
23
25
revision-cpu-request: "400m"
24
26
revision-memory-request: "100M"
25
27
revision-ephemeral-storage-request: "500M"
@@ -100,6 +102,83 @@ If this value is increased, the activator's `terminationGracePeriodSeconds` shou
100
102
max-revision-timeout-seconds: "600"
101
103
```
102
104
105
+
### Revision response start timeout seconds
106
+
{% raw %}
107
+
The revision response start timeout value determines the maximum duration in seconds that the request routing layer will wait for a request delivered to a container to begin sending any network traffic. If omitted, the system default is used (300 seconds).
The revision idle timeout value determines the maximum duration in seconds a request will be allowed to stay open while not receiving any bytes from the user's application. If omitted, the system default is used (infinite).
147
+
{% endraw %}
148
+
149
+
* **Global key:** `revision-idle-timeout-seconds`
150
+
* **Per-revision spec key:** `idleTimeoutSeconds`
151
+
* **Possible values:** integer
152
+
* **Default:** `"0"` (infinite)
153
+
154
+
**Example:**
155
+
156
+
=== "Global (ConfigMap)"
157
+
```yaml
158
+
apiVersion: v1
159
+
kind: ConfigMap
160
+
metadata:
161
+
name: config-defaults
162
+
namespace: knative-serving
163
+
data:
164
+
revision-idle-timeout-seconds: "0"
165
+
```
166
+
167
+
=== "Per Revision"
168
+
```yaml
169
+
apiVersion: serving.knative.dev/v1
170
+
kind: Service
171
+
metadata:
172
+
name: helloworld-go
173
+
namespace: default
174
+
spec:
175
+
template:
176
+
spec:
177
+
idleTimeoutSeconds: 0
178
+
containers:
179
+
- image: ghcr.io/knative/helloworld-go:latest
180
+
```
181
+
103
182
### Revision CPU request
104
183
{% raw %}
105
184
The `revision-cpu-request` value determines the CPU allocation assigned to revisions by default. If this value is omitted, the system default is used. This key is not enabled by default for Knative.
0 commit comments