Questions relating to the usage of the Google Cloud SDK's `gcloud` command-line tool.
Questions tagged [gcloud]
211 questions
0
votes
1 answer
Connection to server times out with SSH and takes down any possible connection to the same server within the working network
After updating and re-initiating gcloud and its SSH connections with gcloud update, gcloud init and then gcloud compute config-ssh --remove && gcloud compute config-ssh, sometimes and unpredictably any connection to the server, let's say ssh…

fillipvt
- 181
- 1
- 1
- 9
0
votes
1 answer
instances/setMachineResources equivalent in gcloud
From what I can tell the REST API has support for setting machine resources for existing instances (https://cloud.google.com/compute/docs/reference/beta/instances/setMachineResources), but I cannot find any equivalent commands for gcloud. Can…

Stefan Fisk
- 101
0
votes
1 answer
internal error while trying to move an instance across zones
I'm trying to move instance across zones in same region.
I'm using following command:
gcloud compute instances move --zone europe-west1-c --destination-zone europe-west1-b --verbosity=debug
And got following output:
DEBUG:…

Jan Imrich
- 1
- 2
0
votes
1 answer
Where is my gcloud database
This'll be a settling in problem: I've created a wordpress site using gcloud's installer. I can see my files but not my database. I expected the database to be sitting in https://console.cloud.google.com/sql/instances but it's not there.
Where…

Sarah K
- 101
- 1
0
votes
1 answer
Changing an instance description in google cloud
If you do:
gcloud compute instances list--format=flattened
There is a field called description. I would love to be able to add descriptions to my instances and then be able to display them when I list them.
How do I add descriptions via the command…

Ulukai
- 909
- 2
- 12
- 29
0
votes
2 answers
windows - gcloud ssh throwing potential security breach error
Please note - this is platform specific. I tried this on
>>> print sys.platform
'darwin'
and the code has no issue. Yet, on
>>> print sys.platform
'win32'
I get the issue.
Additionally, I am able to winscp into the instance without issue.
I am…

jason m
- 109
- 7
0
votes
0 answers
Mounted old disk folder /var/lib/mysql automagically synced up with new active /var/lib/mysql
noob here
while working on a production server (old), i messed up a command and lock myself out of the gcloud compute engine instance (I know. dumb, stupid. I deserved them all).
I setup a new production server and loaded lamp, web app and a 2-day…

Francisco Cortes
- 111
- 3
0
votes
1 answer
GAE configuration & Billing
Google App Engine: Few weeks back I have developed an RoR application in GAE with aditional resources as CloudSQL and Storage Bucket.
Our application is very simple CMS site. Here the app size details,
Application size not more than -…

Anandha Kumar
- 1
- 1
0
votes
1 answer
Error in google app engine deployment
I have a Laravel web application for which I have added a app.yaml file, but I receive the following error whenever I try to deploy the app using gcloud app deploy:
Details: [
[
{
[enter image description here][1] "@type":…

Adeel Ahmad
- 121
- 4
0
votes
2 answers
gcloud beta compute disks create example-disk --csek-key-file example-file.json” is failing
When I am running the command "gcloud beta compute disks create example-disk --csek-key-file example-file.json" to create the encrypted disk using CSEK, it fails with the following error:
ERROR: (gcloud.beta.compute.disks.create) Key required for…
0
votes
0 answers
gcloud container clusters get-credentials is randomly failing
I use Jenkins running with the official helm chart, spawning kubernetes pods on GKE, and I have the following part in my Jenkinsfile:
...
withCredentials([file(credentialsId: "${project}", variable: 'key')])…

Pierre Ozoux
- 215
- 2
- 5
0
votes
1 answer
Error from kubectl with google cloud container engine
I have installed the Google Cloud tools on my Linux box as described here with:
curl https://sdk.cloud.google.com | sudo bash
sudo gcloud init
sudo gcloud components install kubectl beta
So far so good. However when I run kubectl I get the error
$…

Adrian Smith
- 276
- 4
- 10
0
votes
1 answer
Old pod not deleted after rolling-update
I've run into a problem doing a rolling-update of our website, which runs in a container in a pod on our cluster, called website-cluster. The cluster contains two pods. One pod has a container which runs our production website and the other has a…

Roland Sing
- 1
- 1
0
votes
1 answer
How to get notified when a server started with gcloud is completely up
Is there a way to detect when a server is completely up (i.e. finished all the kernel startup tasks)? This is a Google Compute Engine Instance.
Nov 18 10:58:51 image-name google: No startup script found in metadata.
Nov 18 10:58:53 image-name…

Gabriel Petrovay
- 248
- 3
- 12
0
votes
1 answer
Google container engine cluster upgrade failure
We have a Kubernetes cluster running on Google Container Engine. The Container clusters section of the Google cloud console shows that the cluster api version is 1.06.
I tried to do a rolling update to upgrade to the latest api version (1.1.1 is…

toby
- 135
- 1
- 5