 kube-inject -f @samples/tcp-echo/tcp-echo.yaml@) -n foo
$ kubectl apply -f &lt;(istioctl kube-inject -f @samples/sleep/sleep.yaml@) -n foo
</code></pre></div></li><li><p>Verify that <code>sleep</code> successfully communicates with <code>tcp-echo</code>on ports 9000 and 9001
using the following command:</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl exec &#34;$(kubectl get pod -l app=sleep -n foo -o jsonpath={.items..metadata.name})&#34; -c sleep -n foo -- sh -c &#39;echo