From: Kai Moritz Date: Tue, 3 Oct 2023 16:05:27 +0000 (+0200) Subject: Strimzi: Enabled CruiseControl X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0e88a0004b6f827eb7f9bfcc6f2b49708bcb6209;p=demos%2Fkafka%2Fmonitoring Strimzi: Enabled CruiseControl kubectl -n juplo apply -f rebalance.yaml kubectl -n juplo get kafkarebalances kubectl -n juplo get kafkarebalances make-it-smoother -o yaml kubectl -n juplo describe kafkarebalances make-it-smoother kubectl -n juplo annotate kafkarebalance make-it-smoother strimzi.io/rebalance=approve kubectl -n juplo describe kafkarebalance make-it-smoother kubectl -n juplo annotate kafkarebalance make-it-smoother strimzi.io/rebalance=stop kubectl -n juplo describe kafkarebalance make-it-smoother kubectl -n juplo annotate kafkarebalance make-it-smoother strimzi.io/rebalance=refresh kubectl -n juplo annotate kafkarebalance make-it-smoother strimzi.io/rebalance=approve --- diff --git a/strimzi-kafka/cluster.yaml b/strimzi-kafka/cluster.yaml index 266f523..964beae 100644 --- a/strimzi-kafka/cluster.yaml +++ b/strimzi-kafka/cluster.yaml @@ -40,3 +40,4 @@ spec: deleteClaim: false entityOperator: topicOperator: {} + cruiseControl: {} diff --git a/strimzi-kafka/rebalance.yaml b/strimzi-kafka/rebalance.yaml new file mode 100644 index 0000000..8c168ad --- /dev/null +++ b/strimzi-kafka/rebalance.yaml @@ -0,0 +1,7 @@ +apiVersion: kafka.strimzi.io/v1beta2 +kind: KafkaRebalance +metadata: + name: make-it-smoother + labels: + strimzi.io/cluster: juplo +spec: {}