Deploy Confluent Platform

After you complete all the required configuration tasks, deploy Confluent Platform components as described in this topic.

Specify the Confluent Platform images and version to deploy

  1. For the Confluent Platform components you want to deploy, specify the Docker image names and the version tags in the components custom resources (CRs).

    See Confluent Docker Image Reference for the list of Confluent images.

    The tags are the version of Confluent Platform. For example, for ZooKeeper version 6.2.0, set application: confluentinc/cp-zookeeper:6.2.0 in the ZooKeeper CR.

  2. Specify the init container in spec.image.init:. The tag of the init container is the version of CFK.

    To deploy the 6.2.0 and later versions of Confluent Platform, you must use the confluent-init-container instead of the legacy cp-init-container-operator.

    An example ZooKeeper CR to deploy ZooKeeper 6.2.0 with CFK 2.0.4:

    kind: Zookeeper
      name: zookeeper
      namespace: confluent
        application: confluentinc/cp-zookeeper:6.2.0
        init: confluentinc/confluent-init-container:2.0.4

See how to specify different Confluent Platform versions in the component custom resources.

Deploy Confluent Platform

  1. Apply the Confluent Platform CR configurations. You can apply one configuration file for all Confluent Platform components, or apply multiple configuration files for individual Confluent Platform component.

    kubectl apply -f <CR>
  2. Check that all Confluent Platform resources are successfully deployed:

    kubectl get pods