You can integrate Container Service for Kubernetes (ACK), Distributed Cloud Container Platform for KubernetesACK One, and ACK Serverless clusters with CloudMonitor to collect and monitor metrics, logs, and events.
Prerequisites
-
Enable Observability Prometheus Service.
-
If you use a RAM user, grant the
AliyunCloudMonitorFullAccesssystem policy.
Pricing
-
Integrating metrics incurs fees for Hybrid Cloud Monitoring real-time export and Observability Prometheus Service.
-
Log integration is subject to Simple Log Service billing.
Data Integration
-
Log on to the Cloud Monitor 2.0 console. Select a target workspace. In the left-side navigation pane, click Integration Center, and then click ACK.
-
Select a target from the Observation target drop-down list.
-
Configure the integration settings, and then click OK:
Configuration item
Description
Storage Destination
-
Default: Uses the existing cluster configuration. If no configuration exists, Cloud Monitor automatically creates a Project named k8s-log-{ClusterID}.
-
Custom: Specify a custom Project for log storage.
Container cluster monitoring metrics (integrated)
-
Integrating container cluster monitoring installs the ClusterRole required for metrics and entity data ingestion into your cluster. When you click Confirm, you grant CloudMonitor permission to perform this operation.
-
Supports Container Monitoring Basic Edition and Container Monitoring Pro Edition:
-
Basic Plan: Stores basic container cluster metrics for 7 days. Provides an unmanaged collection agent. The default single-replica edition uses 3 CPU cores and 4 GB of cluster resources. Basic monitoring metrics are free of charge. Custom metrics incur additional fees.
-
Pro Plan: Stores basic container cluster metrics for 90 days. Provides a managed collection agent and built-in Grafana dashboards.
For more information, see Differences between Basic and Pro Plans.
-
-
Pod custom metric collection interval (seconds). Default is 30.
Container cluster events (integrated)
Container cluster control plane component logs (integrated)
Collects logs from ACK managed control plane components and stores them in a Simple Log Service project under your account.
Container cluster Nginx Ingress access logs (integrated)
Collects logs from the Nginx Ingress component in your ACK cluster.
-
-
After the integration is complete, you can view the integrated entities and their observability data in Entity Explorer.
Storage Policy
After you integrate Container Service for Kubernetes, CloudMonitor creates SLS stores and Prometheus instances to store observability data.
|
Data type |
Default storage location |
Notes |
|
Metrics |
Prometheus instance: RegionShare:{{workspaceName}}:{{regionId}} |
None |
|
Logs |
SLS project: SLS Logstore: |
None |
Uninstall or Modify Integration Settings
To modify or cancel the integration, go to Integration Center and open the Integration Management page. Find the relevant integration policy and click Edit or Delete.