Skip to content

Instantly share code, notes, and snippets.

@fai555
Last active November 26, 2019 09:01
Show Gist options
  • Select an option

  • Save fai555/60da7b55e45d3cfdfa8ee6aa5e7f546d to your computer and use it in GitHub Desktop.

Select an option

Save fai555/60da7b55e45d3cfdfa8ee6aa5e7f546d to your computer and use it in GitHub Desktop.
# create GPU pool
gcloud container node-pools create <GPU_POOL_NAME> \
--accelerator type=nvidia-tesla-k80,count=1 \
--zone us-central1-a --cluster <CLUSTER_NAME> \
--num-nodes=1 --machine-type=n1-standard-4 --min-nodes=0 --max-nodes=5 --enable-autoscaling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment