Skip to content

Commit 432f1e8

Browse files
committed
Cruise Control on Java 11
and the metrics jar copied from the same image
1 parent ab8d0e8 commit 432f1e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cruise-control/20kafka-broker-reporter-patch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ spec:
88
spec:
99
initContainers:
1010
- name: cruise-control-reporter
11-
image: solsson/kafka-cruise-control-jar@sha256:20a26ae1fab5d63592143093e460d06c4d8f1bef666d592b6393a3b41e3743e8
11+
image: solsson/kafka-cruise-control@sha256:af4af35cd1c44b2256e96246a98350ff3e53f64a3061de1a5b0c2a2e9f8e2d8c
1212
command:
1313
- /bin/sh
1414
- -cex
1515
- |
16-
cp -v /cruise-control-metrics-reporter.jar /opt/kafka/libs/extensions/cruise-control-metrics-reporter.jar
16+
cp -v /opt/cruise-control/cruise-control/build/dependant-libs/cruise-control-metrics-reporter.jar /opt/kafka/libs/extensions/cruise-control-metrics-reporter.jar
1717
echo -e "\n\nmetric.reporters = com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter" | tee -a /etc/kafka/server.properties
1818
volumeMounts:
1919
- name: config

cruise-control/50cruise-control.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
mountPath: /opt/cruise-control/config
2828
containers:
2929
- name: cruise-control
30-
image: pdouble16/kafka-cruise-control-docker:2.0.17@sha256:2bf22a47a928689b94f0771cee4be557dff35948269d31a348bc1e3055ea2336
30+
image: solsson/kafka-cruise-control@sha256:af4af35cd1c44b2256e96246a98350ff3e53f64a3061de1a5b0c2a2e9f8e2d8c
3131
imagePullPolicy: IfNotPresent
3232
ports:
3333
- name: api

0 commit comments

Comments
 (0)