Limit Connection on Pod

I would to limit each pod connection .

I have around 200k websocket connections and I would like limit connection on each pod to 2,4k because the application behind can`t use more.

It`s possible with Istio and Circuitbreaker ?

Mayby with connectionPool, I will test, but if anyone has already test.

Thx for replys.

api/destination_rule.proto at f0141fc155ed4413ea56697ac96934de925239d9 · istio/api · GitHub - Should help.

Thx :slight_smile:

I Have apply this :

connectionPool:
  http:
    http1MaxPendingRequests: 100
    http2MaxRequests: 2500
    maxRequestsPerConnection: 1