related with the issue Set ignore_port_in_host_matching or strip_any_host_port in Istio EnvoyFilter
How can we set route configuration with
strip_any_host_port to envoy proxy?
With EnvoyFilter, we don’t know how to config those configuration.
The EnvoyFilter document is hard to read and understood.
Our codes below,
- applyTo: ROUTE_CONFIGURATION match: context: SIDECAR_OUTBOUND routeConfiguration: vhost: route: action: ANY patch: operation: MERGE value: name: envoy.config.route.v3.RouteConfiguration ignore_port_in_host_matching: true
But it doesn’t work at all.
is there any way to ignore port when match cluster with istio configuration?
We want the cluster matching to ignore the outbound’s port, and the request can be re-routed to other cluster by modifying the request’s host in Lua filter.
Any help is appreciated.