
  host: reviews.default.svc.cluster.local
  trafficPolicy:
    tls:
      mode: ISTIO_MUTUAL
  subsets:
  - name: v1
    labels:
      version: v1
  - name: v2
    labels:
      version: v2
  - name: v3
    labels:
      version: v3
EOF
</code></pre><h2 id=create-a-destination-rule-on-both-clusters-for-the-local-reviews-service>创建 <code>VirtualService</code> 来路由 <code>reviews</code> 服务的流量</h2><p>目前所有调用 <code>reviews</code> 服务的流量都会进入本地的 <code>reviews</