Installing Strimzi Drain Cleaner with Helm
Learn how to install Strimzi Drain Cleaner in Cloudera Streams Messaging Operator for Kubernetes with Helm. Strimzi Drain Cleaner coordinates safe rolling restarts of Strimzi-managed Kafka Pods when Kubernetes nodes are drained.
Strimzi Drain Cleaner is installed in your Kubernetes cluster with the Strimzi Drain Cleaner
Helm chart using the helm install command. When you install the chart, Helm
deploys the validating admission webhook and supporting resources.
Strimzi Drain Cleaner is installed with a separate Helm chart but requires an existing Strimzi deployment. Strimzi Drain Cleaner is most useful after you deploy at least one Kafka cluster. Cloudera recommends doing so before or soon after installation.
Install Strimzi Drain Cleaner in the same Kubernetes cluster where Strimzi and your Kafka clusters run. Only a single installation is supported per Kubernetes cluster. This is because the chart registers a cluster-scoped ValidatingWebhookConfiguration.
With default chart values, cert-manager must be installed and operational in
your Kubernetes cluster. The chart creates cert-manager Certificate and
Issuer resources automatically during installation.
Installing Strimzi Drain Cleaner does not require a Cloudera license.
Strimzi Drain Cleaner is deployed to the strimzi-drain-cleaner
namespace. The installation steps create that namespace before you run
helm install so you can complete required preparation before the chart
deploys Strimzi Drain Cleaner.
Installation instructions are provided for the following scenarios.
-
Installing in an internet environment – Follow these steps to install Strimzi Drain Cleaner in a Kubernetes cluster with internet access.
-
Installing in an air-gapped environment – Follow these steps to install Strimzi Drain Cleaner in a Kubernetes cluster without internet access or if you want to install from a self-hosted registry.
Installing Strimzi Drain Cleaner in an internet environment
Complete these steps to install Strimzi Drain Cleaner if your Kubernetes cluster has internet access.
-
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.
-
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 the Strimzi Cluster Operator is installed and running. See Installation.
-
cert-manageris installed and operational in your Kubernetes cluster. With default chart values, the Strimzi Drain Cleaner Helm chart creates cert-manager Certificate and Issuer resources during installation. - Review the Strimzi Drain Cleaner 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.
After installation, Strimzi Drain Cleaner runs continuously in the background. It requires no day-to-day operator action and responds automatically when Strimzi-managed Kafka Pods are evicted.
Installing Strimzi Drain Cleaner in an air-gapped environment
Complete these steps to install Strimzi Drain Cleaner if your Kubernetes cluster does not have internet access or if you want to install from a self-hosted registry.
-
Your Kubernetes environment meets requirements listed in System requirements.
-
A self-hosted Docker registry is required. Your registry must be accessible by your Kubernetes cluster.
-
A machine with Internet connectivity is required. While the Kubernetes cluster does not need internet access, you will need a machine to pull the images from the Cloudera Docker registry.
-
Access to
dockeror equivalent utility that you can use to pull and push images is required. The following steps usedocker. Replace commands where necessary. -
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 the Strimzi Cluster Operator is installed and running. See Installation.
-
cert-manageris installed and operational in your Kubernetes cluster. With default chart values, the Strimzi Drain Cleaner Helm chart creates cert-manager Certificate and Issuer resources during installation. - Review the Strimzi Drain Cleaner 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.
After installation, Strimzi Drain Cleaner runs continuously in the background. It requires no day-to-day operator action and responds automatically when Strimzi-managed Kafka Pods are evicted.
