sigs.k8s.io/gateway-api@v1.0.0/examples/experimental/traffic-splitting/grpc-traffic-split-2.yaml (about) 1 #$ Used in: 2 #$ - site-src/api-types/grpcroute.md 3 apiVersion: gateway.networking.k8s.io/v1alpha2 4 kind: GRPCRoute 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: 50051 16 weight: 90 17 - name: foo-v2 18 port: 50051 19 weight: 10