Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# キューを扱うNodeのためのNodePool
gcloud container clusters create autoscaled-cluster \
--num-nodes 2 \
--machine-type=n1-standard-1 \
--zone us-west1-a --disk-size=10\
# キューを処理するためのNodePool。preemptibleにしている。
gcloud container node-pools create preemptible-pool96 \
--cluster autoscaled-cluster --preemptible --num-nodes 0 \
--enable-autoscaling --min-nodes 0 --max-nodes 960 \
--machine-type=n1-standard-96 \
--zone us-west1-a --disk-size=10 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment