Skip to content

Commit aaf0d35

Browse files
committed
Resource limits for topic creation, based on #221
1 parent 09aec3b commit aaf0d35

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

kafka/test/kafkacat.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ spec:
8585
- "1"
8686
- --replication-factor
8787
- "2"
88+
resources:
89+
limits:
90+
cpu: 200m
91+
memory: 100Mi
8892
restartPolicy: Never
8993
---
9094
apiVersion: apps/v1beta2

kafka/test/produce-consume.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ spec:
6868
- "1"
6969
- --replication-factor
7070
- "2"
71+
resources:
72+
limits:
73+
cpu: 200m
74+
memory: 100Mi
7175
restartPolicy: Never
7276
---
7377
apiVersion: apps/v1beta2

0 commit comments

Comments
 (0)