Category "gcloud"

etcd.service failed because a timeout was exceeded

I am working through "learn kubernetes the hard way" and am at the "bootstrapping the etcd cluster" step: https://github.com/kelseyhightower/kubernetes-the-hard

GCloud authentication race conditions

I'm trying to avoid race conditions with gcloud / gsutil authentication on the same system but different CI/CD jobs on my Gitlab-Runner on a Mac Mini. I have tr

How to create Revision URL using gcloud run?

I recently noticed a beta feature in the Google Cloud Run web UI that allows you to create a Revision URL (tag). Super handy feature! My question: how can I cre

Error: Bad Gateway 502 when opening Google App Engine Python Domain

When I'm visiting my website (https://osm-messaging-platform.appspot.com), I get this error on the main webpage: 502 Bad Gateway. nginx/1.14.0 (Ubuntu). It'

GKE migrate pv to a new cluster whithin the same GCloud project

I would like to move existing PVCs/PVs to a new GKE cluster in the same Google project. Can someone give me a hint how to do this? Thanks in advance!

unable to create a gcloud alert policy in command line with multiple conditions

I am trying to create a single alert policy for Cloud-Sql instance_state through gcloud with multiple conditions. If the instance is in "RUNNABLE" OR "FAILED" s

How to easily switch gcloud / kubectl credentials

At work we use Kubernetes hosted in GCP. I also have a side project hosted in my personal GCP account using Google App Engine (deploy using gcloud app deploy).

In GCP, how to list all the resources running under project?

I need to list out all the instance, container, function, notebooks, bucket, dataproc and composer running under project in all the region/locations. Is it poss

Grant your originating account the Service Account Token Creator role on the target service account

I used the below command to Authenticate in MAC OS terminal gcloud auth login It redirects to the google login page and show the authentication process success

Google Cloud get cluster credentials unauthorized

I've created a service account in the IAM page of google cloud console but unfortunately I'm unable to assign roles to this account - or I'm missing something.

gcloud auth login throwing error: gcloud crashed (ConnectionError): HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded

gcloud builds submit failed for me yesterday. Then I tried gcloud config set project, that also failed. So I thought login might have expired so tried gcloud au

Google Cloud billing information verify?

I have a problem with google cloud's billing verify. I added a debit card, which has received an X amount of eurocents from Google. To verify my billing, I need

Removing disks with gcloud

Trying to remove disks with the gcloud cli, I want to do something like this: gcloud compute disks delete $(gcloud compute disks list --filter="labels=(some-lab

How to set path to kubectl when installed using gcloud components install?

Ok, I installed kubectl in the following way on my Mac: 1) installed gcloud using homebrew 2) installed kubectl using gcloud components install. I want to run

How can i edit and reduce gcloud SQL instance size (ssd storage)

As "Auto storage increase is enabled" was enabled on my instance along with "general logs ". due to which my instance crossed the storage of 5TB .but after clea

zipfile write dont find files in gcloud

Im trying zip a few files from Google Storage. The zipfile of Python doesnt find the files in gcloud, just in the project. How can I do for my code find the f

`docker-credential-gcloud` not in system PATH

After the latest updates to gcloud and docker I'm unable to access images on my google container repository. Locally when I run: gcloud auth configure-docker a

gsutil ServiceException: 401 Anonymous caller does not have storage.objects.list access to bucket even though I'm loggedin in gcloud

I am trying to create an internal app to upload files to google cloud. I don't want each individual user or this app to log in so I'm using a service account. I

How can I specify the region of a Google Cloud Function?

I'm currently using Google Cloud Function to build up my restful API. However, I've found that it's slow because the my Google-Cloud-Function server is on "us-c

Use google cloud aiplatform with golang

I have a vertex AI modele deployed on an endpoint and want to do some prediction from my app in golang. To do this I create code inspired by this exemple : http