File tree Expand file tree Collapse file tree 3 files changed +0
-61
lines changed Expand file tree Collapse file tree 3 files changed +0
-61
lines changed Original file line number Diff line number Diff line change 11
11
labels :
12
12
app : kafka
13
13
annotations :
14
- prometheus.io/scrape : " true"
15
- prometheus.io/port : " 5556"
16
14
spec :
17
15
terminationGracePeriodSeconds : 30
18
16
initContainers :
@@ -23,24 +21,11 @@ spec:
23
21
- name : config
24
22
mountPath : /etc/kafka
25
23
containers :
26
- - name : metrics
27
- image : solsson/kafka-prometheus-jmx-exporter@sha256:1f7c96c287a2dbec1d909cd8f96c0656310239b55a9a90d7fd12c81f384f1f7d
28
- ports :
29
- - containerPort : 5556
30
- resources :
31
- requests :
32
- cpu : 0m
33
- memory : 40Mi
34
- limits :
35
- cpu : 10m
36
- memory : 100Mi
37
24
- name : broker
38
25
image : solsson/kafka:0.11.0.0@sha256:b27560de08d30ebf96d12e74f80afcaca503ad4ca3103e63b1fd43a2e4c976ce
39
26
env :
40
27
- name : KAFKA_LOG4J_OPTS
41
28
value : -Dlog4j.configuration=file:/etc/kafka/log4j.properties
42
- - name : JMX_PORT
43
- value : " 5555"
44
29
ports :
45
30
- containerPort : 9092
46
31
command :
Original file line number Diff line number Diff line change 12
12
app : zookeeper
13
13
storage : persistent
14
14
annotations :
15
- prometheus.io/scrape : " true"
16
- prometheus.io/port : " 5556"
17
15
spec :
18
16
terminationGracePeriodSeconds : 10
19
17
initContainers :
@@ -26,32 +24,11 @@ spec:
26
24
- name : data
27
25
mountPath : /var/lib/zookeeper/data
28
26
containers :
29
- - name : metrics
30
- image : solsson/kafka-prometheus-jmx-exporter@sha256:1f7c96c287a2dbec1d909cd8f96c0656310239b55a9a90d7fd12c81f384f1f7d
31
- command :
32
- - java
33
- - -Xms39M
34
- - -Xmx99M
35
- - -jar
36
- - jmx_prometheus_httpserver.jar
37
- - " 5556"
38
- - example_configs/zookeeper.yaml
39
- ports :
40
- - containerPort : 5556
41
- resources :
42
- requests :
43
- cpu : 0m
44
- memory : 40Mi
45
- limits :
46
- cpu : 10m
47
- memory : 100Mi
48
27
- name : zookeeper
49
28
image : solsson/kafka:0.11.0.0@sha256:b27560de08d30ebf96d12e74f80afcaca503ad4ca3103e63b1fd43a2e4c976ce
50
29
env :
51
30
- name : KAFKA_LOG4J_OPTS
52
31
value : -Dlog4j.configuration=file:/etc/kafka/log4j.properties
53
- - name : JMX_PORT
54
- value : " 5555"
55
32
command :
56
33
- ./bin/zookeeper-server-start.sh
57
34
- /etc/kafka/zookeeper.properties
Original file line number Diff line number Diff line change 12
12
app : zookeeper
13
13
storage : ephemeral
14
14
annotations :
15
- prometheus.io/scrape : " true"
16
- prometheus.io/port : " 5556"
17
15
spec :
18
16
terminationGracePeriodSeconds : 10
19
17
initContainers :
@@ -29,32 +27,11 @@ spec:
29
27
- name : data
30
28
mountPath : /var/lib/zookeeper/data
31
29
containers :
32
- - name : metrics
33
- image : solsson/kafka-prometheus-jmx-exporter@sha256:1f7c96c287a2dbec1d909cd8f96c0656310239b55a9a90d7fd12c81f384f1f7d
34
- command :
35
- - java
36
- - -Xms39M
37
- - -Xmx99M
38
- - -jar
39
- - jmx_prometheus_httpserver.jar
40
- - " 5556"
41
- - example_configs/zookeeper.yaml
42
- ports :
43
- - containerPort : 5556
44
- resources :
45
- requests :
46
- cpu : 0m
47
- memory : 40Mi
48
- limits :
49
- cpu : 10m
50
- memory : 100Mi
51
30
- name : zookeeper
52
31
image : solsson/kafka:0.11.0.0@sha256:b27560de08d30ebf96d12e74f80afcaca503ad4ca3103e63b1fd43a2e4c976ce
53
32
env :
54
33
- name : KAFKA_LOG4J_OPTS
55
34
value : -Dlog4j.configuration=file:/etc/kafka/log4j.properties
56
- - name : JMX_PORT
57
- value : " 5555"
58
35
command :
59
36
- ./bin/zookeeper-server-start.sh
60
37
- /etc/kafka/zookeeper.properties
You can’t perform that action at this time.
0 commit comments