Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
3k views

Authentication for Cloud Scheduler calling Cloud Run service

I got a Cloud Run service than executes some background tasks, and I need it to do so every 15 minutes. I'm using a Cloud Scheduler Job, which perfectly fits my needs, to call the HTTP endpoint ...
Dario Ielardi's user avatar
0 votes
1 answer
125 views

How to integrate with Pub/Sub using Cloud Run on GKE

I'm stuck on using cloud run on GKE with pub/sub integration, here's my attempt and where I'm stuck at: 0) Following https://cloud.google.com/run/docs/tutorials/pubsub#run_pubsub_server 1) I'm using ...
the pillow's user avatar
2 votes
1 answer
487 views

Routing in cloud run: equivalent of dispatch.yaml / replacement service for cloud run

Any suggestions for an equivalent routing service for cloud-run, similar to dispatch.yaml for app engine? We'd like the flexibility of (temporarily) sending traffic to a different service based on ...
luke's user avatar
  • 515
0 votes
0 answers
393 views

Websocket request error on Cloud Run on GKE

Just deployed a cloud run on GKE (version 1.13.6-gke.6) service following this: https://cloud.google.com/run/docs/deploying Code were similar to https://cloud.google.com/appengine/docs/flexible/...
waynetan413's user avatar
0 votes
1 answer
1k views

Cloud Run: Connecting to Cloud SQL instances

I am unable to connect to a Cloud SQL instance when running an image on Cloud Run. Is this feature working yet? I have successfully connected to the same SQL instance with Compute Engine. Tried to ...
James Greenaway's user avatar
1 vote
1 answer
674 views

I can't configure Google Cloud Endpoints with Google Cloud Run

I'm trying to configure Google Cloud Endpoint for Google Cloud Run. I'm using the Google Cloud SDK version 250.0.0 (the latest available) and I'm on Ubuntu 18.04. I'm following this guide: https://...
chicco.caste21's user avatar
1 vote
1 answer
363 views

gcloud beta run configurations update: command not found

I have been following this article to configure Endpoints for functions. I am stuck at the following command gcloud beta run configurations update \ --service CLOUD_RUN_SERVICE_NAME \ --set-...
niklodeon's user avatar
  • 1,390
5 votes
2 answers
6k views

Does Google Cloud Run memory limit apply to the container size?

For cloud run's memory usage from the docs (https://cloud.google.com/run/docs/configuring/memory-limits) Cloud Run applications that exceed their allowed memory limit are terminated. When you ...
the pillow's user avatar
4 votes
0 answers
1k views

google-cloud-pubsub push continues to retry even after getting HTTP 200/202/204

We publish a message using google-cloud-pubsub topic which has a cloud run push subscription. The cloud run service acknowledges the message as soon as it receives it by sending a 204/200. Despite ...
Tuhin Kanti Sharma's user avatar
0 votes
1 answer
1k views

Is it possible to use Google Cloud Run to Docker Pull?

Is it possible to use Google Cloud Run to perform a Docker Pull and host an image such as a document or graph database? Can we attach a volume where the data is persisted?
David's user avatar
  • 85
2 votes
1 answer
4k views

How to deploy an UDP server @ Google Cloud Run

I am quite new at Docker and Cloud Run, so maybe I am missing something. I've developed an UDP server and generate its docker container. When I try it locally it works like charm.... but when I try ...
Luis's user avatar
  • 21
1 vote
1 answer
495 views

How to access firebase-functions environment configuration from Cloud Run

I'm migrating a Firebase Function to Cloud Run. Everything is working as expected so far, including the Firebase Hosting link (which is great!). I'm just not sure how I should read the environment ...
mhuebert's user avatar
2 votes
2 answers
399 views

Node Express REST hosted in Google Cloud Run

I am thinking of setting up Google Cloud Run to host Docker container services. If the existing service is a Node - Express REST service listening on a port, do I need to remove Express, so it isn't ...
David's user avatar
  • 85
8 votes
1 answer
6k views

Google Cloud Functions with socket.io [closed]

My understanding is that to establish a persistent socket connection using socket.io the Node.js server should be always running. With Google Cloud Functions there isn't an always running Node.js ...
vovahost's user avatar
  • 36.1k
5 votes
2 answers
744 views

Request Cancellation is not propagated to cloud run container

When an HTTP request sent to a cloud run service is cancelled by the initiating service, the cancelled/closed connection is not propagated to the request that is being serviced inside the cloud run ...
Thomas Bonfort's user avatar
3 votes
1 answer
2k views

Cannot Deploy the container image to Cloud Run

I am getting the following "permission denied" error when trying to deploy an image to Cloud Run: Application failed to start: Failed to create init process: Failed to load /usr/local/bin/dumb-...
Amit Agarwal's user avatar
  • 11.3k
0 votes
0 answers
44 views

GKE CloudRun - resource control on request level

I wonder how to increase the number of CPU cores available per individual request on GKE based CloudRun deployed container. While it is possible to specify --cpu option to control service limit, I ...
Adrian's user avatar
  • 2,123
