ctl apply -f -
serviceaccount/sleep created
service/sleep created
deployment.apps/sleep created
</code></pre></div><p>验证 Sidecar 是否已经被注入到 READY 列下 <code>2/2</code> 的 Sleep Pod 中。</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl get pod  -l app=sleep
NAME                     READY   STATUS    RESTARTS   AGE
sleep-64c6f57bc8-f5n4x   2/2     Running   0          24s
</code></pre><h2 id=customizing-injection>自定义注入</h2><p>通常，Pod 的