This how-to document will show you how to configure routes to services exposing multiple
ports through a single
Consider a backend service (named
tcp-echo) which exposes two ports, port
9000 and port
9001 over TCP. The service
has two versions
v2 and traffic splitting needs to be achieved between these two versions for both the
ports. In order to achieve this, a
ServiceRoute with port settings for both the ports needs to be configured.
You will need to deploy the
tcp-echo application from the Istio's samples directory into the echo namespace.
Install these manifests to deploy