Installing Strimzi in an internet environment
Complete these steps to install Strimzi if your Kubernetes cluster has internet access. Installing Strimzi installs the applications and resources that enable you to deploy and manage Kafka in Kubernetes.
Strimzi is installed in your Kubernetes cluster with the Strimzi Cluster Operator
Helm chart using the helm install
command. When you install the
chart, Helm installs the Strimzi Custom Resource Definitions (CRDs) included in CSM Operator and deploys the Strimzi Cluster Operator,
which is an operator application that manages and monitors Kafka and related
components. Additionally, other cluster resources and applications required for
managing Kafka are also installed.
Installing Strimzi does not create or deploy a Kafka cluster. Kafka clusters are
created following the installation by deploying Kafka and
KafkaNodePool resources in the Kubernetes cluster with
kubectl
or oc
.
Cloudera recommends that you install Strimzi once per Kubernetes cluster. Some resources are cluster-wide, which can cause issues if Strimzi is installed multiple times on the same cluster.
By default the Strimzi Cluster Operator (deployed with installation) watches and manages the Kafka clusters that are deployed in the same namespace as the Strimzi Cluster Operator. However, you can configure it to watch any namespace. This allows you to manage multiple Kafka clusters deployed in different namespaces using a single installation.
-
Ensure that your Kubernetes environment meets requirements listed in System requirements.
-
Your Kubernetes cluster requires internet connectivity to complete these steps. It must be able to reach the Cloudera Docker registry.
-
Ensure that you have access to your Cloudera credentials (username and password). Credentials are required to access the Cloudera Archive and Cloudera Docker registry where installation artifacts are hosted.
-
Ensure that you have access to a valid Cloudera license.
- Review the Helm chart reference before
installation.
The Helm chart accepts various configuration properties that you can set during installation. Using these properties you can customize your installation.
-
If you are planning to watch and manage more than 20 Kafka clusters with a single installation, you must increase the memory and heap allocated to the Strimzi Cluster Operator. You can specify memory configuration in your
helm install
command. For more information, see Increasing Cluster Operator memory.
- Deploy a Kafka cluster, see Deploying Kafka.
- Set up Prometheus for monitoring, see Configuring Kafka for Prometheus monitoring and Monitoring with Prometheus.