Preparing to install data store operators on Linux on IBM Z and LinuxONE
To install a third-party data store, your cluster must have access to the supported version of the data store image.
To see the compatible data store versions for your Instana deployment, install the kubectl plug-in and run the kubectl instana --version command. For more information, see the Instana kubectl plug-in topic.
Preparing for online installation
Prepare for the installation of the data store operators in an online environment.
-
Install Helm.
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 chmod 700 get_helm.sh ./get_helm.sh
-
Make sure that cert-manager, which is used to automatically provision the secret by default, is installed in your cluster. To install
cert-manager
, run the following command:kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.7.1/cert-manager.yaml
Skip this step if cert-manager is already installed in your cluster.
-
Make sure that you set a default storage class on the cluster on which you are installing the data stores. You need a storage class with
ReadWriteMany
(RWX) orReadWriteOnce
(RWO) access mode. Make sure that you update the storage class that you set in your cluster with RWX or RWO access.To verify whether a default storage class is set in your cluster, run the following command:
kubectl get storageclass -o=jsonpath='{.items[?(@.metadata.annotations.storageclass\.kubernetes\.io\/is-default-class=="true")].metadata.name}'
If the command doesn't return a value, then you need to set a default storage class by running the following command:
kubectl patch storageclass <storageclass_name> -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
-
Add and update the Helm repo for third-party operators. Use your Instana download key as the password value.
helm repo add instana https://artifact-public.instana.io/artifactory/rel-helm-customer-virtual --username=_ --password=<download_key>
helm repo update
Preparing for offline installation
Prepare for an offline (air-gapped) installation.
-
Prepare a bastion host that can access both the internet and your own internal image registry.
-
Install Helm on the bastion host.
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 chmod 700 get_helm.sh ./get_helm.sh
-
Add the operator Helm chart repos.
helm repo add instana https://artifact-public.instana.io/artifactory/rel-helm-customer-virtual --username=_ --password=<download_key> helm repo update
-
Download Helm charts.
helm pull instana/ibm-clickhouse-operator --version=v0.1.2 helm pull instana/zookeeper-operator --version=1.0.0 helm pull instana/strimzi-kafka-operator --version=0.38.0 helm pull instana/eck-operator --version=2.9.0 helm pull instana/postgres-operator --version=v1.10.1 helm pull instana/cass-operator --version=0.45.2 helm pull instana/cert-manager --version=1.13.2
-
Pull operator images.
- Cassandra
docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/cassandra/cass-operator:v1.18.2_v0.2.0 docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/cassandra/system-logger:v1.18.2_v0.2.0 docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/cassandra/k8ssandra-k8ssandra-client:0.2.2_v0.1.0 docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/cassandra/k8ssandra-management-api-for-apache-cassandra:4.1.2_v0.1.0
- ClickHouse
docker pull artifact-public.instana.io/clickhouse-operator:v0.1.2 docker pull artifact-public.instana.io/clickhouse-openssl:23.8.10.43-1-lts-ibm
- Elasticsearch
docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/elasticsearch/eck-operator:2.9.0_v0.2.0 docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/elasticsearch/elasticsearch:7.17.14_v0.2.0
- Kafka
docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/kafka/strimzi-operator:0.38.0_v0.1.0 docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/kafka/strimzi-kafka:3.6.0_v0.1.0
- PostgreSQL by using Zalando
docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/postgres/postgres-operator:v1.10.0_v0.1.0 docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/postgres/spilo:3.0-p1_v0.1.0
- ZooKeeper
docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/zookeeper/zookeeper-operator:0.2.15_v0.1.0 docker pull artifact-public.instana.io/self-hosted-images/z/ds-operator-images/zookeeper/zookeeper:3.8.3_v0.3.0 docker pull artifact-public.instana.io/self-hosted-images/k8s/kubectl:v1.31.0_v0.1.0
- Cassandra
-
If you are using your bastion host as the Instana host in your air-gapped environment, you do not need to complete the following steps. However, if your bastion host and the air-gapped host are different, complete these steps:
-
On your bastion host, download the Helm binary for the operating system of your air-gapped host. For the available binary files, see Installation and Upgrading . See the following example command.
wget https://get.helm.sh/helm-v3.15.2-linux-s390x.tar.gz
-
Copy the Helm binary file, operator images, and Helm charts from your bastion host to the host that is in your air-gapped environment.
-
Install Helm on the air-gapped host. Run these commands from the location of the Helm binary file.
tar –xvzf https://get.helm.sh/helm-v3.15.2-linux-s390x.tar.gz mv linux-s390x/helm /usr/local/bin/helm
-
-
Create the data stores. For the commands, see Installing the data stores.