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

     1  #$ Used in:
     2  #$ - geps/gep-1748.md
     3  kind: HTTPRoute
     4  apiVersion: gateway.networking.k8s.io/v1beta1
     5  metadata:
     6    name: api
     7  spec:
     8    parentRefs:
     9    - name: api-gw
    10    rules:
    11    - matches:
    12      - method: POST
    13      - method: PUT
    14      - method: DELETE
    15      backendRefs:
    16      - group: multicluster.x-k8s.io
    17        kind: ServiceImport
    18        name: api-primary
    19        port: 8080
    20    - backendRefs:
    21      - group: multicluster.x-k8s.io
    22        kind: ServiceImport
    23        name: api-replicas
    24        port: 8080