Skip to content

Commit 80fb937

Browse files
committed
chore: add small scenario to scaletest
1 parent 26d232d commit 80fb937

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

scaletest/terraform/action/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.tfvars

scaletest/terraform/action/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ terraform {
1616
}
1717

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

43-
required_version = "~> 1.9.0"
43+
required_version = ">= 1.9.0"
4444
}
4545

4646
provider "google" {

scaletest/terraform/action/scenarios.tf

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,40 @@ locals {
3535
max_connections = 500
3636
}
3737
}
38+
small = {
39+
coder = {
40+
nodepool_size = 3
41+
machine_type = "c2d-standard-8"
42+
replicas = 3
43+
cpu_request = "4000m"
44+
mem_request = "12Gi"
45+
cpu_limit = "4000m"
46+
mem_limit = "12Gi"
47+
}
48+
provisionerd = {
49+
replicas = 5
50+
cpu_request = "100m"
51+
mem_request = "256Mi"
52+
cpu_limit = "1000m"
53+
mem_limit = "1Gi"
54+
}
55+
workspaces = {
56+
count_per_deployment = 10
57+
nodepool_size = 3
58+
machine_type = "c2d-standard-8"
59+
cpu_request = "100m"
60+
mem_request = "128Mi"
61+
cpu_limit = "100m"
62+
mem_limit = "128Mi"
63+
}
64+
misc = {
65+
nodepool_size = 1
66+
machine_type = "c2d-standard-8"
67+
}
68+
cloudsql = {
69+
tier = "db-custom-2-7680"
70+
max_connections = 100
71+
}
72+
}
3873
}
3974
}

0 commit comments

Comments
 (0)