// Module included in the following assemblies:
//
// assembly-kafka-entity-operator.adoc

[id='proc-configuring-kafka-entity-operator-{context}']
= Configuring the Entity Operator

.Prerequisites

* A Kubernetes cluster
* A running Cluster Operator

.Procedure

. Edit the `entityOperator` property in the `Kafka` resource.
For example:
+
[source,yaml,subs=attributes+]
----
apiVersion: {KafkaApiVersion}
kind: Kafka
metadata:
  name: my-cluster
spec:
  kafka:
    # ...
  zookeeper:
    # ...
  entityOperator:
    topicOperator:
      watchedNamespace: my-topic-namespace
      reconciliationIntervalSeconds: 60
    userOperator:
      watchedNamespace: my-user-namespace
      reconciliationIntervalSeconds: 60
----
+
. Create or update the resource.
+
This can be done using `kubectl apply`:
[source,shell,subs=+quotes]
kubectl apply -f _your-file_
