mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
chore: add small scenario to scaletest (#19110)
Relaxes the `terraform` version constraint to be at least 1.9, since 1.12 is installed in our Dogfood image Adds a `small` scenario to keep costs down while we continue to develop capabilities.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
*.tfvars
|
||||
@@ -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 = {
|
||||
@@ -40,7 +40,7 @@ terraform {
|
||||
}
|
||||
}
|
||||
|
||||
required_version = "~> 1.9.0"
|
||||
required_version = ">= 1.9.0"
|
||||
}
|
||||
|
||||
provider "google" {
|
||||
|
||||
@@ -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"
|
||||
max_connections = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user