Skip to content

Instantly share code, notes, and snippets.

@nrjpoddar
Last active February 5, 2024 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nrjpoddar/a3ad7691309bd51c49e912cfe974028f to your computer and use it in GitHub Desktop.
Save nrjpoddar/a3ad7691309bd51c49e912cfe974028f to your computer and use it in GitHub Desktop.
Envoy
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: outbound-max-streams
spec:
workloadSelector:
labels:
app: reviews
configPatches:
- applyTo: CLUSTER
match:
context: SIDECAR_OUTBOUND
cluster:
service: "productpage.default.svc.cluster.local"
patch:
operation: MERGE
value:
typed_extension_protocol_options:
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions":
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions"
explicit_http_config:
http2_protocol_options:
max_concurrent_streams: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment