reduce e2e worker sizing (#1734)

The microvm demo is unnecessarily upsized vs the gvisor counter demo,
and we create larger pools than we need.

CI is relatively tight on resources, and over-sizing uVM actors also
costs boot time, snapshot size etc.
This commit is contained in:
Benjamin Elder
2026-09-18 04:47:07 +00:00
committed by GitHub
parent 66f9e8c2fb
commit 4139df0cc9
3 changed files with 10 additions and 9 deletions
@@ -55,7 +55,7 @@ containers:
resources:
limits:
- name: cpu
quantity: "2"
quantity: "1"
- name: memory
quantity: 512Mi
snapshotsConfig:
+4 -4
View File
@@ -58,8 +58,8 @@ spec:
# limit: the guest RAM plus the VMM reserve has to be really there.
resources:
limits:
cpu: "2"
memory: 2Gi
cpu: "1"
memory: 1Gi
requests:
cpu: 500m
memory: 2Gi
cpu: 250m
memory: 1Gi
+5 -4
View File
@@ -1067,10 +1067,11 @@ func createActorTemplateInternal(ctx context.Context, t *testing.T, clients *e2e
// template names unique.
name := base + "-" + nsObj.Name
at := e2e.CreateSubstrateCounterTemplate(ctx, t, clients, nsObj.Name, e2e.SubstrateTemplateOptions{
Atespace: demoAtespace,
Name: name,
PoolName: base,
PoolReplicas: 5,
Atespace: demoAtespace,
Name: name,
PoolName: base,
// One actor at a time, plus a spare for the worker-deletion tests.
PoolReplicas: 2,
Labels: map[string]string{"demo": nsObj.Name},
SnapshotsConfig: &ateapipb.SnapshotsConfig{
StorageLocation: "gs://" + env["BUCKET_NAME"] + "/ate-demo-" + name,