demos/kafka/monitoring
13 months agoStrimzi - Blog 3: Strimzi Entity-Operator
Kai Moritz [Tue, 3 Oct 2023 10:57:43 +0000 (12:57 +0200)]
Strimzi - Blog 3: Strimzi Entity-Operator

kubectl -n juplo get all
kubectl -n juplo apply -f topic.yaml
kubectl -n juplo get kafkatopics
kubectl -n juplo get kafkatopics/test -o yaml

13 months agoStrimzi - Blog 2: Make the cluster externally accessible (without TLS)
Kai Moritz [Tue, 3 Oct 2023 10:30:40 +0000 (12:30 +0200)]
Strimzi - Blog 2: Make the cluster externally accessible (without TLS)

See:
https://itnext.io/kafka-on-kubernetes-the-strimzi-way-part-2-43192f1dd831

microk8s enable metallb
kubectl -n juplo apply -f cluster.yaml
kubectl -n juplo get configmap/strimzi-kafka-0 -o yaml
kubectl -n juplo get services
kafkacat -b 192.168.66.0 -L

13 months agoStrimzi - Blog 1: Aligned example with part 1 from the blog
Kai Moritz [Tue, 3 Oct 2023 07:25:49 +0000 (09:25 +0200)]
Strimzi - Blog 1: Aligned example with part 1 from the blog

kubectl -n juplo apply -f cluster.yaml
kubectl -n juplo get configmap
kubectl -n juplo get configmap/strimzi-kafka-0 -o yaml

13 months agoStrimzi - https://strimzi.io/quickstarts/ (with only 1Gi) -- WORKS
Kai Moritz [Tue, 3 Oct 2023 07:16:31 +0000 (09:16 +0200)]
Strimzi - https://strimzi.io/quickstarts/ (with only 1Gi) -- WORKS

See:
https://strimzi.io/examples/latest/kafka/kafka-persistent-single.yaml

Start with: `kubectl -n juplo apply -f cluster.yaml`

13 months agoStrimzi - Blog 1: Switched back to the unchanged example -- DOES NOT WORK
Kai Moritz [Tue, 3 Oct 2023 07:05:47 +0000 (09:05 +0200)]
Strimzi - Blog 1: Switched back to the unchanged example -- DOES NOT WORK

See:
https://itnext.io/kafka-on-kubernetes-the-strimzi-way-part-1-bdff3e451788

Start with: `kubectl -n juplo apply -f cluster.yaml`

13 months agoStrimzi - Blog 1: First example, with some minor changes -- DOES NOT WORK
Kai Moritz [Tue, 3 Oct 2023 06:49:53 +0000 (08:49 +0200)]
Strimzi - Blog 1: First example, with some minor changes -- DOES NOT WORK

See: https://itnext.io/kafka-on-kubernetes-the-strimzi-way-part-1-bdff3e451788

Start with: `kubectl -n juplo apply -f cluster.yaml`

13 months agoStrimzi - Installation of helm (0.37.0)
Kai Moritz [Tue, 3 Oct 2023 07:18:44 +0000 (09:18 +0200)]
Strimzi - Installation of helm (0.37.0)

helm repo add strimzi https://strimzi.io/charts/
helm search repo strimzi --versions
kubectl create namespace juplo
helm install -n juplo strimzi-kafka strimzi/strimzi-kafka-operator

Use with: `kubectl -n juplo ...`

13 months agoWIP
Kai Moritz [Fri, 29 Sep 2023 10:25:04 +0000 (12:25 +0200)]
WIP

13 months agoWIP:cli
Kai Moritz [Fri, 29 Sep 2023 08:09:19 +0000 (10:09 +0200)]
WIP:cli

13 months agoWIP:cli
Kai Moritz [Fri, 29 Sep 2023 08:05:43 +0000 (10:05 +0200)]
WIP:cli

13 months agoWIP
Kai Moritz [Wed, 27 Sep 2023 20:51:55 +0000 (22:51 +0200)]
WIP

13 months agoWIP
Kai Moritz [Wed, 27 Sep 2023 20:45:51 +0000 (22:45 +0200)]
WIP

13 months agoRenamed and duplicated YAML-files for services
Kai Moritz [Wed, 27 Sep 2023 20:41:39 +0000 (22:41 +0200)]
Renamed and duplicated YAML-files for services

13 months agoShortened file names
Kai Moritz [Wed, 27 Sep 2023 19:48:38 +0000 (21:48 +0200)]
Shortened file names

13 months agoRemoved not needed metadata and switched label and namespace to `kafka`
Kai Moritz [Wed, 27 Sep 2023 19:39:39 +0000 (21:39 +0200)]
Removed not needed metadata and switched label and namespace to `kafka`

13 months agoConverted `docker-compose.yml` to `*.yaml` with kompose
Kai Moritz [Tue, 26 Sep 2023 20:50:25 +0000 (22:50 +0200)]
Converted `docker-compose.yml` to `*.yaml` with kompose

13 months agoSwitched template for kubernates to unmodified images without javaagent
Kai Moritz [Tue, 26 Sep 2023 20:48:53 +0000 (22:48 +0200)]
Switched template for kubernates to unmodified images without javaagent

13 months agoCopied `docker-compose.yml` to subfolder `kubernetes`
Kai Moritz [Tue, 26 Sep 2023 20:42:32 +0000 (22:42 +0200)]
Copied `docker-compose.yml` to subfolder `kubernetes`

13 months agoSYNC-WALL -- Kubernetes
Kai Moritz [Tue, 26 Sep 2023 20:41:28 +0000 (22:41 +0200)]
SYNC-WALL -- Kubernetes

14 months agoREVERT: Service `cli` zu dem Setup hinzugefügt
Kai Moritz [Sat, 16 Sep 2023 16:48:46 +0000 (18:48 +0200)]
REVERT: Service `cli` zu dem Setup hinzugefügt

14 months agoWIP:gitpod
Kai Moritz [Sat, 16 Sep 2023 16:13:37 +0000 (18:13 +0200)]
WIP:gitpod

14 months agoWIP:gitpod
Kai Moritz [Sat, 16 Sep 2023 16:08:39 +0000 (18:08 +0200)]
WIP:gitpod

14 months agoWIP:gitpod
Kai Moritz [Sat, 16 Sep 2023 15:56:18 +0000 (17:56 +0200)]
WIP:gitpod

15 months agoWIP:brokers
Kai Moritz [Tue, 8 Aug 2023 19:42:16 +0000 (21:42 +0200)]
WIP:brokers

15 months agoWIP:brokers
Kai Moritz [Tue, 8 Aug 2023 19:33:58 +0000 (21:33 +0200)]
WIP:brokers

15 months agoWIP:brokers
Kai Moritz [Tue, 8 Aug 2023 19:16:14 +0000 (21:16 +0200)]
WIP:brokers

15 months agoWIP:brokers
Kai Moritz [Tue, 8 Aug 2023 19:12:03 +0000 (21:12 +0200)]
WIP:brokers

15 months agoWIP:brokers
Kai Moritz [Tue, 8 Aug 2023 19:11:38 +0000 (21:11 +0200)]
WIP:brokers

15 months agoWIP:brokers
Kai Moritz [Tue, 8 Aug 2023 19:08:12 +0000 (21:08 +0200)]
WIP:brokers

15 months agoWIP:Incre...
Kai Moritz [Tue, 8 Aug 2023 16:55:48 +0000 (18:55 +0200)]
WIP:Incre...

15 months agoWIP:brokers
Kai Moritz [Tue, 8 Aug 2023 16:52:27 +0000 (18:52 +0200)]
WIP:brokers

15 months agoIncreased number of Brokers from 3 to 5
Kai Moritz [Tue, 8 Aug 2023 16:45:04 +0000 (18:45 +0200)]
Increased number of Brokers from 3 to 5

15 months agoWIP:brokers
Kai Moritz [Mon, 7 Aug 2023 20:03:04 +0000 (22:03 +0200)]
WIP:brokers

15 months agoWIP:brokers
Kai Moritz [Mon, 7 Aug 2023 20:02:07 +0000 (22:02 +0200)]
WIP:brokers

15 months agoWIP:yaml
Kai Moritz [Mon, 7 Aug 2023 19:03:02 +0000 (21:03 +0200)]
WIP:yaml

15 months agoWIP:grafana
Kai Moritz [Mon, 7 Aug 2023 19:02:53 +0000 (21:02 +0200)]
WIP:grafana

15 months agoWIP:grafana
Kai Moritz [Mon, 7 Aug 2023 18:50:05 +0000 (20:50 +0200)]
WIP:grafana

15 months agoWIP:grafana
Kai Moritz [Mon, 7 Aug 2023 18:46:36 +0000 (20:46 +0200)]
WIP:grafana

15 months agoLowered scraping-interval of prometheus to 1s
Kai Moritz [Fri, 4 Aug 2023 20:31:30 +0000 (22:31 +0200)]
Lowered scraping-interval of prometheus to 1s

15 months agoStart of `jmx_exporter` is only delayed for 10 sec
Kai Moritz [Fri, 4 Aug 2023 20:30:00 +0000 (22:30 +0200)]
Start of `jmx_exporter` is only delayed for 10 sec

15 months agoFixed the `jmx_prometheus_javaagent`
Kai Moritz [Fri, 4 Aug 2023 20:18:53 +0000 (22:18 +0200)]
Fixed the `jmx_prometheus_javaagent`

15 months agoDie Bitnami-Images aktivieren KRaft jetzt automatisch
Kai Moritz [Fri, 4 Aug 2023 19:23:24 +0000 (21:23 +0200)]
Die Bitnami-Images aktivieren KRaft jetzt automatisch

15 months agoService `cli` zu dem Setup hinzugefügt
Kai Moritz [Fri, 4 Aug 2023 19:06:11 +0000 (21:06 +0200)]
Service `cli` zu dem Setup hinzugefügt

18 months agoWIP:clients
Kai Moritz [Sat, 6 May 2023 08:36:34 +0000 (10:36 +0200)]
WIP:clients

18 months agoWIP:clients
Kai Moritz [Sat, 6 May 2023 08:34:25 +0000 (10:34 +0200)]
WIP:clients

18 months agoFixed activation of JMX for Zookeeper
Kai Moritz [Tue, 2 May 2023 20:44:38 +0000 (22:44 +0200)]
Fixed activation of JMX for Zookeeper

18 months agoMetrics are now also available via JMX directly
Kai Moritz [Tue, 2 May 2023 20:30:17 +0000 (22:30 +0200)]
Metrics are now also available via JMX directly

18 months agoAdded Dashboard for kafka-lag-exporter
Kai Moritz [Tue, 2 May 2023 15:43:51 +0000 (17:43 +0200)]
Added Dashboard for kafka-lag-exporter

20 months agoWIP:burrow-uis
Kai Moritz [Sat, 25 Feb 2023 07:56:45 +0000 (08:56 +0100)]
WIP:burrow-uis

20 months agoWIP:burrow-uis
Kai Moritz [Fri, 24 Feb 2023 22:16:16 +0000 (23:16 +0100)]
WIP:burrow-uis

