Skip to content

Commit 7a52724

Browse files
reduce cpu and memory in resources test (#602)
Co-authored-by: Siegfried Weber <mail@siegfriedweber.net>
1 parent f6c0767 commit 7a52724

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

tests/templates/kuttl/resources/10-assert.yaml.j2

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ spec:
1717
- name: opa
1818
resources:
1919
requests:
20-
cpu: 200m
20+
cpu: 100m
2121
memory: 256Mi
2222
limits:
23-
cpu: 300m
23+
cpu: 110m
2424
memory: 256Mi
2525
- name: bundle-builder
2626
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
@@ -38,11 +38,11 @@ spec:
3838
- name: opa
3939
resources:
4040
requests:
41-
cpu: 200m
42-
memory: 512Mi
41+
cpu: 120m
42+
memory: 384Mi
4343
limits:
44-
cpu: 400m
45-
memory: 512Mi
44+
cpu: 130m
45+
memory: 384Mi
4646
- name: bundle-builder
4747
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
4848
- name: vector
@@ -59,10 +59,10 @@ spec:
5959
- name: opa
6060
resources:
6161
requests:
62-
cpu: 210m
62+
cpu: 140m
6363
memory: 256Mi
6464
limits:
65-
cpu: 310m
65+
cpu: 150m
6666
memory: 256Mi
6767
- name: bundle-builder
6868
{% if lookup('env', 'VECTOR_AGGREGATOR') %}

tests/templates/kuttl/resources/10-install-opa.yaml.j2

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ spec:
1515
config:
1616
resources:
1717
cpu:
18-
min: 200m
19-
max: 300m
18+
min: 100m
19+
max: 110m
2020
memory:
2121
limit: 256Mi
2222
logging:
@@ -27,10 +27,10 @@ spec:
2727
config:
2828
resources:
2929
cpu:
30-
min: 200m
31-
max: 400m
30+
min: 120m
31+
max: 130m
3232
memory:
33-
limit: 512Mi
33+
limit: 384Mi
3434
logging:
3535
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3636
resources-from-pod-overrides:
@@ -40,6 +40,6 @@ spec:
4040
- name: opa
4141
resources:
4242
requests:
43-
cpu: 210m
43+
cpu: 140m
4444
limits:
45-
cpu: 310m
45+
cpu: 150m

0 commit comments

Comments
 (0)