Skip to content

Commit 55eca2a

Browse files
committed
Give load test client more memory and prevent scale-down
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent 2a4a6a7 commit 55eca2a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cluster/config-defaults.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ spot_node_rescheduler_cpu: "50m"
689689

690690
# Enable and configure prevent scale down annotation
691691
teapot_admission_controller_prevent_scale_down_enabled: "true"
692-
{{if eq .Cluster.Environment "production"}}
692+
{{if or (eq .Cluster.Environment "production") (eq .Cluster.Environment "e2e")}}
693693
teapot_admission_controller_prevent_scale_down_allowed: "true"
694694
{{else}}
695695
teapot_admission_controller_prevent_scale_down_allowed: "false"

test/e2e/loadtest/client/loadtest-deployment.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ spec:
2020
prometheus.io/path: /metrics
2121
prometheus.io/port: "9911"
2222
prometheus.io/scrape: "true"
23+
zalando.org/prevent-scale-down: "true"
2324
labels:
2425
application: e2e-vegeta
2526
spec:
@@ -59,10 +60,10 @@ spec:
5960
resources:
6061
limits:
6162
cpu: "1"
62-
memory: 1500Mi
63+
memory: 4Gi
6364
requests:
6465
cpu: "1"
65-
memory: 1500Mi
66+
memory: 4Gi
6667
volumeMounts:
6768
- name: cfg
6869
mountPath: /load-targets

0 commit comments

Comments
 (0)