Skip to content

Commit 730cc83

Browse files
chore: Lower requested resources in the logging test (#472)
* Disable all tests except the logging test * Lower the requested resources for the logging tests * Remove explicit memory limits in the logging tests * Enable all integration tests
1 parent 9b76ba6 commit 730cc83

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

tests/templates/kuttl/logging/03-install-hdfs-automatic-log.yaml.j2

+15
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ spec:
1111
vectorAggregatorConfigMapName: hdfs-vector-aggregator-discovery
1212
zookeeperConfigMapName: test-hdfs-automatic-log-znode
1313
nameNodes:
14+
config:
15+
resources:
16+
cpu:
17+
max: 250m
18+
min: 50m
1419
roleGroups:
1520
default:
1621
replicas: 2
@@ -59,6 +64,11 @@ spec:
5964
ROOT:
6065
level: INFO
6166
dataNodes:
67+
config:
68+
resources:
69+
cpu:
70+
max: 250m
71+
min: 50m
6272
roleGroups:
6373
default:
6474
replicas: 1
@@ -94,6 +104,11 @@ spec:
94104
ROOT:
95105
level: DEBUG
96106
journalNodes:
107+
config:
108+
resources:
109+
cpu:
110+
max: 250m
111+
min: 50m
97112
roleGroups:
98113
default:
99114
replicas: 1

tests/templates/kuttl/logging/04-install-hdfs-custom-log.yaml.j2

+15
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ spec:
6868
vectorAggregatorConfigMapName: hdfs-vector-aggregator-discovery
6969
zookeeperConfigMapName: test-hdfs-custom-log-znode
7070
nameNodes:
71+
config:
72+
resources:
73+
cpu:
74+
max: 250m
75+
min: 50m
7176
roleGroups:
7277
default:
7378
replicas: 2
@@ -88,6 +93,11 @@ spec:
8893
custom:
8994
configMap: hdfs-format-zookeeper-log-config
9095
dataNodes:
96+
config:
97+
resources:
98+
cpu:
99+
max: 250m
100+
min: 50m
91101
roleGroups:
92102
default:
93103
replicas: 1
@@ -102,6 +112,11 @@ spec:
102112
custom:
103113
configMap: hdfs-wait-for-namenodes-log-config
104114
journalNodes:
115+
config:
116+
resources:
117+
cpu:
118+
max: 250m
119+
min: 50m
105120
roleGroups:
106121
default:
107122
replicas: 1

0 commit comments

Comments
 (0)