Strimzi: Enabled CruiseControl
authorKai Moritz <kai@juplo.de>
Tue, 3 Oct 2023 16:05:27 +0000 (18:05 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 4 Oct 2023 17:51:57 +0000 (19:51 +0200)
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
strimzi-kafka/rebalance.yaml [new file with mode: 0644]

index 266f523..964beae 100644 (file)
@@ -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 (file)
index 0000000..8c168ad
--- /dev/null
@@ -0,0 +1,7 @@
+apiVersion: kafka.strimzi.io/v1beta2
+kind: KafkaRebalance
+metadata:
+  name: make-it-smoother
+  labels:
+    strimzi.io/cluster: juplo
+spec: {}