<a data-skipendnotes=true style=display:none href=https://raw.githubusercontent.com/istio/istio/release-1.18/samples/httpbin/httpbin.yaml>Zip</a><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl create ns foo
$ kubectl label ns foo istio-injection=enabled
$ kubectl apply -f @samples/httpbin/httpbin.yaml@ -n foo
$ kubectl apply -f @samples/sleep/sleep.yaml@ -n foo
</code></pre></div></li><li><p>启用代理调试级别日志以检查模拟运行日志结果：</p><pre><code class