apply-weight-based-tcp-routing>Apply weight-based TCP routing</h2><ol><li><p>Route all TCP traffic to the <code>v1</code> version of the <code>tcp-echo</code> microservice.</p><div><a data-skipendnotes=true style=display:none href=https://raw.githubusercontent.com/istio/istio/release-1.7/samples/tcp-echo/tcp-echo-all-v1.yaml>Zip</a><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl apply -f @samples/tcp-echo/tcp-echo-all-v1.yaml@ -n istio-io-tcp-traffic-shifting
</code></pre></di