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/virtualserver-and-virtualserverroute.md
+19
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,25 @@ tls:
221
221
| `buffers` | Configures the buffers used for reading a response from the upstream server for a single connection. The buffers field configures the buffers used for reading a response from the upstream server for a single connection: number: 4 size: 8K . See the [proxy_buffers](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers) directive for additional information. | `buffers` | No |
222
222
| `buffer-size` | Sets the size of the buffer used for reading the first part of a response received from the upstream server. See the [proxy_buffer_size](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffer_size) directive. The default is set in the `proxy-buffer-size` ConfigMap key. | `string` | No |
223
223
224
+
### Upstream.Buffers
225
+
Buffers defines Buffer Configuration for an Upstream. The buffers field configures the buffers used for reading a response from the upstream server for a single connection. For example
226
+
227
+
```yaml
228
+
name: tea
229
+
service: tea-svc
230
+
port: 80
231
+
buffering: true
232
+
buffers:
233
+
number: 4
234
+
size: 8K
235
+
buffer-size: 16k
236
+
```
237
+
238
+
| Field | Description | Type | Required |
239
+
| ----- | ----------- | ---- | -------- |
240
+
| `number` | Configures the number of buffers. The default is set in the `proxy-buffers` ConfigMap key. The default is 8 | `int` | Yes |
241
+
| `size` | Configures the size of a buffer. The default is set in the `proxy-buffers` ConfigMap key. Sizes can be specified in bytes, kilobytes (suffixes k and K) or megabytes (suffixes m and M), for example, “1024”, “8k”, “1m”. The default is 4k | `string` | Yes |
0 commit comments