Skip to Content
Google Cloud Platform for Developers
book

Google Cloud Platform for Developers

by Ted Hunter, Steven Porter
July 2018
Intermediate to advanced
506 pages
16h 2m
English
Packt Publishing
Content preview from Google Cloud Platform for Developers

Manually scaling deployments

With autoscaling available, there are limited reasons why you would want to scale the size of your container clusters and GKE node pools manually. Some scenarios that come to mind are testings for optimal resource allocation and production scenarios requiring high levels of resources immediately, where scale-up time would be a detriment.

You can update your GKE cluster size via the cloud console by editing the appropriate node pool. You can complete the same resize operation using the gcloud CLI:

gcloud container clusters resize CLUSTER_NAME --node-pool NODE_POOL --size SIZE

To manually scale your pods, use the Kubernetes CLI to set the static replica size. This is a single static size, whereas when auto scaling, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google Cloud Platform in Action

Google Cloud Platform in Action

John J. (JJ) Geewax
Google Cloud Platform for Architects

Google Cloud Platform for Architects

Vitthal Srinivasan, Loonycorn Ravi, Judy Raj

Publisher Resources

ISBN: 9781788837675Supplemental Content