20 months agoWIP:volumes
Kai Moritz [Fri, 24 Feb 2023 21:46:06 +0000 (22:46 +0100)]
WIP:volumes

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:40:40 +0000 (22:40 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:37:22 +0000 (22:37 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:33:43 +0000 (22:33 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:29:31 +0000 (22:29 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:23:26 +0000 (22:23 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:18:28 +0000 (22:18 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:13:31 +0000 (22:13 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:09:16 +0000 (22:09 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:08:46 +0000 (22:08 +0100)]
WIP

20 months agoWIP
Kai Moritz [Fri, 24 Feb 2023 21:08:45 +0000 (22:08 +0100)]
WIP

20 months agoBurrow's Zookeeper-Consumer is only needed, if offsets are stored there
Kai Moritz [Tue, 21 Feb 2023 23:08:52 +0000 (00:08 +0100)]
Burrow's Zookeeper-Consumer is only needed, if offsets are stored there

20 months agoAdded Burrow
Kai Moritz [Tue, 21 Feb 2023 23:00:23 +0000 (00:00 +0100)]
Added Burrow

- See: https://github.com/linkedin/Burrow

21 months agoAdded `seglo/kafka-lag-exporter`
Kai Moritz [Tue, 21 Feb 2023 22:11:41 +0000 (23:11 +0100)]
Added `seglo/kafka-lag-exporter`

- See: https://github.com/seglo/kafka-lag-exporter#monitoring-with-grafana

21 months agoFixed the problem with the missing data in the Grfana dashboard
Kai Moritz [Mon, 20 Feb 2023 20:01:00 +0000 (21:01 +0100)]
Fixed the problem with the missing data in the Grfana dashboard

- The naming (and selection) of the broker-metrics that was defined in the
  configurtaion of the jmx-exporter did not match the naming in the
  predefined dashboard.
- Replaced the configuration for the jmx-exporter with the one that was
  defined in the same example, as the dashboard.

21 months agoData!
Kai Moritz [Mon, 20 Feb 2023 17:38:23 +0000 (18:38 +0100)]
Data!

21 months agoEnabled the default metrics in the Bitnami image for Zookeeper
Kai Moritz [Sun, 19 Feb 2023 19:33:40 +0000 (20:33 +0100)]
Enabled the default metrics in the Bitnami image for Zookeeper

See: https://hub.docker.com/r/bitnami/zookeeper/

21 months agoAdded Zookeeper
Kai Moritz [Sun, 19 Feb 2023 19:33:40 +0000 (20:33 +0100)]
Added Zookeeper

Config from: https://github.com/confluentinc/jmx-monitoring-stacks/blob/7.2-post/shared-assets/jmx-exporter/zookeeper.yml
See: https://www.confluent.io/blog/monitor-kafka-clusters-with-prometheus-g

21 months agoAdded Grafana
Kai Moritz [Sun, 19 Feb 2023 10:31:52 +0000 (11:31 +0100)]
Added Grafana

Dashboard from: https://github.com/confluentinc/jmx-monitoring-stacks
See: https://www.confluent.io/blog/monitor-kafka-clusters-with-prometheus-grafana-and-confluent/

21 months agoAdded Prometheus
Kai Moritz [Sun, 19 Feb 2023 09:42:41 +0000 (10:42 +0100)]
Added Prometheus

21 months agoAdded `prometheus_jmx_exporter` as java-agent in the Kafka brokers
Kai Moritz [Sun, 19 Feb 2023 09:26:41 +0000 (10:26 +0100)]
Added `prometheus_jmx_exporter` as java-agent in the Kafka brokers

21 months agoSwitched from KRAFT to Zookeeper -- works :)
Kai Moritz [Sat, 18 Feb 2023 23:03:56 +0000 (00:03 +0100)]
Switched from KRAFT to Zookeeper -- works :)

21 months agoAdded `danielqsj/kafka-exporter` -- does not work :/
Kai Moritz [Sat, 18 Feb 2023 15:09:14 +0000 (16:09 +0100)]
Added `danielqsj/kafka-exporter` -- does not work :/

21 months agoEmpty setup for Docker Compose as basis for the monitoring examples
Kai Moritz [Sat, 18 Feb 2023 14:39:32 +0000 (15:39 +0100)]
Empty setup for Docker Compose as basis for the monitoring examples