My server is supporting reflection and deployed to GCP CloudRun.

How to run the same command to list the service hosted in CloudRun?
I can get the endpoint like this:

ENDPOINT=$(\
gcloud run services list \
--project=${GCP_PROJECT} \
--platform=managed \
--format="value(status.address.url)" \
--filter="metadata.name=${GCP_SVC_NAME}") 
ENDPOINT=${ENDPOINT#https://} && echo ${ENDPOINT}

The result looks like this:
grpc-cloud-run-example-server-xxx-xx.x.run.app

The grpcurl for listing the services is documented like this: 
grpcurl localhost:8080 list

It is expecting the port number. In cloud run 8080 is the port number of 
the service but 
externally it is 443 because of TLS.

How to list the services in that case?


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/113cc60a-155b-492a-813a-bd31f5f4c1fdn%40googlegroups.com.

Reply via email to