Skip to content

chore(scaletest/templates/scaletest-runner): fix dashboard command invocation, autoscale provisioners #10177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 10, 2023

Conversation

johnstcn
Copy link
Member

  • add --retries on kubectl cp
  • remove --count parameter to scaletest dashboard
  • scale provisioners up and down

@johnstcn johnstcn self-assigned this Oct 10, 2023
@johnstcn johnstcn requested a review from mafredri October 10, 2023 13:20

log "Scaling up provisioners to ${SCALETEST_PARAM_CREATE_CONCURRENCY}..."
maybedryrun "$DRY_RUN" kubectl scale deployment/coder-provisioner \
--replicas "${SCALETEST_PARAM_CREATE_CONCURRENCY}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dope! 😍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually I may need to handle concurrency=0 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can just enforce a non-zero value for create concurrency in the template

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, if SCALETEST_PARAM_CREATE_CONCURRENCY is 0, I'm defaulting to 10 provisioners.

johnstcn and others added 2 commits October 10, 2023 15:06
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
@johnstcn johnstcn merged commit 2506415 into main Oct 10, 2023
@johnstcn johnstcn deleted the cj/scaletest-template-updates branch October 10, 2023 14:33
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants