ginx-app.yaml@)
$ kubectl apply -f &lt;(istioctl kube-inject -f @samples/https/nginx-app.yaml@)
</code></pre></div><p>确保该 pod 已经启动且正在运行</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl get pod
NAME                              READY     STATUS    RESTARTS   AGE
my-nginx-9dvet                    2/2       Running   0          1h
sleep-77f457bfdd-hdknx            2/2       Running   0          18h
</code></pre><p>运行</p><pre><code class=language-bash