gateway api v1.1.1 experimental

GRPCRoute.spec.rules[].matches.method

Method specifies a gRPC request service/method matcher. If this field is not specified, all services and methods will match.

3 fields
GRPCRoute.spec.rules[].matches.method fields and descriptions
Field / TypeDescription
method
string

Value of the method to match against. If left empty or omitted, will match all services. At least one of Service and Method MUST be a non-empty string.

  • maxLength: 1024
service
string

Value of the service to match against. If left empty or omitted, will match any service. At least one of Service and Method MUST be a non-empty string.

  • maxLength: 1024
type
string

Type specifies how to match against the service and/or method. Support: Core (Exact with service and method specified) Support: Implementation-specific (Exact with method specified but no service specified) Support: Implementation-specific (RegularExpression)

  • enum: ["Exact","RegularExpression"]
  • default: "Exact"