uest-routing-2-0-panel role=tabpanel tabindex=0 aria-labelledby=tabset-zhdocstaskstraffic-managementrequest-routing-2-0-tab><pre><code class=language-bash data-expandlinks=true data-outputis=yaml data-repo=istio>$ kubectl get virtualservices -o yaml
- apiVersion: networking.istio.io/v1beta1
  kind: VirtualService
  ...
  spec:
    hosts:
    - details
    http:
    - route:
      - destination:
          host: details
          subset: v1
- apiVersion: networking.istio.io/v1beta1
  kind: VirtualService
  ..