sigs.k8s.io/gateway-api@v1.0.0/examples/standard/multicluster/httproute-location.yaml (about)

     1  #$ Used in:
     2  #$ - geps/gep-1748.md
     3  kind: HTTPRoute
     4  apiVersion: gateway.networking.k8s.io/v1beta1
     5  metadata:
     6    name: store
     7  spec:
     8    parentRefs:
     9    - name: external-http
    10    rules:
    11    - matches:
    12      - path:
    13          type: PathPrefix
    14          value: /west
    15      backendRefs:
    16      - group: multicluster.x-k8s.io
    17        kind: ServiceImport
    18        name: store-west
    19        port: 8080
    20    - matches:
    21      - path:
    22          type: PathPrefix
    23          value: /east
    24      backendRefs:
    25      - group: multicluster.x-k8s.io
    26        kind: ServiceImport
    27        name: store-east
    28        port: 8080
    29    - backendRefs:
    30      - group: multicluster.x-k8s.io
    31        kind: ServiceImport
    32        name: store
    33        port: 8080