Skip to content

fix(scaletest): adjust sessionAffinity and scenario resources #8205

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 2 commits into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions scaletest/terraform/coder.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ coder:
readOnlyRootFilesystem: true
service:
enable: true
sessionAffinity: None
loadBalancerIP: "${local.coder_address}"
volumeMounts:
- mountPath: "/tmp"
Expand Down
6 changes: 4 additions & 2 deletions scaletest/terraform/scenario-large.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
nodepool_machine_type_coder = "t2d-standard-8"
nodepool_size_coder = 3
nodepool_machine_type_workspaces = "t2d-standard-8"
coder_cpu = "7" # Leaving 1 CPU for system workloads
coder_mem = "28Gi" # Leaving 4GB for system workloads
coder_cpu = "6000m" # Leaving 2 CPUs for system workloads
coder_mem = "24Gi" # Leaving 8 GB for system workloads
coder_replicas = 3
8 changes: 4 additions & 4 deletions scaletest/terraform/scenario-medium.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodepool_machine_type_coder = "t2d-standard-4"
nodepool_machine_type_workspaces = "t2d-standard-4"
coder_cpu = "3000m" # Leaving 1 CPU for system workloads
coder_mem = "12Gi" # Leaving 4 GB for system workloads
nodepool_machine_type_coder = "t2d-standard-8"
nodepool_machine_type_workspaces = "t2d-standard-8"
coder_cpu = "6000m" # Leaving 2 CPUs for system workloads
coder_mem = "24Gi" # Leaving 8 GB for system workloads
8 changes: 4 additions & 4 deletions scaletest/terraform/scenario-small.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodepool_machine_type_coder = "t2d-standard-2"
nodepool_machine_type_workspaces = "t2d-standard-2"
coder_cpu = "1000m" # Leaving 1 CPU for system workloads
coder_mem = "4Gi" # Leaving 4GB for system workloads
nodepool_machine_type_coder = "t2d-standard-4"
nodepool_machine_type_workspaces = "t2d-standard-4"
coder_cpu = "2000m" # Leaving 2 CPUs for system workloads
coder_mem = "12Gi" # Leaving 4GB for system workloads