October 2019
Intermediate to advanced
520 pages
13h 5m
English
The GKE cluster can be resized by increasing or decreasing the number of nodes in a node pool. To perform a resize, use the following command:
gcloud container clusters resize $CLUSTER_NAME --node-pool $POOL_NAME --size $SIZE
Here, we have the following options:
When you increase the size of the cluster, new Pods might be scheduled on new nodes, but the old Pods will not be migrated. When you decrease the size of the cluster, the Pods hosted on the removed nodes will be deleted. They will only be recreated on other Pods if they are managed by the replication controller. To drain the nodes before ...
Read now
Unlock full access