Skip to content

Commit cf8add2

Browse files
committed
Add BackendTrafficPolicy configuration for clusterplex with updated timeout settings and websocket support
1 parent bbd08b2 commit cf8add2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

clusters/talos-ottawa/apps/media/app/plex/backendtrafficpolicy.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,26 @@ spec:
1212
- type: websocket
1313
connection:
1414
bufferLimit: 32768
15+
timeout:
16+
http:
17+
connectionIdleTimeout: 900s
18+
maxConnectionDuration: 0s # unlimited
19+
requestTimeout: 0s # unlimited for streaming
20+
---
21+
apiVersion: gateway.envoyproxy.io/v1alpha1
22+
kind: BackendTrafficPolicy
23+
metadata:
24+
name: clusterplex-upgrade-policy
25+
namespace: tailscale-examples
26+
spec:
27+
targetRef:
28+
group: gateway.networking.k8s.io
29+
kind: HTTPRoute
30+
name: clusterplex
31+
httpUpgrade:
32+
- type: websocket
33+
connection:
34+
bufferLimit: 32768
1535
timeout:
1636
http:
1737
connectionIdleTimeout: 900s

0 commit comments

Comments
 (0)