Support gRPC for cloud run services
Runway currently supports cloud run services using HTTPS
. However, for services to use gRPC endpoints, we need provide the following support:
- Enable
port.name = h2c
in cloud run service (https://cloud.google.com/run/docs/configuring/http2#setting) terraform provider - Provide options to set
HTTP2
for protocol in google_compute_backend_service
Refer to https://cloud.google.com/run/docs/triggering/grpc: Google recommends configuring your service to use HTTP/2 if you use gRPC with Cloud Run. Although some simple gRPC features work without using HTTP/2, many gRPC features, such as streaming and metadata, require HTTP/2.
Edited by Sylvester Chin