0 votes
1 view
in GCP by (29.1k 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 (49.8k points)

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
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...