sh -c &#39;echo &#34;port 9001&#34; | nc tcp-echo 9001&#39; | grep &#34;hello&#34; &amp;&amp; echo &#39;connection succeeded&#39; || echo &#39;connection rejected&#39;
hello port 9001
connection succeeded
</code></pre></li></ol><h2 id=clean-up>Clean up</h2><ol><li><p>Remove the namespace foo:</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl delete namespace foo
</code></pre></li></ol><nav id=see-also><h2>See also</h2><div class=see-also><div class=entry><p class=link><a data