New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example using grpc and http2 #39
Comments
Something like this should work: https://github.com/caiofilipini/grpc-weather/
|
@aledbf I haven't tried, but does this work? I recently tried using a different upstream grpc service and requests kept failing because of connection reset by peer. |
@krancour works if you use the |
@aledbf ahhh... thanks! I will try that. |
can a grpc server listen on port 80? More specifically - how can ssl-passthrough be configured for port 80? |
@philipithomas I just answered this in your issue :) |
For others following this trail, the other issue is #923. |
I would like to use an nginx ingress controller to expose a grpc-gateway service. The gRPC services are on 8080 and the REST gateway on 9090. apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
ingress.kubernetes.io/ssl-redirect: "true"
name: diablo-http
namespace: nimbus
spec:
rules:
- host: diablo.caas.net
http:
paths:
- path: /
backend:
serviceName: diablo
servicePort: 9090
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
ingress.kubernetes.io/ssl-passthrough: "true"
name: diablo-grpc
namespace: nimbus
spec:
rules:
- host: diablo-rpc.caas.net
http:
paths:
- path: /
backend:
serviceName: diablo
servicePort: 8080 A HTTP request to diablo.caas.net works fine, but the CLI which use the gRPC backend is not working with diablo-rpc.caas.net. |
This issue was moved to kubernetes/ingress-gce#18 |
Today NGINX released a new version with support for gRPC |
@aledbf is there a way of receiving an I'd like to keep the protocol as HTTP/2 not HTTP/1.1 between NGINX Ingress Controller and the pod. Any way of achieving this? |
No description provided.
The text was updated successfully, but these errors were encountered: