Skip to content

Commit 3bc821b

Browse files
committed
Adds tentative resource requests, based on what idle pods use (though this includes monitoring)
1 parent 49865bc commit 3bc821b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

50kafka.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ spec:
3636
--override log.retention.hours=-1
3737
--override log.dirs=/var/lib/kafka/data/topics
3838
--override broker.id=${HOSTNAME##*-}
39+
resources:
40+
requests:
41+
cpu: 100m
42+
memory: 600Mi
3943
volumeMounts:
4044
- name: data
4145
mountPath: /var/lib/kafka/data

zookeeper/50pzoo.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ spec:
4949
name: peer
5050
- containerPort: 3888
5151
name: leader-election
52+
resources:
53+
requests:
54+
cpu: 10m
55+
memory: 120Mi
5256
volumeMounts:
5357
- name: config
5458
mountPath: /usr/local/kafka/config

zookeeper/51zoo.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ spec:
4949
name: peer
5050
- containerPort: 3888
5151
name: leader-election
52+
resources:
53+
requests:
54+
cpu: 10m
55+
memory: 120Mi
5256
volumeMounts:
5357
- name: config
5458
mountPath: /usr/local/kafka/config

0 commit comments

Comments
 (0)