File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
scaletest/templates/scaletest-runner/scripts Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,14 @@ log "Cleaning up from previous runs (if applicable)..."
52
52
53
53
log " Preparation complete!"
54
54
55
- log " Scaling up provisioners to ${SCALETEST_PARAM_CREATE_CONCURRENCY} ..."
55
+ PROVISIONER_REPLICA_COUNT=" ${SCALETEST_PARAM_CREATE_CONCURRENCY:- 0} "
56
+ if [[ " ${PROVISIONER_REPLICA_COUNT} " -eq 0 ]]; then
57
+ # TODO(Cian): what is a good default value here?
58
+ echo " Setting PROVISIONER_REPLICA_COUNT to 10 since SCALETEST_PARAM_CREATE_CONCURRENCY is 0"
59
+ PROVISIONER_REPLICA_COUNT=10
60
+ fi
61
+ log " Scaling up provisioners to ${PROVISIONER_REPLICA_COUNT} ..."
56
62
maybedryrun " $DRY_RUN " kubectl scale deployment/coder-provisioner \
57
- --replicas " ${SCALETEST_PARAM_CREATE_CONCURRENCY } "
63
+ --replicas " ${PROVISIONER_REPLICA_COUNT } "
58
64
log " Waiting for provisioners to scale up..."
59
65
maybedryrun " $DRY_RUN " kubectl rollout status deployment/coder-provisioner
You can’t perform that action at this time.
0 commit comments