a3
kind: VirtualService
metadata:
  name: myservice
spec:
  hosts:
  - myservice.com
  exportTo:
  - &#34;.&#34;
  http:
  - route:
    - destination:
        host: myservice
</code></pre><div><aside class="callout tip"><div class=type><svg class="large-icon"><use xlink:href="/v1.20/img/icons.svg#callout-tip"/></svg></div><div class=content>You can similarly control the visibility of a Kubernetes <code>Service</code> using the <code>networking.istio.io/exportTo</code> annotation.</div></aside></div><p>Setti