I am trying to setup an nginx kubernetes ingress. I am able to serve http and websockets content on different routes at the moment.
However I am not able to add GRPC routes on the same host. Adding this annotation nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
breaks the existing routes.
My java GRPC client exits with
Caused by: io.grpc.netty.shaded.io.netty.handler.codec.http2.Http2Exception: First received frame was not SETTINGS. Hex dump for first 5 bytes: 485454502f
According to https://github.com/grpc/grpc-java/issues/2905 this means the request is seen as HTTP
Is there a way to have http/websocket/grpc routes on the same host using the nginx kubernetes ingress? Alternatively, is there another ingress with which this would work?