ly -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 &#34;port 9000&#34; | nc tcp-echo 9000&#39; | grep &#34;