istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/pilot/testdata/virtualservice.yaml (about)

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: VirtualService
     3  metadata:
     4    name: reviews
     5  spec:
     6    hosts:
     7    - "reviews"
     8    http:
     9    - route:
    10      - destination:
    11          host: reviews
    12          subset: v1
    13  ---
    14  apiVersion: v1
    15  kind: Service
    16  metadata:
    17    name: reviews
    18  spec:
    19    ports:
    20    - port: 9080
    21      name: http
    22      protocol: TCP
    23    selector:
    24      app: reviews