istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/bookinfo/networking/fault-injection-details-v1.yaml (about)

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: VirtualService
     3  metadata:
     4    name: details
     5  spec:
     6    hosts:
     7    - details
     8    http:
     9    - fault:
    10        abort:
    11          httpStatus: 555
    12          percentage:
    13            value: 100
    14      route:
    15      - destination:
    16          host: details
    17          subset: v1
    18    - route:
    19      - destination:
    20          host: details
    21          subset: v1
    22  ---
    23  apiVersion: networking.istio.io/v1alpha3
    24  kind: DestinationRule
    25  metadata:
    26    name: details
    27  spec:
    28    host: details
    29    subsets:
    30    - name: v1
    31      labels:
    32        version: v1