Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in GCP by (29.3k points)

I am using gcloud to provision the kubernetes cluster for production and also create some of my clusters for testing as well. But every time after testing if i stop my cluster then VM instances are restarting. Instead if restarting is there any other way to handle this test cluster.

1 Answer

0 votes
by (50.2k points)
edited by

Here instead of stoping the cluster, you can scale the resources to zero, This can be implemented temporarily. So that you can handle the clusters.

Use the below command for this temporary  scale:

gcloud container clusters resize $CLUSTER_NAME --num-nodes=0

For more commands like this, refer to this tutorial on Google cloud certification

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...