How to Interface with External ES Storage Clusters
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: