kubectl run does not create replicacontroller

I'm newbie of the Kubernetes while I'm using Google Cloud Container. I just follow the tutorials as...

Google Cloud Composer using google-cloud-bigquery python client library

I'm trying to run a DAG in Google Cloud Composer in which the first component is to use a http GET request to call an API and then use the python-client library to insert the json into a BigQuery...

Python 3.7 Local Development Server Options for new app engine apps

I have an app-engine app that is deployed and running on the standard Python3 runtime. I am also able to run it locally using normal commands like flask run. But I am unable to run it the way I...

403 "Error: Forbidden" when opening the URL of my Cloud Run service

I built my container image and then deployed to Cloud Run using the Cloud Console. However, when I open the endpoint URL of my service, I get a 403 "Error: Forbidden" page

Deploying to Cloud Run with a custom service account failed with iam.serviceaccounts.actAs error

I have created a custom service account [email protected]_ID.iam.gserviceaccount.com on my project and gave it the Cloud Run Admin role: gcloud projects add-iam-policy-binding...

Firebase functions--how to handle needing to wait for an async process to end before the express app is ready to be exported

I'm trying to get apollo gateway to run in google's cloud functions (particularly through firebase). Running apollo server is super easy on cloud functions with the following code const functions...

Google Speech API Python not responding

I'm trying to implement google's speech api but every time I try to run the program, the terminal goes unresponsive. It seems that the program runs until the line "response =...

Not null gcs bucket returned "can only concatenate str (not "bytes") to str"

I am very new to google clould storage. I am using tutorial https://cloud.google.com/storage/docs/boto-plugin to create a bucket to google cloud storage using boto. Please find code below: ...

Cloud Run Request Limit

Currently, Cloud Run has a request limit of 32 Mb per request, which makes it impossible to upload files like videos (which placed with no changes to GCP Storage). Meantime All Quotas page doesn't...

Docker build sometimes fail on "file not found or excluded by .dockerignore" for a nested ignored file

My directory structure: ├── src/ ├───── backend/ ├─────── Dockerfile ├─────── ... ├───── frontend/ ├───────...

CrashLoopBackOff - Back-off restarting failed container

I have my image hosted on GCR. I want to create Kubernetes Cluster on my local system(mac). Steps I followed : Create a imagePullSecretKey Create generic key to communicate with GCP. (kubectl...

how can I ensure traffic is being served only on my new cloud run service deployment?

I am seeing in my stackdriver logs that I am running an old revision of a cloud run service, while the console shows only one newer revision as live. In this case I have a cloud run container...

Google Cloud Container Registry/Artifact Registry Permissions

I'm trying to push containers to the Google Cloud Container Registry or the Google Cloud Artifact Registry on Windows 10 using the Google Cloud SDK. I'm getting a similar permissions error from...

Selenium Unable to locate element only when using headless chrome (Python)

I just started learning Selenium and need to verify a login web-page using a jenkins machine in the cloud, which doesn't have a GUI. I managed to run the script successfully on my system which has...

Cloud Run: Forbidden error while accesing service

I have created a Wordpress Service using CLoudRun . I deployed using below command gcloud beta run deploy wp --image gcr.io/<project>/wp:v1 \ --add-cloudsql-instances...

Upgrading To Spring Boot 2.4.0 Breaks Legacy Applications

I'm upgrading a set of legacy applications to Spring Boot 2.4.0, running on OpenJDK 8, deployed to Pivotal Cloud Foundry. The app and all its unit tests ran perfectly under Spring 2.3.4-RELEASE...

Gmail API getMessage method returns 404 for message gotten from listHistory method

A short description of the issue: Our sync is set up as following: Perform full sync on user's Inbox by calling messages.list method. Save highest historyId from the response Upon Push...

My Angular 11 cli app not working with jest. Error I get: TypeError: Cannot read property 'paths' of undefined

My Angular 11 cli app not working with jest. When I do npm run test e.g. jest --updateSnapshot I get the error in my terminal below: Error I get: TypeError: Cannot read property 'paths' of...

How can I get `terraform init` to run on my Apple Silicon Macbook Pro for the Google Provider?

When I run terraform init for my Google Cloud Platform project on my Apple Silicon macbook pro I get this error. Provider registry.terraform.io/hashicorp/google v3.57.0 does not have a package...

How to properly use a secret from the Secret Manager in a Cloud Run deployment via gcloud shell

I am trying to build me a gcloud script to deploy my cloud run service. This service has access to a hosted MongoDB and therefore I have to provide the password credentials via environment...

How can I retrieve an id_token to access a Google Cloud Function?

I'm trying to generate a id_token to make authenticated calls to Google Cloud Functions using this following code, that I got from here: # IAP audience is the ClientID of IAP-App-Engine-app in #...

Make an CPU-bound task asynchronous for FastAPI WebSockets

so I have a CPU-bound long-running algorithm, let's call it task. Let's say it looks like this: def task(parameters): result = 0 for _ in range(10): for _ in range(10): for _ in...

Set up Google Cloud Platform (GCP) authentication for Terraform Cloud

How do I configure Terraform Cloud to authenticate with Google Cloud Platform (GCP)? Right now, my configuration is looking like this: provider "google" { project = "my-project-id" region =...

How to solve Error creating Service: googleapi: Error 403: Permission 'iam.serviceaccounts.actAs' denied on service account

I've been trying to create a public cloud run invoker policy and bind that to my cb_app cloud run service so that it can be exposed. I've created a custom service and assigned it cloud admin...

How to deploy fastapi to google cloud run

I have a fastapi app that I want to deploy to google cloud run. With a gRPC python project, We deploy it as gcloud beta run deploy countries --source . But this doesn't deploy as expected. I...

Google App Engine - Node.js entrypoint as defined in the app.yaml isn't triggering

I have a node.js application that's been Dockerized with gcr.io/google-appengine/nodejs and deploys and runs fine. Knowing that by default GAE will run the "start" script in the package.json I...

TypeScript project failing to deploy to App Engine targeting Node 12 or 14, but works with Node 10

I have a TypeScript project that has been deployed several times without any problems to Google App Engine, Standard environment, running Node 10. However, when I try to update the App Engine...

Gitlab Cloud run deploy successfully but Job failed

Im having an issue with my CI/CD pipeline , its successfully deployed to GCP cloud run but on Gitlab dashboard the status is failed. I tried to replace images to some other docker images but it...

Connecting to Cloud SQL from Cloud Run via cloud-sql-proxy with IAM login enabled

I would like to connect to a Cloud SQL instance from Cloud Run, using a service account. The connection used to be created within the VPC and we would just provide a connection string with a user...

Docker-compose up runs perfectly localy ,but on gcp i get error could not translate host name db to address: Temporary failure in name resolution

line 187, in get_new_connection connection = Database.connect(**conn_params) File "/usr/local/lib/python3.9/site-packages/psycopg2/init.py", line 122, in connect conn = _connect(dsn,...