Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: use scale testing utility#12643

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mtojek merged 23 commits intomainfrom12426-own-scale-tests
Mar 22, 2024
Merged

docs: use scale testing utility#12643

mtojek merged 23 commits intomainfrom12426-own-scale-tests
Mar 22, 2024

Conversation

mtojek
Copy link
Member

@mtojekmtojek commentedMar 18, 2024
edited
Loading

Related:#12426
Preview:https://github.com/coder/coder/blob/12426-own-scale-tests/docs/admin/scale.md

This PR updates theScaling Coder page with recent changes in scaletest-runner.

Changes:

  • remove/deduplicate outdated content
  • update instructions forcoder scaletest switches
  • describe the scaletest runner Coder template including parameters
  • describe test clusters we used for scale testing
  • add paragraph on observability

@mtojekmtojek self-assigned thisMar 18, 2024
@mtojekmtojek changed the titledocs: run scale testing utilitydocs: use scale testing utilityMar 18, 2024
@mtojekmtojek marked this pull request as ready for reviewMarch 21, 2024 14:28
Comment on lines 156 to 157
Depending on the traffic projections, operators can deploy different sample
clusters to perform scale tests. It is recommended to learn how to operate the
Copy link
Member

Choose a reason for hiding this comment

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

The workspace template doesn't control the cluster size; this is up to operators to control.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Rephrased the paragraph 👍

Comment on lines 149 to 155
node_affinity {
required_during_scheduling_ignored_during_execution {
node_selector_term {
match_expressions {
key = "cloud.google.com/gke-nodepool"
operator = "In"
values = ["big-workspaces", "big-workspaces2"]
Copy link
Member

Choose a reason for hiding this comment

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

We might want to make this a parameter instead so it's easier to control the node affinity key/value.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I verified this, and it looks like we need to add the parameter toscaletest-runner, and then modify thescaletest create-workspaces to accept the parameter. It sounds to me more like a follow-up?

johnstcn reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

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

TBH it could just be hard-coded in the template but folks who just use the template as-is are likely going to run into issues. Maybe add a note about having to edit the node affinity to match your environment.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Alright, I added a template variable and dropped a note in docs.

@mtojekmtojek requested a review fromjohnstcnMarch 22, 2024 10:12
@mtojekmtojekenabled auto-merge (squash)March 22, 2024 11:31
@mtojekmtojek merged commita7d9d87 intomainMar 22, 2024
@mtojekmtojek deleted the 12426-own-scale-tests branchMarch 22, 2024 11:33
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 22, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@mafredrimafredriAwaiting requested review from mafredri

Assignees

@mtojekmtojek

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mtojek@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp