v2 -o jsonpath={.items..metadata.name})
$ kubectl logs -f $V2_POD -c httpbin
&lt;none&gt;
</code></pre></li></ol><h2 id=mirroring-traffic-to-v2>Mirroring traffic to v2</h2><ol><li><p>Change the route rule to mirror traffic to v2:</p><pre><code class=language-bash data-expandlinks=true>$ kubectl apply -f - &lt;&lt;EOF
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: httpbin
spec:
  hosts:
    - httpbin
  http:
  - route:
    - destination:
        host: httpbin
        subset: 