How to Interface with External ES Storage Clusters
This guide describes the Elasticsearch storage plugin's elasticsearch.address / basicAuthSecretName install-form fields, retained here as reference material for ACP 4.2 / 4.3 installations that are still running the chart-installed Elasticsearch stack.
ACP 4.4 does not ship the Elasticsearch backend at all. Fresh 4.4 installs reach an external ClickHouse or OpenSearch and an external Kafka through the two platform-default-* connection Secrets — external interfacing is the default install path, not an opt-in. Follow Installation and skip this guide. Customers upgrading from ACP 4.3 on Elasticsearch migrate to ClickHouse or OpenSearch during the upgrade; see the Upgrade guide.
You can interface with external Elasticsearch or Kafka clusters by writing YAML configurations. Depending on your business requirements, you can choose to interface with only the external Elasticsearch cluster (while installing Kafka in the current cluster), or you can interface with both the external Elasticsearch and Kafka clusters simultaneously.
The supported versions for interfacing with external Elasticsearch are as follows:
- Elasticsearch 6.x supports versions 6.6 - 6.8;
- Elasticsearch 7.x supports versions 7.0 - 7.10.2, with a recommendation to use 7.10.2.
Resource Preparation
Before interfacing, you need to prepare the required credential information.
-
In the left navigation bar, click on Cluster Management > Resource Management, then switch to the cluster that needs the plugin installation.
-
Click on Create Resource Object, and fill in the code box after modifying the parameters according to the code comments.
-
Credentials required for interfacing with external Elasticsearch:
-
If you need to use an external Kafka cluster, you will also need to create credentials for interfacing with the external Kafka cluster:
- Click on Create.
Operating Procedures
-
In the left navigation bar, click Marketplace > Cluster Plugins.
-
In the top navigation, select the Cluster Name where you want to install Alauda Container Platform Log Storage for Elasticsearch.
-
Click the action button on the right side of Alauda Container Platform Log Storage for Elasticsearch and select Install.
-
Enable the External Elasticsearch switch, then configure the YAML file using the following examples and parameter descriptions:
-
Interfacing with the external Elasticsearch cluster while installing Kafka in the current cluster:
-
Interfacing with both the external Elasticsearch cluster and the external Kafka cluster: