sigs.k8s.io/gateway-api@v1.0.0/examples/experimental/v1alpha2/grpc-routing/foo-grpcroute.yaml (about)

     1  #$ Used in:
     2  #$ - site-src/guides/grpc-routing.md
     3  apiVersion: gateway.networking.k8s.io/v1alpha2
     4  kind: GRPCRoute
     5  metadata:
     6    name: foo-route
     7  spec:
     8    parentRefs:
     9    - name: example-gateway
    10    hostnames:
    11    - "foo.example.com"
    12    rules:
    13    - matches:
    14      - method:
    15          service: com.example
    16          method: Login
    17      backendRefs:
    18      - name: foo-svc
    19        port: 50051