Installing CSA Operator in an air-gapped environment
Complete these steps to install CSA Operator if your Kubernetes cluster does not have internet access, or if you want to install from a self-hosted registry. Installing the CSA Operator enables you to deploy and manage Flink and SQL Stream Builder (SSB) in Kubernetes.
CSA Operator is installed in your Kubernetes cluster with the
provided Helm chart through the helm install
command. When you install the
chart, Helm installs the Custom Resource Descriptors (CRD) included in CSA Operator, and deploys the Apache Kubernetes Flink Operator (Flink
Operator), SSB engine (in Technical Preview), and a PostgreSQL database for SSB.
Installing CSA Operator does not create or deploy a Flink cluster.
The Flink cluster is created after the installation by deploying the Flink Deployment
resource in the Kubernetes cluster with kubectl
or oc
, or
when you execute a SQL job in Streaming SQL Console.
- Ensure that 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.
- While the Kubernetes cluster does not need internet access in an air-gapped environment, the preparation steps to create the local (offline) repository, from which you can install CSA Operator, require that you can download and move the artifacts hosted on the Cloudera Docker registry and Cloudera Archive.
- Access to
docker
or equivalent utility that you can use to pull and push images is required. The Cloudera-recommended way is usingdocker
. Replace commands where necessary, if you use a different utility. - Ensure that you have access to your Cloudera credentials (username and password). Credentials are required to access the Cloudera Docker registry (and, if needed, the Cloudera Archive) 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 want to use the Webhook of Flink Operator, ensure that you have cert-manager
installed on your Kubernetes cluster, which you can install using the following
command:
kubectl create -f https://github.com/jetstack/cert-manager/releases/download/v1.8.2/cert-manager.yaml kubectl wait -n cert-manager --for=condition=Available deployment --all
- The webhook functionality is enabled by default. You can disable it using the
following command, and skip the cert-manager
installation:
--set flink-kubernetes-operator.webhook.create=false
- The webhook functionality is enabled by default. You can disable it using the
following command, and skip the cert-manager
installation: