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

Commite80f91e

Browse files
authored
chore: add small scenario to scaletest (#19110)
Relaxes the `terraform` version constraint to be at least 1.9, since1.12 is installed in our Dogfood imageAdds a `small` scenario to keep costs down while we continue to developcapabilities.
1 parentb95cf47 commite80f91e

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed
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)

[8]ページ先頭

©2009-2025 Movatter.jp