Skip to content

chore: add small scenario to scaletest #19110

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 1 commit into from
Aug 4, 2025
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/action/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.tfvars
4 changes: 2 additions & 2 deletions scaletest/terraform/action/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ terraform {
}

// We use the kubectl provider to apply Custom Resources.
// The kubernetes provider requires the CRD is already present
// The kubernetes provider requires the CRD is already present
// and would require a separate apply step beforehand.
// https://github.com/hashicorp/terraform-provider-kubernetes/issues/1367
kubectl = {
Expand All @@ -40,7 +40,7 @@ terraform {
}
}

required_version = "~> 1.9.0"
required_version = ">= 1.9.0"
}

provider "google" {
Expand Down
35 changes: 35 additions & 0 deletions scaletest/terraform/action/scenarios.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,40 @@ locals {
max_connections = 500
}
}
small = {
coder = {
nodepool_size = 3
machine_type = "c2d-standard-8"
replicas = 3
cpu_request = "4000m"
mem_request = "12Gi"
cpu_limit = "4000m"
mem_limit = "12Gi"
}
provisionerd = {
replicas = 5
cpu_request = "100m"
mem_request = "256Mi"
cpu_limit = "1000m"
mem_limit = "1Gi"
}
workspaces = {
count_per_deployment = 10
nodepool_size = 3
machine_type = "c2d-standard-8"
cpu_request = "100m"
mem_request = "128Mi"
cpu_limit = "100m"
mem_limit = "128Mi"
}
misc = {
nodepool_size = 1
machine_type = "c2d-standard-8"
}
cloudsql = {
tier = "db-custom-2-7680"
Copy link
Member

Choose a reason for hiding this comment

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

Should we drop the DB down a tier too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe? This is not the final state by any means, just snapshotting the work I did so far.

max_connections = 100
}
}
}
}
Loading