Questions tagged [gcloud]

gcloud is the main command line tool of Google Cloud SDK, which allows you to manage resources on Google Cloud Platform and perform various developer workflow tasks.

gcloud is the main command line tool of Google Cloud SDK, which allows you to manage resources on Google Cloud Platform and perform various developer workflow tasks. Cloud SDK also contains tools and libraries to create and manage App Engine, Compute Engine, Cloud Storage, Cloud SQL, and BigQuery resources.

Useful links

Google Cloud SDK - Home page Google Cloud SDK - Discussions Forum gcloud - Tool Guide gcloud - Support channel at freenode IRC network

4396 questions
1
vote
1 answer

GCloud with Jenkins - gcloud command is not working

I am following this documentation and I was able to work on almost all of it except the last part where Jenkins will execute a GCloud command after app Gradle build is complete and generates a debug apk. I can execute GCloud commands with default…
Bitwise DEVS
  • 2,858
  • 4
  • 24
  • 67
1
vote
1 answer

How to resolve gcloud crashed (ReadTimeout): HTTPSConnectionPool(host='cloudfunctions.googleapis.com', port=443): Read timed out. (read timeout=300)

I receive the error when triggering a cloud function using the gcloud command from terminal: gcloud functions call function_name On the cloud function log page no error is shown and the task is finished with no problem, however, after the task is…
1
vote
1 answer

Is there a way to execute gcloud commands via node js?

So, I have a specific chain of kubernetes and bash commands that I have to execute on gcloud, I'd like to know if there is any way to execute those commands automatically via scripting, without the need of actually having to open and interact with…
1
vote
1 answer

Set Firebase Functions Security Level From Command Line

I'm deploying a firebase HTTP function using the command line and would like to change the security-level to 'secure-always' like you can do in the gcloud deploy command: gcloud functions deploy FUNCTION_NAME --trigger-http…
Alex Williams
  • 179
  • 1
  • 8
1
vote
1 answer

Python to get billing info from Gcloud

I am trying to build a small pice of python to get billing info about all projects under organization in google cloud. I follow the official "how to" https://cloud.google.com/billing/docs/reference/libraries And after finish all steps (I check that…
1
vote
1 answer

Google App Engine ERROR Throttling refreshCfg with Gcloud MySQL instance

Continuous failed connection attempts errors are occurring in Google Cloud MySQL running on Google APP Engine with public IP. These are some of the logs: receiveTimestamp resource.labels.module_id resource.labels.project_id …
jparga
  • 21
  • 4
1
vote
2 answers

Gcloud kubernetes certificate generated too early

I've been following the gcloud kubernetes tutorial here. I was able to follow all the steps up to "Creating a GKE cluster". I set my zone to australia-southeast-1a. Then I created the cluster and got the following success messages: However, when I…
Sean Murphy
  • 1,217
  • 8
  • 15
1
vote
1 answer

reading CSV file form Google Cloud storage using Python pandas locally

I am trying to read a CSV file in a Google Cloud bucket locally using Pandas. I have logged in using gcloud auth login and have configured the project. However, when I try to read the CSV file using df =…
ashes999
  • 1,234
  • 1
  • 12
  • 36
1
vote
1 answer

Executing gcloud Inside Running AppEngine Service

What is a recommended way to have the gcloud available from within a running App Engine web application? Background: The Kubernetes Python Client is using subprocess to execute gcloud (taken from cmd-path configured in ~/.kube/config) to refresh…
1
vote
1 answer

Google Cloud Platform (GCP) JSON Prediction File error on Upload to ML-Predict

I am getting an error on upload of my test data to GCP for prediction. I am simply trying to convert my test data from train_test_split to a json file to run GCP predictions of my deployed model. Here is what my dataframe looks like My X_test is…
James Scott
  • 181
  • 1
  • 13
1
vote
0 answers

Cloud Composer does not allow configuration override in one Airflow instance, but it allows in another

We are using multiple Cloud Composer instances composer-1.14.2-airflow-1.10.14 in a single Google Cloud project. We experience that what works in one Composer instance, does not work in another. We've overridden the auth_backend setting from value…
1
vote
1 answer

How to resolve GCloud permissions?

I am trying to publish my Android app to our company's Play Store. On Google API access page I am trying to create new service account. It does not work. You are missing at least one of the following required…
MikiBelavista
  • 2,470
  • 10
  • 48
  • 70
1
vote
1 answer

GCloud Error pulling docker images "failed to pull and unpack image"

I am creating a fresh private node in GCloud where i have a deployment.yml with: ... containers: - name: print-logs image: busybox command: "sleep infinity" When i review the corresponding POD, I always get this error: "failed to do…
1
vote
1 answer

Travis -Gcloud crashed (AttributeError): '_RSAPrivateKey' object has no attribute 'sign'

UPDATE Here is part of travis file before_install: #openssl stuff regarding credentials.tar.gz - if [ ! -d "${GAE_PYTHONPATH}" ]; then python scripts/fetch_gae_sdk.py $(dirname "${GAE_PYTHONPATH}"); fi - if [ ! -d…
1
vote
1 answer

How to set up gcloud to use credentials from identity federation with OIDC

On this page, it is explained how to set up workload identity federation and how to use it with the (Python) client libraries. This is done by setting the GOOGLE_APPLICATION_CREDENTIALS environment variable. However, this does not work for the…
Ruwan
  • 33
  • 5