Questions relating to the usage of the Google Cloud SDK's `gcloud` command-line tool.
Questions tagged [gcloud]
211 questions
2
votes
2 answers
mount GCPs buckets with write access
I can successfully mount my bucket using the following command
sudo mount -t gcsfuse -o rw,noauto,user,implicit_dirs,allow_other fakebucket thebucket/
I can go into the bucket find the subfolders and etc. however I can't write anything
touch:…

user702846
- 133
- 1
- 7
2
votes
1 answer
What should I do to keep a common file cache server ? is NFS good idea?
I am not any networking or devops guy but I have to do this for my company because my company can't afford one, so pardon me for mistakes.
I have got a web app hosted in google cloud and I use load balancer provided by google cloud, in the backend I…

user1735921
- 121
- 5
2
votes
1 answer
GCSFuse - Fusermount: mountpoint is not empty
Using gcsfuse to mount a point locally on a server within a script. Running on an Ubuntu 14 LTS server.
I have two fuse mount points and the script transfers data from other mount points into them.
This script is working for one of the mountpoints,…

Cam
- 55
- 3
- 10
2
votes
1 answer
kubectl "failed to negotiate an api version"
Hello since yesterday morning I'm running into issues trying to access one of my Kubernetes cluster hosted on Google container engine. I had never had problem until it started to fail but now each kubectl command I try to execute fails by telling…

Fabrice Armisen
- 21
- 1
2
votes
1 answer
gcloud service account oauth token timeout causing container service auth failure
First time question, and I am also new to attempting to configure/administer google cloud services. Please be gentle.
My employer uses gcloud ontainer registry to store images, and on the client side, we use use gcloud docker pull ... commands to…

user6005293
- 23
- 2
2
votes
2 answers
How do I `gcloud compute copy-files` into a GCE instance as root?
I am trying to copy local files to /var/www/.
The instance has two sets of keys. One for the instance creator that's generated by default and one for remote access that I have set up manually.
I have successfully logged in via gcloud as the latter…

Guybrush Threepwood
- 121
- 1
- 3
2
votes
1 answer
Can Google gcloud DNS work with seconday DNS servers?
We use Google Cloud DNS for primary DNS zone hosting. As a primary service is seems very functional. However, I cannot see how to allow zone transfers to a list of secondary DNS servers. This would be useful to provide further resilience. For…

Daniel K
- 649
- 1
- 4
- 16
2
votes
1 answer
Run a linux docker container on Windows Server 2022
I have a Windows Server 2022 running on GCP. I've installed docker as described here: https://cloud.google.com/compute/docs/containers#docker_on_windows
Namely, I did this:
Install-Module -Name DockerMsftProvider -Repository PSGallery…

iiiooo
- 21
- 1
- 3
2
votes
0 answers
GCP node schedule with zone fallback
I'm using preemptive machines for some node pools from my GKE Cluster, and I often get the following error saying the zone resources have been exausted:
Error Type
Error Message
ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS
Instance…

Mauricio
- 233
- 1
- 3
- 8
2
votes
0 answers
Can I create a secure multi-app intranet on GCP using IAP?
My vision is to create an intranet at, say, https://intra.sample.com without a firewall where users authenticate via IAP to an https load balancer and users anywhere on the internet (i.e., at home) can access multiple apps based on path mapping,…

dk.
- 121
- 2
2
votes
1 answer
CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python
I'm trying to use docker-compose (which was installed via pip3), yet running into following warning everytime I do anything:
# docker-compose version
/usr/local/lib/python3.5/dist-packages/paramiko/transport.py:33: CryptographyDeprecationWarning:…

alexus
- 13,112
- 32
- 117
- 174
2
votes
1 answer
How to find out who added a user or modified IAM roles of a specific user in GCP?
I tried but could not figure out that how to find out who added a user or modified IAM roles of a specific user in GCP.
is anyone aware of any method?

d.s
- 110
- 9
2
votes
3 answers
Permission denied (publickey). (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255]. exited with return code [255]
try to connect the virtual machine with gcloud but failed. Please advise
username@22.233.168.202: Permission denied (publickey).
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255]

user591282
- 29
- 1
- 2
2
votes
1 answer
Google App Engine HTTPS listening ports 8443 or 3443
I am testing an application in the App Engine Flexible Environment, and at some point I will need to process some WebHooks sent on TCP ports 8443 or 3443.
As long as I could test, App Engine load balancer (which deals with HTTPS connections) only…

Antonio Guglielmi
- 21
- 3
2
votes
1 answer
How can I identify what ALPHA/BETA features are being used in my GCP organisation?
I'd like to be able to regularly audit my gcp estate by verifying that no unapproved ALPHA/BETA features are enabled.
I can't seem to find a gcloud command that could identify this.
I recognise that this command;
gcloud services list
would list the…

ellefc
- 143
- 3