istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/tcp-echo/gateway-api/tcp-echo-20-v2.yaml (about)

     1  apiVersion: gateway.networking.k8s.io/v1alpha2
     2  kind: TCPRoute
     3  metadata:
     4    name: tcp-echo
     5  spec:
     6    parentRefs:
     7    - name: tcp-echo-gateway
     8      sectionName: tcp-31400
     9    rules:
    10    - backendRefs:
    11      - name: tcp-echo-v1
    12        port: 9000
    13        weight: 80
    14      - name: tcp-echo-v2
    15        port: 9000
    16        weight: 20