istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/bookinfo/gateway-api/route-all-v1.yaml (about)

     1  apiVersion: gateway.networking.k8s.io/v1beta1
     2  kind: HTTPRoute
     3  metadata:
     4    name: reviews
     5  spec:
     6    parentRefs:
     7    - group: ""
     8      kind: Service
     9      name: reviews
    10      port: 9080
    11    rules:
    12    - backendRefs:
    13      - name: reviews-v1
    14        port: 9080
    15  ---
    16  apiVersion: gateway.networking.k8s.io/v1beta1
    17  kind: HTTPRoute
    18  metadata:
    19    name: productpage
    20  spec:
    21    parentRefs:
    22    - group: ""
    23      kind: Service
    24      name: productpage
    25      port: 9080
    26    rules:
    27    - backendRefs:
    28      - name: productpage-v1
    29        port: 9080
    30  ---
    31  apiVersion: gateway.networking.k8s.io/v1beta1
    32  kind: HTTPRoute
    33  metadata:
    34    name: ratings
    35  spec:
    36    parentRefs:
    37    - group: ""
    38      kind: Service
    39      name: ratings
    40      port: 9080
    41    rules:
    42    - backendRefs:
    43      - name: ratings-v1
    44        port: 9080
    45  ---
    46  apiVersion: gateway.networking.k8s.io/v1beta1
    47  kind: HTTPRoute
    48  metadata:
    49    name: details
    50  spec:
    51    parentRefs:
    52    - group: ""
    53      kind: Service
    54      name: details
    55      port: 9080
    56    rules:
    57    - backendRefs:
    58      - name: details-v1
    59        port: 9080
    60  ---