Installation
The platform's logging system consists of three plugins:Alauda Container Platform Log Essentails , Alauda Container Platform Log Collector and Alauda Container Platform Log Storage. This chapter will introduce you to the installation of these plugins.
-
The
globalcluster can query the log data stored on any workload cluster within the platform. Ensure that theglobalcluster can access port 11780 of the workload cluster. -
The Alauda Container Platform Log Storage with Clickhouse plugin needs Clickhouse operator, before installing the plugin, please ensure that the Clickhouse operator is uploaded in the cluster.
TOC
Installation PlanningInstall Alauda Container Platform Log Essentials via consoleInstall Alauda Container Platform Log Essentials via YAML1. Check available versions2. Create a ModuleInfo3. Verify installationInstall Alauda Container Platform Log Storage with ElasticSearch via consoleInstall Alauda Container Platform Log Storage with ElasticSearch via YAML1. Check available versions2. Create a ModuleInfo3. Verify installationInstall Alauda Container Platform Log Storage with Clickhouse via consoleInstall Alauda Container Platform Log Storage with Clickhouse via YAML1. Check available versions2. Create a ModuleInfo3. Verify installationInstall Alauda Container Platform Log Collector PluginInstall Alauda Container Platform Log Collector Plugin via YAML1. Check available versions2. Create a ModuleInfo3. Verify installationInstallation Planning
Some components of the Logging are resource-intensive. We recommend running them on infra nodes and setting nodeSelector and tolerations to ensure they run only on those nodes. If you are evaluating the product and have not provisioned infra nodes, you can remove these settings so the components run on all nodes.
For guidance on planning infra nodes, see Cluster Node Planning.
Alauda Container Platform Log Storage plugins can be installed in any cluster, and any cluster's log storage component can be selected for log collection to interface with the storage data.
So , before installing the log storage plugin , you need to plan the cluster and node where the log storage component will be installed.
-
Avoid deploying log storage plugins in the global cluster. Instead, deploy them in workload clusters to ensure management cluster failures do not disrupt log-based issue resolution.
-
Prioritize centralizing logs to a single log storage cluster. If log volume exceeds maximum capacity thresholds, distribute logs across multiple storage clusters.
-
Deploy at least one log storage instance per network zone to aggregate logs locally, minimizing cross-data-center public network traffic (which incurs high costs and latency).
-
Dedicate exclusive nodes for log storage, avoiding co-deployment with other applications or platform components. Log storage requires high I/O throughput and may be affected by interference.
-
Mount dedicated SSD disks for log storage to significantly enhance performance.
Install Alauda Container Platform Log Essentials via console
-
Navigate to App Store Management > Cluster Plugin and select the
globalcluster. -
In the Plugins tab, click the action button to the right of Alauda Container Platform Log Essentials > Install.
-
Click Install.
Install Alauda Container Platform Log Essentials via YAML
1. Check available versions
Ensure the plugin has been published by checking for ModulePlugin and ModuleConfig resources, in the globalcluster:
This indicates that the ModulePlugin log-api exists in the cluster and version v4.2.0 is published.
2. Create a ModuleInfo
Create a ModuleInfo resource to install the plugin without any configuration parameters:
YAML field reference:
3. Verify installation
Since the ModuleInfo name changes upon creation, locate the resource via label to check the plugin status and version:
Field explanations:
NAME: ModuleInfo resource nameCLUSTER: Cluster where the plugin is installedMODULE: Plugin nameDISPLAY_NAME: Display name of the pluginSTATUS: Installation status;Runningmeans successfully installed and runningTARGET_VERSION: Intended installation versionCURRENT_VERSION: Version before installationNEW_VERSION: Latest available version for installation
Install Alauda Container Platform Log Storage with ElasticSearch via console
-
Navigate to App Store Management > Cluster Plugin and select the target cluster.
-
In the Plugins tab, click the action button to the right of Alauda Container Platform Log Storage with ElasticSearch > Install.
-
Refer to the following instructions to configure relevant parameters.
-
Click Install.
Install Alauda Container Platform Log Storage with ElasticSearch via YAML
1. Check available versions
Ensure the plugin has been published by checking for ModulePlugin and ModuleConfig resources, in the globalcluster:
This indicates that the ModulePlugin logcenter exists in the cluster and version v4.1.0 is published.
2. Create a ModuleInfo
Create a ModuleInfo resource to install the plugin without any configuration parameters:
YAML field reference:
3. Verify installation
Since the ModuleInfo name changes upon creation, locate the resource via label to check the plugin status and version:
Field explanations:
NAME: ModuleInfo resource nameCLUSTER: Cluster where the plugin is installedMODULE: Plugin nameDISPLAY_NAME: Display name of the pluginSTATUS: Installation status;Runningmeans successfully installed and runningTARGET_VERSION: Intended installation versionCURRENT_VERSION: Version before installationNEW_VERSION: Latest available version for installation
Install Alauda Container Platform Log Storage with Clickhouse via console
-
Navigate to App Store Management > Cluster Plugin and select the target cluster.
-
In the Plugins tab, click the action button to the right of Alauda Container Platform Log Storage with Clickhouse > Install.
-
Refer to the following instructions to configure relevant parameters.
-
Click Install.
Install Alauda Container Platform Log Storage with Clickhouse via YAML
1. Check available versions
Ensure the plugin has been published by checking for ModulePlugin and ModuleConfig resources, in the globalcluster:
This indicates that the ModulePlugin logclickhouse exists in the cluster and version v4.1.0 is published.
2. Create a ModuleInfo
Create a ModuleInfo resource to install the plugin without any configuration parameters:
YAML field reference (ClickHouse):
3. Verify installation
Since the ModuleInfo name changes upon creation, locate the resource via label to check the plugin status and version:
Field explanations:
NAME: ModuleInfo resource nameCLUSTER: Cluster where the plugin is installedMODULE: Plugin nameDISPLAY_NAME: Display name of the pluginSTATUS: Installation status;Runningmeans successfully installed and runningTARGET_VERSION: Intended installation versionCURRENT_VERSION: Version before installationNEW_VERSION: Latest available version for installation
Install Alauda Container Platform Log Collector Plugin
-
Navigate to App Store Management > Cluster Plugin and select the target cluster.
-
In the Plugins tab, click the action button to the right of Alauda Container Platform Log Collector > Install.
-
Select the Storage Cluster (where Alauda Container Platform Log Storage has been installed) and click Select/Deselect log types to set the scope of log collection in the cluster.
-
Click Install.
Install Alauda Container Platform Log Collector Plugin via YAML
1. Check available versions
Ensure the plugin has been published by checking for ModulePlugin and ModuleConfig resources, in the globalcluster:
This indicates that the ModulePlugin logagent exists in the cluster and version v4.1.0 is published.
2. Create a ModuleInfo
Create a ModuleInfo resource to install the plugin without any configuration parameters:
YAML field reference (Log Collector):
3. Verify installation
Since the ModuleInfo name changes upon creation, locate the resource via label to check the plugin status and version: