Skip to content

Commit ff5ab61

Browse files
committed
manifest modifications to enable duplex streaming
1 parent 0aa142d commit ff5ab61

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

config/manifests/gateway/enable_patch_policy.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ data:
1919
extensionApis:
2020
enableEnvoyPatchPolicy: true
2121
enableBackend: true
22-
# admin:
23-
# enablePprof: true
24-
# address:
25-
# host: 127.0.0.1
26-
# port: 19000
27-
# enabledDumpConfig: true
22+
admin:
23+
enablePprof: true
24+
address:
25+
host: 127.0.0.1
26+
port: 19000
27+
enabledDumpConfig: true

config/manifests/gateway/extension_policy.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ spec:
1111
name: inference-gateway-ext-proc
1212
port: 9002
1313
processingMode:
14+
allowModeOverride: true
1415
request:
1516
body: Buffered
1617
response:

config/manifests/gateway/patch_policy.yaml

+13-1
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,22 @@ spec:
4848
typed_config:
4949
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext"
5050
common_tls_context: {}
51-
5251
- type: "type.googleapis.com/envoy.config.route.v3.RouteConfiguration"
5352
name: default/inference-gateway/llm-gw
5453
operation:
5554
op: replace
5655
path: "/virtual_hosts/0/routes/0/route/cluster"
5756
value: original_destination_cluster
57+
# - type: "type.googleapis.com/envoy.config.listener.v3.Listener"
58+
# name: "default/inference-gateway/llm-gw"
59+
# operation:
60+
# op: add
61+
# path: "/default_filter_chain/filters/0/typed_config/http_filters/0/typed_config/processing_mode/request_body_mode"
62+
# #value: FULL_DUPLEX_STREAMED
63+
# value: BUFFERED
64+
# - type: "type.googleapis.com/envoy.config.listener.v3.Listener"
65+
# name: "default/inference-gateway/llm-gw"
66+
# operation:
67+
# op: add
68+
# path: "/default_filter_chain/filters/0/typed_config/http_filters/0/typed_config/processing_mode/request_trailer_mode"
69+
# value: SEND

0 commit comments

Comments
 (0)