Configuring an existing node pool to auto-scale

0 votes
How do I configure an existing node pool to auto-scale?
Oct 17, 2019 in GCP by anonymous
• 19,610 points
597 views

1 answer to this question.

0 votes

To enable autoscaling for an existing node pool, run the following command:

gcloud container clusters update [CLUSTER_NAME] --enable-autoscaling \ --min-nodes 1 --max-nodes 10 --zone [COMPUTE_ZONE] --node-pool default-pool

In this command:

  • --enable-autoscaling indicates that autoscaling is enabled.

  • --node-pool specifies the node pool for which autoscaling is enabled.

  • --min-nodes specifies the minimum number of nodes for the node pool.

  • --max-nodes specifies the maximum number of nodes for the node pool.

  • --zone specifies the cluster's [compute zone].

  • --node-pool specifies the desired node pool. If you have only one node pool, supply default-pool to this flag.

answered Oct 17, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

Add a network interface to an existing VM.

No, you cannot add network interfaces to, ...READ MORE

answered Nov 12, 2019 in GCP by Sirajul
• 59,230 points
2,274 views
0 votes
1 answer

How to activate an existing named configuration in GCP?

Hi@akhtar, You can activate an existing named configuration in ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,440 points
293 views
0 votes
1 answer
0 votes
1 answer

Monitor the resource usage in GKE cluster.

Yes, GKE usage metering tracks information about ...READ MORE

answered Oct 17, 2019 in GCP by Sirajul
• 59,230 points
1,543 views
0 votes
1 answer

How to enable the GKE usage metering?

To enable GKE usage metering, you first create ...READ MORE

answered Oct 17, 2019 in GCP by Sirajul
• 59,230 points
1,502 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP