Installation
TOC
OverviewBefore You BeginACP Monitoring with PrometheusInstall from the ConsoleInstall with YAMLPlace Prometheus Workloads on Infra NodesAccess the Installed ComponentsACP Monitoring with VictoriaMetricsPrerequisitesInstall from the ConsoleInstall with YAMLPlace VictoriaMetrics Workloads on Infra NodesAccess the Installed ComponentsOverview
The monitoring component provides the infrastructure for monitoring, alerting, inspection, and health checking functions within the observability module. This document describes how to install ACP Monitoring with Prometheus or ACP Monitoring with VictoriaMetrics in a cluster.
To decide which plugin to install, first review the Monitoring Component Selection Guide and choose the option that best fits your cluster scale, storage plan, and operational requirements.
Before You Begin
Some Monitoring components are resource-intensive. We recommend placing them on infra nodes through plugin configuration. Prometheus and VictoriaMetrics both support plugin-level nodeSelector and tolerations settings. If you are evaluating the product and have not provisioned infra nodes, you can leave these settings empty so the components run on general nodes.
For guidance on planning infra nodes, see Cluster Node Planning.
Before installing the monitoring components, please ensure the following conditions are met:
- The appropriate monitoring component has been selected by referring to the Monitoring Component Selection Guide.
- When installing in a workload cluster, ensure that the
globalcluster can access port 11780 of the workload cluster. - If you need to use storage classes or persistent volume storage for monitoring data, please create the corresponding resources in the Storage section in advance.
ACP Monitoring with Prometheus
Install from the Console
-
Navigate to App Store Management > Cluster Plugins and select the target cluster.
-
Locate the ACP Monitoring with Prometheus plugin and click Install.
-
Configure the following parameters:
The console highlights the most common installation options. For detailed configurable fields, see the YAML reference in this section.
-
Click Install to complete the installation.
Install with YAML
Check available versions
Ensure the plugin has been published by checking for ModulePlugin and ModuleConfig resources in the global cluster:
This indicates that the ModulePlugin prometheus exists in the cluster and version v4.1.0 is published.
Create a ModuleInfo
Create a ModuleInfo resource to install the plugin without any configuration parameters:
Resource settings example (Prometheus):
For more details, refer to Monitor Component Capacity Planning.
YAML field reference (Prometheus):
Verify the 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
Place Prometheus Workloads on Infra Nodes
If you want the Prometheus plugin workloads to run on dedicated infra nodes, configure plugin-level scheduling rules during installation or upgrade instead of patching generated workloads after installation.
- In the console, use Advanced Configuration to set Node Selectors and Node Tolerations.
- In YAML, set
spec.config.components.nodeSelectorandspec.config.components.tolerations.
Example:
Before applying these scheduling rules, make sure your infra node planning and storage placement are compatible. For the planning considerations, see the Monitoring guides in How To, including Planning Infra Nodes for Monitoring.
Access the Installed Components
Once installation is complete, the components can be accessed at the following addresses (replace <> with actual values):
ACP Monitoring with VictoriaMetrics
Prerequisites
- If you install only the VictoriaMetrics agent, ensure that the VictoriaMetrics Center has been installed in another cluster.
Install from the Console
-
Navigate to App Store Management > Cluster Plugins and select the target cluster.
-
Locate the ACP Monitoring with VictoriaMetrics plugin and click Install.
-
Configure the following parameters:
The console highlights the most common installation options. For detailed configurable fields, see the YAML reference in this section.
-
Click Install to complete the installation.
Install with YAML
Check available versions
Ensure the plugin has been published by checking for ModulePlugin and ModuleConfig resources in the global cluster:
This indicates that the ModulePlugin victoriametrics exists in the cluster and version v4.1.0 is published.
Create a ModuleInfo
Create a ModuleInfo resource to install the plugin without any configuration parameters:
Resource settings example (vmagent):
For more details, refer to Monitor Component Capacity Planning.
YAML field reference (VictoriaMetrics):
Verify the 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
Place VictoriaMetrics Workloads on Infra Nodes
If you want the VictoriaMetrics plugin workloads to run on dedicated infra nodes, configure plugin-level scheduling rules during installation or upgrade instead of patching generated workloads after installation.
- In the console, use Advanced Configuration to set Node Selectors and Node Tolerations.
- In YAML, set
spec.config.components.nodeSelectorandspec.config.components.tolerations.
Example:
Before applying these scheduling rules, make sure your infra node planning and storage placement are compatible. For the planning considerations, see the Monitoring guides in How To, including Planning Infra Nodes for Monitoring.
Access the Installed Components
Once installation is complete, the components can be accessed at the following address (replace <> with actual values):
If Install Agent Only is enabled, the cluster does not deploy the vmselect component locally, so the VictoriaMetrics UI address is unavailable in that cluster.