Ingress-nginx: Feature Request: support gRPC over plaintext (non-TLS)

Created on 15 Mar 2019  路  11Comments  路  Source: kubernetes/ingress-nginx

Since NGINX does support gRPC over plaintext (non-TLS), and why ingress-nginx does not support it? Ingress-nginx can listen on a new http2 port, and proxy grpc requests to grpc backend services.

kinfeature lifecyclrotten

Most helpful comment

That said, we could add a new annotation where we enable http2 in the listen section of port 80 but that means all the ingresses/paths for that server will not be available for HTTP/1.x clients

All 11 comments

NGINX does not support HTTP/1.x and HTTP/2 at the same time on a cleartext (non-TLS) port.
Because of that we cannot support gRPC over port 80. Closing.

That said, we could add a new annotation where we enable http2 in the listen section of port 80 but that means all the ingresses/paths for that server will not be available for HTTP/1.x clients

I know that NGINX does not support HTTP/1.x and HTTP/2 at the same time on a cleartext (non-TLS) port, and it would be great if we can listen on a new port (e.g. 8080).

and it would be great if we can listen on a new port (e.g. 8080).

Sorry but no, Ingress is about port 80 and 443. If we add this feature it will be as described in the previous comment.

@aledbf This would be a good compromise. We'd like to be able to use http2 non-tls ingress and have no need for 1.1.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

Has there been any development here? We would also like to support both GRPC (HTTP/2) and HTTP/1.1 plaintext on the same port.

Hi all, any news for this topic?

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Was this page helpful?
0 / 5 - 0 ratings