Questions tagged [gcloud]

Questions relating to the usage of the Google Cloud SDK's `gcloud` command-line tool.

211 questions
1
vote
1 answer

Mount docker volume on app engine docker image

I have a docker image that I deployed to app engine. I want to mount a volume to replace a file originally written when the image was built. I need the file to be mounted when the docker image is executed (docker run ). Is this possible with app…
1
vote
1 answer

Linux server not allowing more than 2048 concurrent connections

I tried to do load test on MQTT from my MACOS, and was able to successfully achieve more than 12k connections till my bandwidth got exhausted. I tried to do the same test on GCP machine and it gave me connection timed out exception once the opened…
Dhruv Sehgal
  • 121
  • 4
1
vote
1 answer

Gcloud cannot detect network connection

I have internet connection on the ESXi server and I want to copy everything to GCP storage. But Gcloud couldn't authenticate. It looks like it can't reach the gloud login servers. I'm not if the esxi provider has blocked GCP IP's but is there a way…
user630702
  • 495
  • 10
  • 32
1
vote
1 answer

gcloud miss k8s master after the end of the trial

The master disappeared after the end of the trial period. Worker nodes and disk remain. Can I get the master back somehow? Already tied up and paid for in gcloud. At the moment, he proposes to make only a new cluster. Workers are in the Compute…
Red
  • 11
  • 1
1
vote
1 answer

Setting password for MySQL root user in CLoudSQL with private IP address

How to change the password for MySQL root user in GCP CloudSQL DB instance with private IP address . I am able to change the password using the below command from Cloud Shell with Public IP gcloud sql users set-password root --instance=testdb…
Zama Ques
  • 523
  • 1
  • 9
  • 24
1
vote
1 answer

How to get GDAL to work with Google GCLOUD

I am getting the below error trying to deploy my app to gcloud app engine. The whole problem is from trying to add the GDAL library to my app. File "/opt/python3.7/lib/python3.7/ctypes/init.py", line 377, in getattr func = self.getitem(name)…
LearnToday
  • 111
  • 2
1
vote
1 answer

gsutil from gcloud/Google Cloud SDK failing with "SyntaxError: invalid syntax" error in bcrypt

Trying to use gsutil today I got the following error: + gsutil cp -nra public-read a gs://b /usr/local/lib/python2.7/dist-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team.…
1
vote
1 answer

start/stop a Google Cloud VM from desktop

I have a VM running on Google cloud that I would like to start and stop. I am able to start/stop it from another VM in the same project using the command sudo gcloud compute instances stop my-daily-data-vm --zone us-central1-c Now, I would like to…
1
vote
1 answer

Using App Engine Standard with PHP7.4

I have Problems using php 7.4 with App Engine Standard. The Documentation states there is an beta Version (php74), but it does not work. I get the following error: ERROR: (gcloud.beta.app.deploy) INVALID_ARGUMENT: Invalid runtime 'php74' specified.…
1
vote
1 answer

In GCP, how can I identify all the subnets that have Flow Logs 'Off'?

I would like to identify which subnets are not logging VPC Flows. I have used the following gcloud command in one of my projects to try and identify which subnets do not have Flow logs enabled however the output of this command shows 1…
ellefc
  • 143
  • 3
1
vote
1 answer

gcloud deploy not making dist folder

Admittedly, I'm a novice at GCloud. I "inherited" a project abandoned by the previous developer. I'm trying to deploy a node app on the app engine. The app won't start because it can't find the dist/server.js file. That's because the entire dist…
Mike Hogan
  • 11
  • 1
1
vote
1 answer

I am being billed for node usage if I cordon and drain the node?

I am learning GKE (Google Kubernetes Engine), and I have a cluster with 2 node pools: ➜ ~ gcloud container node-pools list NAME MACHINE_TYPE DISK_SIZE_GB NODE_VERSION pool-2 n1-standard-1 10 …
1
vote
1 answer

google route peering as nexthop

Using the google cloud web interface for add a custom route with a peering as nexthop,But in this interface and in gcloud too, we can select only as next…
c4f4t0r
  • 5,301
  • 3
  • 31
  • 42
1
vote
1 answer

Create tablespace in gcloud sql instances

I had created one PostgreSQL instance under gcloud database. Using default user (postgres) i want to create a tablespace but its not allowing me to create, says permission doesn't exist Can we create custom tablespaces with gcloud database instances…
saikiran
  • 11
  • 2
0
votes
1 answer

Why my GCP regional TCP load balancer cannot connect to my target pool

I'm trying to put a GCP regional TCP load balancer on front of my service. My service expose 7933 port out. And I can get response from my service server's IP. The set up is based on this article.…
wzf1943
  • 1
  • 1