mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-03 02:27:01 +09:00
test(e2e): raise kafka/zookeeper preset off the 128Mi OOM threshold
The kafka e2e test pinned both the kafka and zookeeper components to the legacy "nano" preset (250m CPU / 128Mi memory). 128Mi cannot hold the Strimzi Kafka 3.9.1 and ZooKeeper JVMs: the brokers OOMKill on startup (exit 137) and CrashLoopBackOff, so the pods never reach Ready, the Kafka CR and its HelmRelease never go Ready, and the 5m readiness wait times out. It surfaced as a flake because 128Mi sits right at the JVM-start threshold — occasionally a broker passes readiness before its RSS crosses the cgroup limit. Raise both components to "c1.small" (1 CPU / 1Gi), the chart default, which comfortably fits the JVMs. The e2e sandbox VMs are 8 CPU / 24Gi, so 1Gi across the four pods is well within budget. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
1 file changed
+2
-2
@@ -17,13 +17,13 @@ spec:
|
||||
replicas: 2
|
||||
storageClass: ""
|
||||
resources: {}
|
||||
resourcesPreset: "nano"
|
||||
resourcesPreset: "c1.small"
|
||||
zookeeper:
|
||||
size: 5Gi
|
||||
replicas: 2
|
||||
storageClass: ""
|
||||
resources:
|
||||
resourcesPreset: "nano"
|
||||
resourcesPreset: "c1.small"
|
||||
topics:
|
||||
- name: testResults
|
||||
partitions: 1
|
||||
|
||||
Reference in new issue
Block a user