mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-10-02 03:24:42 +08:00
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:
@@ -55,7 +55,7 @@ containers:
|
||||
resources:
|
||||
limits:
|
||||
- name: cpu
|
||||
quantity: "2"
|
||||
quantity: "1"
|
||||
- name: memory
|
||||
quantity: 512Mi
|
||||
snapshotsConfig:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user