From 0e88a0004b6f827eb7f9bfcc6f2b49708bcb6209 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 3 Oct 2023 18:05:27 +0200 Subject: [PATCH] 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 --- strimzi-kafka/cluster.yaml | 1 + strimzi-kafka/rebalance.yaml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 strimzi-kafka/rebalance.yaml 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: {} -- 2.20.1