al-setup/sidecar-injection/#automatic-sidecar-injection>Sidecar 的自动注入功能</a>，运行：</p><div><a data-skipendnotes=true style=display:none href=https://raw.githubusercontent.com/istio/istio/release-1.7/samples/sleep/sleep.yaml>Zip</a><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl apply -f @samples/sleep/sleep.yaml@
</code></pre></div><p>否则在部署 <code>sleep</code> 应用之前，您必须手动注入 Sidecar。</p><div><a data-skipendnotes=true style=di