xianshun163 commented on issue #1230:
URL:
https://github.com/apache/apisix-ingress-controller/issues/1230#issuecomment-1207964068
I use another grpc server to make a test and it is ok , thanks.
/helloworld.Greeter/SayHello
here is my crd file, defile the ApisixUpstream after the ApisixRoute,
or it will make some mistake.
#apiVersion: apisix.apache.org/v2beta3
#kind: ApisixUpstream
#metadata:
# name: xsgrpc-service
#spec:
# scheme: grpc
apiVersion: apisix.apache.org/v2beta2
kind: ApisixRoute
metadata:
name: xsgrpc-proxy-route
spec:
http:
- name: xsgrpc-route
match:
paths:
- "/helloworld.Greeter/SayHello"
backends:
- serviceName: xsgrpc-service
servicePort: 50051
weight: 10
apiVersion: apisix.apache.org/v2beta3
kind: ApisixUpstream
metadata:
name: xsgrpc-service
spec:
scheme: grpc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]