<p>I've deployed a <a href="https://istio.io/" rel="nofollow noreferrer">Istio</a> VirtualService: </p>

<pre><code>apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: helloweb
spec:
  hosts:
    - 'helloweb.dev'
  gateways:
    - gateway
  http:
    - route:
      - destination:
          host: helloweb.default.svc.cluster.local
          port:
            number: 3000
</code></pre>

<p>and would like to display on the screen like:</p>

<pre><code>kubectl get svc
NAME              TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
greeter-service   ClusterIP   10.233.35.214   &lt;none&gt;        3000/TCP   4h38m
helloweb          ClusterIP   10.233.8.173    &lt;none&gt;        3000/TCP   4h38m
kubernetes        ClusterIP   10.233.0.1      &lt;none&gt;        443/TCP    8h
</code></pre>

<p>How to display the VirtualServices?</p>

softshipper
<p>Not sure if I understood your question correctly but if you want to just list virtual services you can do this:</p>

<pre><code>kubectl get virtualservices
</code></pre>

<p>VirtualService is just typical CRD.</p>
