Per connection buffer limit of envoy seems to be 1MB. If the response is more than that, envoy returns 500.
How can I increase configure this limit with envoyfilter?
do you want to configure buffer limit in envoy proxy Listener or cluster scope?
And then you can use envoy filter to configure it.
1 Like
Needed it for a listener. was able to achieve this with envoyfilter.
@ethicalaakash if possible can you share your EnvoyFilter yaml ?
@Pramod_Kumar here’s my envoy filter:
---
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: increasebufferlimit
spec:
configPatches:
- applyTo: LISTENER
ListenerMatch: 0.0.0.0_8080
patch:
operation: MERGE
value:
per_connection_buffer_limit_bytes: 100000000 #100MB
2 Likes
Thanks @ethicalaakash That worked perfectly!!