Z3}&#34; exec \
  &#34;$(kubectl get pod --context=&#34;${CTX_R2_Z3}&#34; -n sample -l app=helloworld \
  -l version=region2.zone3 -o jsonpath=&#39;{.items[0].metadata.name}&#39;)&#34; \
  -n sample -c istio-proxy -- curl -sSL -X POST 127.0.0.1:15000/drain_listeners
</code></pre><p>从 <code>sleep</code> Pod 调用 <code>HelloWorld</code> 服务：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl exec --context=&#34;${CTX_R1_Z1}&#34; -n sample -c sleep \
  &#34;$(kubectl get