easygcloud
Enable cluster autoscaling on a GKE node pool with min/max node bounds
command
gcloud container node-pools update default-pool --cluster=prod-cluster --enable-autoscaling --min-nodes=2 --max-nodes=10 --zone=us-central1-acommand
gcloud container node-pools update default-pool --cluster=prod-cluster --enable-autoscaling --min-nodes=2 --max-nodes=10 --zone=us-central1-aPart of the Google Cloud CLI (gcloud) — GKE category.
| Flag | Purpose |
|---|---|
--cluster | Set to: prod-cluster |
--enable-autoscaling | Boolean flag |
--min-nodes | Set to: 2 |
--max-nodes | Set to: 10 |
--zone | Set to: us-central1-a |
Test your recall — not just your reading.
Practice with interactive quiz →