Chart version: 0.4.4
Api version: v1
App version: v0.14.0
kafka-operator manages Kafka deployments on Kubernetes
Chart Type
Set me up:
helm repo add center
Install Chart:
helm install kafka-operator center/banzaicloud-stable/kafka-operator
Versions (0)

Kafka-operator chart

Kafka-operator is a Kubernetes operator to deploy and manage Kafka resources for a Kubernetes cluster.


  • Kubernetes 1.15.0+

Installing the chart

Before installing the chart, you must first install the kafka-operator CustomResourceDefinition resources. This is performed in a separate step to allow you to easily uninstall and reinstall kafka-operator without deleting your installed custom resources.

kubectl apply --validate=false -f

To install the chart:

$ helm repo add banzaicloud-stable
$ helm install kafka-operator --create-namespace --namespace=kafka banzaicloud-stable/kafka-operator

To install the operator using an already installed cert-manager

$ helm install kafka-operator --set certManager.namespace=<your cert manager namespace> --namespace=kafka  --create-namespace banzaicloud-stable/kafka-operator

Upgrading the chart

To upgrade the chart since the helm 3 limitation you have to set a value as well to keep your CRDs. If this value is not set your CRDs might be deleted.

helm upgrade kafka-operator --set crd.enabled=true --namespace=kafka banzaicloud-stable/kafka-operator

Uninstalling the Chart

To uninstall/delete the kafka-operator release:

$ helm delete --purge kafka-operator

The command removes all the Kubernetes components associated with the chart and deletes the release.


The following table lists the configurable parameters of the Banzaicloud Kafka Operator chart and their default values.

Parameter Description Default
operator.image.repository Operator container image repository
operator.image.tag Operator container image tag v0.12.4
operator.image.pullPolicy Operator container image pull policy IfNotPresent ServiceAccount used by the operator pod kafka-operator
operator.serviceAccount.create If true, create the service account true
operator.resources CPU/Memory resource requests/limits (YAML) Memory: 128Mi/256Mi, CPU: 100m/200m
operator.namespaces List of namespaces where Operator watches for custom resources.

Note that the operator still requires to read the cluster-scoped Node labels to configure rack awareness. Make sure the operator ServiceAccount is granted get permissions on this Node resource when using limited RBACs.
"" i.e. all namespaces
operator.annotations Operator pod annotations can be set {}
prometheusMetrics.enabled If true, use direct access for Prometheus metrics false
prometheusMetrics.authProxy.enabled If true, use auth proxy for Prometheus metrics true
prometheusMetrics.authProxy.serviceAccount.create If true, create the service account (see used by prometheus auth proxy true ServiceAccount used by prometheus auth proxy kafka-operator-authproxy
prometheusMetrics.authProxy.image.repository Auth proxy container image repository
prometheusMetrics.authProxy.image.tag Auth proxy container image tag v0.4.0
prometheusMetrics.authProxy.image.pullPolicy Auth proxy container image pull policy IfNotPresent
rbac.enabled Create rbac service account and roles true
imagePullSecrets Image pull secrets can be set []
replicaCount Operator replica count can be set 1
alertManager.enable AlertManager can be enabled true
nodeSelector Operator pod node selector can be set {}
tolerations Operator pod tolerations can be set []
affinity Operator pod affinity can be set {}
nameOverride Release name can be overwritten ""
crd.enabled Whether to enable CRD installation(used for upgrade only) false
fullnameOverride Release full name can be overwritten ""
certManager.namespace Operator will look for the cert manager in this namespace cert-manager
certManager.enabled Operator will integrate with the cert manager false
webhook.enabled Operator will activate the admission webhooks for custom resources true
webhook.certs.generate Helm chart will generate cert for the webhook true
webhook.certs.secret Helm chart will use the secret name applied here for the cert kafka-operator-serving-cert