-inject -f @samples/sleep/sleep.yaml@) -n bar
</code></pre></div></li><li><p>Create another namespace, <code>legacy</code>, and deploy <a href=https://github.com/istio/istio/tree/release-1.9/samples/sleep>sleep</a> without a sidecar:</p><div><a data-skipendnotes=true style=display:none href=https://raw.githubusercontent.com/istio/istio/release-1.9/samples/sleep/sleep.yaml>Zip</a><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl create ns legacy
$ kubectl apply -f @samples/sleep/