File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
scaletest/templates/scaletest-runner/scripts Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ coder exp scaletest cleanup \
28
28
tee " ${SCALETEST_RESULTS_DIR} /cleanup-${event} .txt"
29
29
end_phase
30
30
31
+ if [[ $event != prepare ]]; then
32
+ start_phase " Scaling down provisioners..."
33
+ maybedryrun " $DRY_RUN " kubectl scale deployment/coder-provisioner --replicas 1
34
+ maybedryrun " $DRY_RUN " kubectl rollout status deployment/coder-provisioner
35
+ fi
36
+
31
37
if [[ $event = manual ]]; then
32
38
echo ' Press any key to continue...'
33
39
read -s -r -n 1
Original file line number Diff line number Diff line change @@ -51,3 +51,9 @@ log "Cleaning up from previous runs (if applicable)..."
51
51
" ${SCRIPTS_DIR} /cleanup.sh" " prepare"
52
52
53
53
log " Preparation complete!"
54
+
55
+ log " Scaling up provisioners to ${SCALETEST_PARAM_CREATE_CONCURRENCY} ..."
56
+ maybedryrun " $DRY_RUN " kubectl scale deployment/coder-provisioner \
57
+ --replicas " ${SCALETEST_PARAM_CREATE_CONCURRENCY} "
58
+ log " Waiting for provisioners to scale up..."
59
+ maybedryrun " $DRY_RUN " kubectl rollout status deployment/coder-provisioner
You can’t perform that action at this time.
0 commit comments