aboutsummaryrefslogtreecommitdiff
path: root/test/monitoring-test.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/monitoring-test.yml')
-rw-r--r--test/monitoring-test.yml35
1 files changed, 0 insertions, 35 deletions
diff --git a/test/monitoring-test.yml b/test/monitoring-test.yml
deleted file mode 100644
index 227ba9f..0000000
--- a/test/monitoring-test.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-# Sets up a pod that monitors itself, to test resource usage etc.
-# kubectl exec monitoring-test-... -- /bin/sh -c 'apk add --no-cache curl && curl http://localhost:5556/metrics'
-apiVersion: extensions/v1beta1
-kind: Deployment
-metadata:
- name: monitoring-test
- namespace: kafka
-spec:
- replicas: 1
- template:
- metadata:
- labels:
- app: monitoring-test
- # Uncomment to test with prometheus
- #annotations:
- # prometheus.io/scrape: "true"
- # prometheus.io/port: "5556"
- spec:
- containers:
- - name: monitor
- image: solsson/kafka-prometheus-jmx-exporter@sha256:1f7c96c287a2dbec1d909cd8f96c0656310239b55a9a90d7fd12c81f384f1f7d
- command:
- - java
- - -Dcom.sun.management.jmxremote.ssl=false
- - -Dcom.sun.management.jmxremote.authenticate=false
- - -Dcom.sun.management.jmxremote.port=5555
- - -jar
- - jmx_prometheus_httpserver.jar
- - "5556"
- - example_configs/httpserver_sample_config.yml
- ports:
- - name: jmx
- containerPort: 5555
- - name: slashmetrics
- containerPort: 5556