// This assembly is included in the following assemblies:
//
// getting-started.adoc

// Save the context of the assembly that is including this one.
// This is necessary for including assemblies in assemblies.
// See also the complementary step on the last line of this file.
[id='cluster-operator-{context}']
= Cluster Operator

{ProductName} uses the Cluster Operator to deploy and manage Kafka (including Zookeeper) and Kafka Connect clusters.
The Cluster Operator is deployed inside of the
ifdef::Kubernetes[Kubernetes or]
OpenShift cluster.
To deploy a Kafka cluster, a `Kafka` resource with the cluster configuration has to be created within the
ifdef::Kubernetes[Kubernetes or]
OpenShift cluster.
Based on what is declared inside of the `Kafka` resource, the Cluster Operator deploys a corresponding Kafka cluster.
For more information about the different configuration options supported by the `Kafka` resource, see xref:assembly-deployment-configuration-kafka-str[]

NOTE: {ProductName} contains example YAML files, which make deploying a Cluster Operator easier.

include::con-what-the-cluster-operator-does.adoc[leveloffset=+1]

ifdef::Kubernetes[]
include::proc-deploying-cluster-operator-kubernetes.adoc[leveloffset=+1]
endif::Kubernetes[]

include::proc-deploying-cluster-operator-openshift.adoc[leveloffset=+1]

include::proc-deploying-cluster-operator-kubernetes-to-watch-multiple-namespaces.adoc[leveloffset=+1]

ifdef::Helm[]
include::proc-deploying-cluster-operator-helm-chart.adoc[leveloffset=+1]
endif::Helm[]