sigs.k8s.io/gateway-api@v1.0.0/examples/standard/traffic-splitting/traffic-split-3.yaml (about)

     1  #$ Used in:
     2  #$ - site-src/guides/traffic-splitting.md
     3  apiVersion: gateway.networking.k8s.io/v1beta1
     4  kind: HTTPRoute
     5  metadata:
     6    name: foo-route
     7    labels:
     8      gateway: prod-web-gw
     9  spec:
    10    hostnames:
    11    - foo.example.com
    12    rules:
    13    - backendRefs:
    14      - name: foo-v1
    15        port: 8080
    16        weight: 0
    17      - name: foo-v2
    18        port: 8080
    19        weight: 1