Created
October 19, 2018 20:44
-
-
Save b0noI/eccfc100f694f9ff064a24738e9af99a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export INSTANCE_GROUP_NAME="deeplearning-instance-group" | |
gcloud compute instance-groups managed set-autoscaling $INSTANCE_GROUP_NAME \ | |
--custom-metric-utilization metric=custom.googleapis.com/gpu_utilization,utilization-target-type=GAUGE,utilization-target=85 \ | |
--max-num-replicas 4 \ | |
--cool-down-period 360 \ | |
--region us-west1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment