// This assembly is included in the following assemblies:
//
// metrics/assembly_metrics-kafka.adoc

[id='proc-metrics-deploying-kafka-{context}']

= Deploying a Kafka cluster with Prometheus metrics configuration

To use Grafana dashboards for monitoring, you can deploy xref:ref-metrics-config-files-{context}[an example Kafka cluster with metrics configuration].

.Procedure

* Deploy the Kafka cluster with the metrics configuration:
[source,shell,subs="+attributes"]
kubectl apply -f kafka-metrics.yaml
