命令
查找 GCE 实例的 IP 地址：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ export GCE_IP=$(gcloud --format=&#34;value(networkInterfaces[0].networkIP)&#34; compute instances describe ${GCE_NAME})
$ echo ${GCE_IP}
</code></pre></li><li><p>将 VM 服务添加到网格</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ istioctl experimental add-to-mesh external-service vmhttp ${VM_IP} http:8080 -n ${SERVICE_NAMESPACE}
</code></pre><div><aside class=