Skip to content

Commit 90c9bbb

Browse files
authored
test: Reduce resources (#728)
1 parent dde2ced commit 90c9bbb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
- name: opa
1818
resources:
1919
requests:
20-
cpu: 100m
20+
cpu: 50m
2121
memory: 256Mi
2222
limits:
2323
cpu: 110m
@@ -38,11 +38,11 @@ spec:
3838
- name: opa
3939
resources:
4040
requests:
41-
cpu: 120m
42-
memory: 384Mi
41+
cpu: 60m
42+
memory: 284Mi
4343
limits:
4444
cpu: 130m
45-
memory: 384Mi
45+
memory: 284Mi
4646
- name: bundle-builder
4747
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
4848
- name: vector
@@ -59,7 +59,7 @@ spec:
5959
- name: opa
6060
resources:
6161
requests:
62-
cpu: 140m
62+
cpu: 70m
6363
memory: 256Mi
6464
limits:
6565
cpu: 150m

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
config:
2121
resources:
2222
cpu:
23-
min: 100m
23+
min: 50m
2424
max: 110m
2525
memory:
2626
limit: 256Mi
@@ -32,10 +32,10 @@ spec:
3232
config:
3333
resources:
3434
cpu:
35-
min: 120m
35+
min: 60m
3636
max: 130m
3737
memory:
38-
limit: 384Mi
38+
limit: 284Mi
3939
logging:
4040
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
4141
resources-from-pod-overrides:
@@ -45,6 +45,6 @@ spec:
4545
- name: opa
4646
resources:
4747
requests:
48-
cpu: 140m
48+
cpu: 70m
4949
limits:
5050
cpu: 150m

0 commit comments

Comments
 (0)