0 votes
1 answer
836 views

Cloud run failed to start because of invalid SQL Cloud configuration

I followed the documentation to enable SQL Cloud from a Cloud run. But according to the documentation: Your container instances are now able to connect to Cloud SQL via the Cloud SQL proxy that is ...
LMM's user avatar
  • 37
1 vote
3 answers
1k views

How to redirect http:// to https:// like firebase hosting

Firebase hosting already had https:// redirects, in the firebase.json. I have an Angular app, and to prepare for SSR, I migrated from firebase hosting to Cloud Run. At first I didn't know whether I ...
Jeremy Sistrunk's user avatar
0 votes
0 answers
240 views

Cloudrun on GKE - Restart issue

I'm trying to implement long-running tasks to be scheduled on a GKE cluster and executed by CloudRun. The problem I faced was that my container sort of re-ran the code, on the same 'pod', halfway ...
DUDANF's user avatar
  • 3,010
0 votes
2 answers
1k views

Simple HelloWorld app on cloudrun (or knative) seems too slow

I deployed a sample HelloWorld app on Google Cloud Run, which is basically k-native, and every call to the API takes 1.4 seconds at best, in an end-to-end manner. Is it supposed to be so? The sample ...
jin c's user avatar
  • 33
3 votes
2 answers
3k views

Cloud Run Memory Restriction

How do I get a Cloud Run container that uses more than 2 GB run on custom GKE cluster? Since Cloud Run uses knative, I wonder if it is possible to tweak deployment describtor with more allocated/...
Adrian's user avatar
  • 2,123
14 votes
4 answers
14k views

readiness check for google cloud run - how?

I've searched quite extensively in the documentation at https://cloud.google.com/run/docs/how-to. I also found the YAML in the console.cloud.google.com, but I can't edit it. Is there a way to set it ...
Theodor Bendix Gosden's user avatar
18 votes
2 answers
19k views

Enter a docker container running with Google Cloud Run

Is it possible to enter a container powered by Google Cloud Run? Something in the manner of docker exec -it CONTAINER /bin/bash? I'm facing a bug i can't reproduce running a container based on the ...
nichoio's user avatar
  • 7,737
2 votes
1 answer
530 views

Deploy a GPU intensive Cloud Run service on GKE

I have a application which is GPU intensive. I have tried deploying this on GKE cluster which is GPU enabled and that went well. Now I want to run my application as a Cloud run service on GKE, I did ...
Sai Raghuram Kaligotla's user avatar
2 votes
0 answers
316 views

Issue to create domain mapping

I cant create two domain mapping in two different projects by cloud run service. I am trying create it two hours ago. Using the console.
Arsenio Aguirre's user avatar
1 vote
2 answers
3k views

Nginx container fails to start on Cloud Run

I'm attempting to serve simple static page with Nginx on Cloud Run. But the container fails to properly start serving. Container is starting, as shown by the debug lines echoed from docker-...
Maryan's user avatar
  • 1,584
19 votes
4 answers
10k views

Will Google Cloud Run support GPU/TPU some day?

So far Google Cloud Run support CPU. Is there any plan to support GPU? It would be super cool if GPU available, then I can demo the DL project without really running a super expensive GPU instance.
lixinso's user avatar
  • 803
4 votes
2 answers
3k views

Connect Google Cloud Run to MongoDB Atlas

I'm evaluating a move from Google Kubernetes Engine to Google Cloud Run, to improve cost and resource efficiency within our company. I'm also in the process of transitioning our workflows from ...
Josh Butler's user avatar
2 votes
2 answers
666 views

CloudRun private service to service hostnames

When making east-west service to service calls on CloudRun the documentation covers service to service authentication but the example doesn't include any documentation on the correct way to address ...
shanna's user avatar
  • 501
0 votes
2 answers
848 views

How to use storage FUSE in google cloud run?

How to use storage FUSE in google cloud run ? I saw the examples with Google App Engine, etc. How to use it in google cloud run?
lixinso's user avatar
  • 803
19 votes
3 answers
6k views

Connect to Memorystore from Cloud Run

I want to run a service on Google Cloud Run that uses Cloud Memorystore as cache. I created an Memorystore instance in the same region as Cloud Run and used the example code to connect: https://...
Lars Grote's user avatar
1 vote
0 answers
464 views

Supervisord | Unsupported syscall

I try to use supervisord in order to link PHP & Nginx, my container runs locally but once pushed to Cloud Run, I go a 502 error which informs me that the PHP socket can't be found. I have a non-...
Guikingone's user avatar
2 votes
2 answers
308 views

Pubsub Pull Subcription with GVisor (CloudRun) issue

