Installing the Apache Kafka Operator using KUDO

There are multiple Kafka operators listed in the See also section, such as Strimzi, Banzai Cloud, Confluent, krallistic, and others. Although I don't have any preference in this recipe, as an example, we will deploy the Apache Kafka Operator based on the KUDO Operator.

Let's perform the following steps:

  1. Kafka requires ZooKeeper. Let's create a ZooKeeper cluster:
$ kubectl kudo install zookeeper --instance=zk
  1. Create a Kafka cluster using the KUDO Kafka Operator:
$ kubectl kudo install kafka --instance=kafka
  1. List KUDO Operators by querying the Operators CRD APIs as follows. After deploying Kafka, which also has a ZooKeeper dependency, you should see both kafka and zookeeper operators:
$ kubectl get Operators
NAME AGE
kafka 9s
zookeeper 17s
  1. List KUDO instances:
$ kubectl get instances
NAME AGE
kafka 25s
zk 33s

Now you have learned how to deploy both ZooKeeper and Kafka using the KUDO Operator.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.164.75