<p>I am trying to mirror traffic to two copies of the same service in different namespaces. I can access both services by curling their FQDN from a pod running in the default namespace but when i apply the following virtual service nothing gets mirrored. What am i doing wrong?</p>
<pre><code>apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: testservice-virtual-service
spec:
  hosts:
  - testservice.default.svc.cluster.local
  gateways:
  - istio-system/my-gateway
  http:
  - route:
    - destination:
        host: testservice.default.svc.cluster.local
      weight: 100
    mirror:
        host: testservice.staging.svc.cluster.local
    mirrorPercentage:
        value: 100.0
</code></pre>
<p><strong>EDIT</strong> - I have tried adding just the service from the default namespace using the FQDN to the hosts field as well as adding both the default and staging namespace services using the FQDN and still do not see any traffic being mirrored to the staging service.</p>

arezee
<p>I have posted community wiki answer for better visibility.</p>
<p>As OP has mentioned in the comment, the problem is resolved:</p>
<blockquote>
<p>I was doing something extremely stupid and did not have istio enabled in the default namespace.</p>
</blockquote>
