Questions relating to the usage of the Google Cloud SDK's `gcloud` command-line tool.
Questions tagged [gcloud]
211 questions
1
vote
1 answer
Gcloud kubernetes nginx unable to find upstream host after cluster upgrade
I have just upgraded my cluster and nodes to v1.7.12 and recreated all pods successfully except for my nginx pod which keeps on failing with the error:
nginx 2018-02-17T08:38:07.965745644Z nginx: [emerg] host not found in upstream "gunicorn" in…

cr8ivecodesmith
- 111
- 3
1
vote
1 answer
gcloud compute forwarding-rule: 1st entry allows for address by name. 2nd+ only allow by IP address
When using the 'gcloud compute forwarding-rules create' command, the --address flag allows for you to set the address by name or IP. If you set a forwarding rule --address by name in the first entry, you cannot set it again by name. All subsequent…

Shannon McFarland
- 11
- 1
1
vote
1 answer
"over quota" error, how to find quota name or logs
App engine all apps are failing in 2 hours of work after quota reset on Midnight.
App version redirected to 503 "Over Quota
This application is temporarily over its serving quota. Please try again later."
How to find out what quota is reached…

marykiselova
- 11
- 3
1
vote
1 answer
GKE can't tag cluster with Terraform config
I want to create similar configuration as described here: https://cloud.google.com/compute/docs/vpc/special-configurations#natgateway
with Terraform but "no-ip" instances are in Kubernetes cluster. Problem is such when you do it manually with…

user3069488
- 169
- 2
- 4
- 19
1
vote
1 answer
gcloud: docker pull says "authentication required" after successful login
I have VM with CoreOS in Compute engine and image inside Container Registry.
I'm following this instruction https://cloud.google.com/container-registry/docs/advanced-authentication and run
$ docker login -e mymail@gmail.com -u oauth2accesstoken -p…

xakdog
- 141
- 5
1
vote
1 answer
How can I use gcloud from within google compute instance before having an external IP address?
I am spinning up a google compute instance and have a systemd unit that invokes a script which in turn calls gcloud components update -q. I've put this gcloud call in a loop that retries until it succeeds in the bash script. It appears that this…

Zach
- 131
- 4
1
vote
1 answer
Google Cloud VPN Confusion
I have a scenario where I need to connect 1 client company with my GCE via Google VPN.
My GCE IP address is 10.240.0.3/16 and public IP (lets assume) x.x.x.x
now the client requirement is they need public IP on GCE directly, instead of Private IP…

Yousuf
- 35
- 2
- 6
1
vote
2 answers
Wordpress SSL config on Google cloud instance
I am trying to configure a Wordpress instance hosted on Google cloud to use https instead of http
I am trying to set it up as per these instructions:
https://jamescoote.co.uk/add-letsencrypt-ssl-certificate-to-wordpress/
to use letsencrypt
I've…

Tim Campbell
- 21
- 3
1
vote
1 answer
Setting Google Cloud DNS Administrator Role
What I want:
I have a project on the Google Cloud Platform.
I have a service in that project that needs access to my DNS records.
What my issue is:
From the relevant Google Cloud DNS doc about permissions (source), I note that there seems to exists…

Alexandre Sobolevski
- 21
- 2
1
vote
1 answer
CLOUD DEPLOYMENT MANAGER: Internal Load Balancer create issue
I am using the following to try and create an internal load balancer via Deployment Manager using the following code
- name: {{ env["name"] }}-port389-healthcheck
type: compute.v1.healthChecks
properties:
type: tcp
tcpHealthCheck: {
…

Nicholas Irving
- 31
- 5
1
vote
2 answers
gcloud: Copy files between two VM instances?
I have two Google Compute Engine instances: instance-1 and instance-2, and I want to copy files from instance-1 to instance-2. Both instances are in the same project and zone.
In instance-1, I ran:
gcloud compute copy-files *.tar.bz2…

kalharbi
- 13
- 1
- 3
1
vote
1 answer
RDP cannot connect to GCE instance
How do I enable RDP on a GCE instance of Windows Server 2012 R2 Datacenter? Also, if I can't RDP into this server, how can I verify (from server side) that RDP is enabled?
I have spun up an instance (about 30 mins ago), have a firewall rule in…

Thom Rogers
- 121
- 2
1
vote
0 answers
Getting a list of all project owners , folder path from GCP
I am trying to get a list of all GCP projects on the domain and the project owners and export it to a CSV, I have written a script which provide me details of projectid, name, projectnumber date and time. But not able to fetch - projectowner,…

vikash
- 11
- 1
1
vote
1 answer
Unable to finalize Container Registry Transition to Artifact Repository
I tried to create a Container Registry and it asked me to upgrade to the Artifact repository. When I tried to transition, the Finalize button did not work. It keeps on loading and loading. I tried using Safari and Chrome but was unable to make it…

Khurram Qureshi
- 11
- 1
1
vote
2 answers
load balancer mark "unhealty" new group member instance (ubuntu) after dist-upgrade
I've a some VMs (working as web server) behind an instance group on my GCloud.
As usual maintenance I've update (apt dist-upgrade) my "vm-source-image", created a new template and add it to my group.
The new members using this template never receive…

Ivan Buttinoni
- 69
- 9