I have an application that exposes two listening ports, one for REST over HTTP and another via gRPC over HTTP/2.
Currently we have a single transparent hardware Load balancer URL that forwards ALL external traffic to a single internal port (a linkerd configured as a API gateway) on a set of servers. Clients want use the hardware load Balancer URL for both HTTP and gRPC calls.
- Does linkerd support http and h2 protocols on the same port, ala protocol detection if they are defined in the configuration (I think not, but …)?
- If (1) is True, will linkerd respect the Connection Upgrade header from an http call and redirect to the h2 protocol router?
- If (1) is False, and we only declare h2 protocol router entries , will linkerd serve clients that do not ask for a Connection Upgrade.
I think the best would be to have different listening ports for the protocols, but I have to explore all possibilities.