From b58c59da55886fed65afbaee8b15cee44fc54397 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Fri, 10 Nov 2017 14:35:36 +0100 Subject: [PATCH 1/4] Adds linkedin/kafka-monitor, no need for a service Instead you need some kind of metrics export. Currently I only get a lot of `records-produced-total` but no latencies etc. --- linkedin-kafka-monitor/kafka-monitor.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 linkedin-kafka-monitor/kafka-monitor.yml diff --git a/linkedin-kafka-monitor/kafka-monitor.yml b/linkedin-kafka-monitor/kafka-monitor.yml new file mode 100644 index 00000000..5742624c --- /dev/null +++ b/linkedin-kafka-monitor/kafka-monitor.yml @@ -0,0 +1,23 @@ +apiVersion: apps/v1beta2 +kind: Deployment +metadata: + name: kafka-monitor + namespace: kafka +spec: + replicas: 1 + selector: + matchLabels: + app: kafka-monitor + template: + metadata: + labels: + app: kafka-monitor + spec: + containers: + - name: kafka-monitor + image: solsson/kafka-monitor@sha256:12992f67379bc0850c977069d0283a9fb844e2f1b5530ca9525eea044b7f6b25 + ports: + - name: http + containerPort: 8000 + - name: metrics + containerPort: 8778 From 08c33c1e83b4425f7e23c2d48ce857ca874bda05 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 29 Nov 2017 06:54:43 +0100 Subject: [PATCH 2/4] Adds a service --- linkedin-kafka-monitor/kafka-monitor-service.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 linkedin-kafka-monitor/kafka-monitor-service.yml diff --git a/linkedin-kafka-monitor/kafka-monitor-service.yml b/linkedin-kafka-monitor/kafka-monitor-service.yml new file mode 100644 index 00000000..625e1393 --- /dev/null +++ b/linkedin-kafka-monitor/kafka-monitor-service.yml @@ -0,0 +1,12 @@ +kind: Service +apiVersion: v1 +metadata: + name: kafka-monitor + namespace: kafka +spec: + selector: + app: kafka-monitor + ports: + - protocol: TCP + port: 80 + targetPort: 80 From e5b1acf05aa5b598a8507c9cb2ea6cc4b109d603 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sat, 29 Sep 2018 14:48:58 +0200 Subject: [PATCH 3/4] Bumps kafka-monitor to use the same JRE as the new Kafka 2.0.0 image --- linkedin-kafka-monitor/kafka-monitor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkedin-kafka-monitor/kafka-monitor.yml b/linkedin-kafka-monitor/kafka-monitor.yml index 5742624c..92ab1e4e 100644 --- a/linkedin-kafka-monitor/kafka-monitor.yml +++ b/linkedin-kafka-monitor/kafka-monitor.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: kafka-monitor - image: solsson/kafka-monitor@sha256:12992f67379bc0850c977069d0283a9fb844e2f1b5530ca9525eea044b7f6b25 + image: solsson/kafka-monitor@sha256:e1ce20e14ffd5d94e9a7d4cb285bdc777593e9b224ccb72ade9258f264a97c98 ports: - name: http containerPort: 8000 From 67fba85700e1eb73367097d43d6fbc9b5dc07ab5 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 28 Nov 2018 07:48:15 +0100 Subject: [PATCH 4/4] Kafka Monitor on the JDK 11 image, see #197 --- linkedin-kafka-monitor/kafka-monitor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkedin-kafka-monitor/kafka-monitor.yml b/linkedin-kafka-monitor/kafka-monitor.yml index 92ab1e4e..963d3c46 100644 --- a/linkedin-kafka-monitor/kafka-monitor.yml +++ b/linkedin-kafka-monitor/kafka-monitor.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: kafka-monitor - image: solsson/kafka-monitor@sha256:e1ce20e14ffd5d94e9a7d4cb285bdc777593e9b224ccb72ade9258f264a97c98 + image: solsson/kafka-monitor@sha256:93e8e53da8611b63b991278ed54f52c828ba1c90285b704d4c3fef1c7d4d23d9 ports: - name: http containerPort: 8000