google-cloud-run

Is it posible to expose 5001 (HTTP) and 5672 (TCP) ports in a Cloud Run Service?

我的梦境 提交于 2020-12-15 02:55:39
问题 I am setting up a solution in Google Cloud. I need a RabbitMQ queue broker and a WebAPI developed in .NET Core 2.2. The idea is for the WebAPI to connect to RabbitMQ to receive messages. I have mounted RabbitMQ with GKE in a cluster of kubernetes with RabbitMQ Cluster, obtained in Marketplace. I have mounted the WebAPI in Cloud Run. Both components are raised in a standard way, without any particularity for publication. The WebAPI uses port 5001 for HTTP traffic, and apparently the listener

Does cloudrun on GKE support websockets?

心已入冬 提交于 2020-12-12 10:22:07
问题 This is my first time using GCP, and I'm trying to put my project on production, and I'm running into problems with getting websocket communication working. I've been googling around and I'm super unclear on if cloud run on GKE supports inbound/outbound websocket connections. The limitations docs say that cloud run fully managed does not work with inbound websockets, but does not say anything about cloud run on gke having issues with websockets. I can post my ingress config and stuff, not

Unable to deploy Ubuntu 20.04 Docker container on Google Cloud Run

你离开我真会死。 提交于 2020-12-05 11:44:54
问题 I'm trying to deploy a simple Python-based Docker container based on Ubuntu 20.04 via Google Cloud Run. I've successfully built the image, but when I try to deploy the Cloud Run service, I get the following error (project details omitted): Cloud Run error: Invalid argument error. Invalid ENTRYPOINT. [name: "gcr.io/{PROJECT_ID}/{SERVICE_NAME}@sha256:{HASH}" error: "Invalid command \"/bin/sh\": fil e not found" e not found" ]....failed Deployment failed What's strange, though, is if I pull and

Unable to deploy Ubuntu 20.04 Docker container on Google Cloud Run

孤者浪人 提交于 2020-12-05 11:43:29
问题 I'm trying to deploy a simple Python-based Docker container based on Ubuntu 20.04 via Google Cloud Run. I've successfully built the image, but when I try to deploy the Cloud Run service, I get the following error (project details omitted): Cloud Run error: Invalid argument error. Invalid ENTRYPOINT. [name: "gcr.io/{PROJECT_ID}/{SERVICE_NAME}@sha256:{HASH}" error: "Invalid command \"/bin/sh\": fil e not found" e not found" ]....failed Deployment failed What's strange, though, is if I pull and

How to generate a Blob signed url in Google Cloud Run?

只谈情不闲聊 提交于 2020-11-29 02:55:31
问题 Under Google Cloud Run, you can select which service account your container is running. Using the default compute service account fails to generate a signed url. The work around listed here works on Google Cloud Compute -- if you allow all the scopes for the service account. There does not seem to be away to do that in Cloud Run (not that I can find). https://github.com/googleapis/google-auth-library-python/issues/50 Things I have tried: Assigned the service account the role: roles/iam

How to generate a Blob signed url in Google Cloud Run?

空扰寡人 提交于 2020-11-29 02:54:22
问题 Under Google Cloud Run, you can select which service account your container is running. Using the default compute service account fails to generate a signed url. The work around listed here works on Google Cloud Compute -- if you allow all the scopes for the service account. There does not seem to be away to do that in Cloud Run (not that I can find). https://github.com/googleapis/google-auth-library-python/issues/50 Things I have tried: Assigned the service account the role: roles/iam