Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions generate_autoscale_json.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ temp_autoscale=$TEMP/autoscale.json.$(date +%s)
--lock-file $INSTALLDIR/scalelib.lock \
--log-config $INSTALLDIR/logging.conf \
--disable-default-resources \
--default-resource '{"select": {}, "name": "ncpus", "value": "node.pcpu_count"}' \
--default-resource '{"select": {}, "name": "ncpus", "value": "node.vcpu_count"}' \
--default-resource '{"select": {}, "name": "ngpus", "value": "node.gpu_count"}' \
--default-resource '{"select": {}, "name": "disk", "value": "size::20g"}' \
--default-resource '{"select": {}, "name": "host", "value": "node.hostname"}' \
Expand All @@ -102,4 +102,4 @@ temp_autoscale=$TEMP/autoscale.json.$(date +%s)
> $temp_autoscale && mv $temp_autoscale $INSTALLDIR/autoscale.json ) || (rm -f $temp_autoscale.json; exit 1)

echo testing that we can connect to CycleCloud...
azpbs connect && echo success! || (echo Please check the arguments passed in and try again && exit 1)
azpbs connect && echo success! || (echo Please check the arguments passed in and try again && exit 1)