Open SergeiCherevko opened 3 days ago
@SergeiCherevko websockets are enabled by default for HTTPRoute
Im trying to increase connection limit websockets because default is 1024 and im overriding envoyproxy config
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
name: envoy-custom-config
namespace: xxx
spec:
provider:
type: Kubernetes
kubernetes:
envoyDeployment:
replicas: 15
container:
resources:
requests:
cpu: 1
memory: 1024Mi
limits:
cpu: 2
memory: 2048Mi
bootstrap:
type: Merge
value: |
static_resources:
clusters:
circuit_breakers:
thresholds:
- priority: HIGH
max_connections: 100000
max_pending_requests: 1000
max_requests: 100000
max_retries: 100000
But i see only 1 replica and it looks like config is not applied, may be you see any mistakes? How to override only circuit breakers and don't touch other settings because its too much
you can configure the BackendTrafficPolicy to configure circuitbreakers https://gateway.envoyproxy.io/docs/tasks/traffic/circuit-breaker/
I have a Kubernetes service pointing to 5 pods that need a WebSocket connection. This connection is expected to have high timeouts as it's for a game session that can last an hour or more.
I'm trying to set this up using Envoy Gateway. Here's the configuration I'm using:
Gateway Configuration:
HTTPRoute Configuration:
Custom Envoy Proxy Config:
Questions:
Do I need to use the Merge bootstrap to upgrade the connection? How can I configure it to support very long connections (an hour or more)?