How to configure gRPC protocol listener on Service Mesh envoyProxy sidecar

Solution Verified - Updated -

Issue

gRPC applications using bi-directional streams between client and server causes huge memory usage from istio-proxy envoy sidecar.
Even when using circuit breaker to implement http2MaxRequests the sidecar keeps consuming memory until its limits.
In order to make it work the sidecar memory limits have to be increase to values that are not acceptable and the default value of 2Gi causes the container to constantly crash.

Environment

OpenShift Container Platform 4.6+
OpenShift Service Mesh v1.1 and v2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content