 to all namespaces by default,
but you can override the visibility with the <code>exportTo</code> field.
For example, only requests from workloads in the same namespace can be affected by the following virtual service:</p><pre><code class=language-yaml data-expandlinks=true data-repo=istio>apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: myservice
spec:
  hosts:
  - myservice.com
  exportTo:
  - &#34;.&#34;
  http:
  - route:
    - destination:
        host: myservice
</code><