Resizing a GKE cluster

0 votes
How do I increase the size of my GKE Cluster?
Oct 17, 2019 in GCP by anonymous
• 19,610 points
3,087 views

1 answer to this question.

0 votes

Remember the following when you increase the size of a cluster:

  • New node instances are created using the same configuration as the existing instances

  • New Pods may be scheduled onto the new instances

  • Existing Pods are not moved onto the new instances

When you increase the size of a node pool that spans multiple zones, the new size represents the number of nodes in the node pool per zone. For example, if you have a node pool of size 2 spanning two zones, the total node count is 4. If you resize the node pool to size 4, the total node count becomes 8.

To resize a cluster's node pools, run the following command:

gcloud container clusters resize [CLUSTER_NAME] --node-pool [POOL_NAME] \ --num-nodes [NUM_NODES]

where:

  • [CLUSTER_NAME] is the cluster's name.

  • [POOL_NAME] is the name of the node pool to resize.

  • [NUM_NODES] is the number of nodes to run in the pool.

Repeat this command for each node pool. If your cluster has only one node pool, omit the --node-pool flag.

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

Related Questions In GCP

0 votes
1 answer

How do I determine cluster endpoints for a GKE cluster?

To determine your cluster endpoints, describe your ...READ MORE

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

How to disable the Kubernetes Dashboard for a GKE cluster?

The Kubernetes Dashboard is disabled by default on ...READ MORE

answered Oct 30, 2019 in GCP by Sirajul
• 59,230 points
1,783 views
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,558 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,520 views
0 votes
1 answer
0 votes
1 answer
+1 vote
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