Skip to content

Buffering Middleware

Appears in

  • .Values.middlewares.$name.data

maxRequestBodyBytes

Define the maxRequestBodyBytes

Keymiddlewares.$name.data.maxRequestBodyBytes
Typeint
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
maxRequestBodyBytes: 1024

memRequestBodyBytes

Define the memRequestBodyBytes

Keymiddlewares.$name.data.memRequestBodyBytes
Typeint
Required
Helm tpl
Default-
middlewares:
middleware-name:
data:
memRequestBodyBytes: 1024

maxResponseBodyBytes

Define the maxResponseBodyBytes

Keymiddlewares.$name.data.maxResponseBodyBytes
Typeint
Required
Helm tpl
Default-
middlewares:
middleware-name:
data:
maxResponseBodyBytes: 1024

memResponseBodyBytes

Define the memResponseBodyBytes

Keymiddlewares.$name.data.memResponseBodyBytes
Typeint
Required
Helm tpl
Default-
middlewares:
middleware-name:
data:
memResponseBodyBytes: 1024

retryExpression

Define the retryExpression

Keymiddlewares.$name.data.retryExpression
Typestring
Required
Helm tpl
Default-
middlewares:
middleware-name:
data:
retryExpression: "some-expression"

Full Examples

middlewares:
middleware-name:
enabled: true
type: buffering
data:
maxRequestBodyBytes: 1024
memRequestBodyBytes: 1024
maxResponseBodyBytes: 1024
memResponseBodyBytes: 1024
retryExpression: "some-expression"