I would like to pull a Google PubSub subscription with Go. It works well locally but when I deploy it on Cloud Run, impossible to pull any message. Here my code snippet func (pubSubService *...
guillaume blaquiere's user avatar
0 votes
2 answers
569 views

Using a custom gateway with Google Cloud Run on GKE

I have a GKE cluster on which I'm testing Google Cloud Run, which also hosts services that are not managed by Cloud Run. To access these, I've set up a simple Gateway and Virtual Service as described ...
majelbstoat's user avatar
  • 13.4k
4 votes
1 answer
17k views

How to increase 15 minutes request timeout for Google Cloud Run service deployed on GKE?

The current documentation (https://cloud.google.com/run/quotas#cloud_run_limits) states there is a 15 minute maximum timeout permitted (configurable) for a cloud run request. Is this the limit on GKE ...
mohawkTrail's user avatar
4 votes
1 answer
4k views

Envrionment variables in Cloud Run referencing the Google Cloud project id

Even though it was not documented here, I think the GOOGLE_CLOUD_PROJECT environment variable used to be defined inside the container but it is not anymore I can even find it referenced in code ...
Limezest's user avatar
  • 140
6 votes
1 answer
2k views

Issue with connecting Golang application on Cloud Run with Firestore

I try to get all Documents from Firestore using the below function. The credentials are stored in an encrypted file in a GCP Cloud Source repository. I decrypted the configuration in the Cloud ...
markus van laak's user avatar
0 votes
1 answer
550 views

How is Google's Cloud Run different from a traditional Kubernetes cluster?

I was thinking of testing out Google's Cloud Run for a simple app when all of a sudden I got thinking as to whether Cloud Run is basically a managed K8s cluster. I really wanted to know as to when ...
Nithin's user avatar
  • 1,487
3 votes
2 answers
4k views

How to configure Dockerfile correctly to run on Google Cloud Run?

I'm trying to run a Go app using Docker on Google Cloud Run but I'm getting this error: Container failed to start. Failed to start and then listen on the port defined by the PORT environment variable....
Martavis P.'s user avatar
  • 1,838
17 votes
4 answers
16k views

Google Cloud Run end-user authentication

I'm using Google Cloud Run for a simple POC web app. My hope was to lean on GCP IAM to handle authentication for the time being, similar to how Identity-Aware Proxy (IAP) can be used in conjunction ...
Tyler Treat's user avatar
15 votes
6 answers
20k views

Permission error when trying to deploy to Google Cloud Run

I'm getting a permission error when trying to deploy an image to cloud run: gcloud beta run deploy endpoints_proxy \ --image="gcr.io/endpoints-release/endpoints-runtime-serverless:1.30.0" \ --...
Carlos Martinez's user avatar
1 vote
1 answer
1k views

Unable to connect CloudRun service to CloudSQL instance ( Nodejs-Express-Typeorm ) server

I'm having issues connecting my node-express-typeorm server with CloudSQL Postgres instance using CloudRun. I have successfully added the database proxy based on the official doc: https://cloud....
slovakyan's user avatar
3 votes
2 answers
3k views

Would I benefit using Cloud run instead of Cloud Functions? Where does it fit in GCP?

I use Cloud Functions for most of my backend requirements. What additional benefit does Cloud Run provide to an existing Cloud functions user? Both are managed, has autoscaling, handles HTTP and are ...
Sebin Benjamin's user avatar
0 votes
1 answer
202 views

How to use aria2c on cloud function?

In the same way that a cloud function can run the ffmpeg, is possible download and run aria2c? If yes, how? PS. Cloud Run isn't an option right now. Edit: Something like this https://blog.qbatch.com/...
Rodrigo's user avatar
  • 581
0 votes
1 answer
518 views

service not autoscaling to zero in cloud run [closed]

A service is running for last 12 hours in Cloud Run , however have not sent any request after first hour. I read that there is no predictable time frame before which service is scaled to zero in FAQ, ...
fortm's user avatar
  • 4,218
0 votes
1 answer
870 views

Change skaffold command for Cloud Code VSCode extension

I'm using the Cloud Code extension for VSCode and each time I'm deploying, the skaffold command executed is the following: skaffold run --enable-rpc -v info --rpc-http-port 33291 --default-repo gcr....
Olivier's user avatar
  • 2,212
0 votes
1 answer
141 views

What's the equivalent of `gcloud beta run deploy --image [image] --allow-unauthenticated` in REST?

What's the equivalent of gcloud beta run deploy --image [image] --allow-unauthenticated in REST? Is it just the https://cloud.google.com/run/docs/reference/rest/v1alpha1/namespaces.services/create ? ...
felipepastorelima's user avatar
1 vote
2 answers
384 views

Using micronaut on CloudRun fully managed

I tried to run micronaut framework on Cloud Run for testing clod start performance. When I deploy in command line, I have this issue: Deploying... Creating Revision... Container failed to start. ...
guillaume blaquiere's user avatar
3 votes
2 answers
2k views

Container port forwarding

I have a binary that listens on port 3000, however, Google Cloud Run wants me to listen on the port defined by $PORT, that defaults to 8080. Is there a way to make my container bind to 8080 and then ...
Steren's user avatar
  • 7,967