The public preview of container monitoring starts from June 18, 2021. During the public preview, you can use this feature for free. If you have questions, you can join the official DingTalk group for container monitoring (group ID: 31588365) to seek help. This topic shows you how to install related components to enable container monitoring.

Prerequisites

Enable container monitoring in the ACK console

  1. Install the ack-arms-prometheus component for Prometheus monitoring.
    1. Log on to the Container Service for Kubernetes (ACK) console.
    2. In the left-side navigation pane, choose Marketplace > App Catalog.
    3. On the App Catalog page, find and click ack-arms-prometheus.
    4. On the View Details page of ack-arms-prometheus, select the cluster for which you want to enable Prometheus monitoring in the Deploy section, and click Create.
  2. Install the ack-arms-cmonitor component for container monitoring.
    1. On the App Catalog page, find and click ack-arms-cmonitor.
    2. On the View Details page of ack-arms-cmonitor, select the cluster for which you want to enable container monitoring in the Deploy section, and click Create.
      Note The default namespace is arms-prom.
  3. Optional:Install the ack-arms-pilot component for application monitoring.
    To enable application monitoring for a Deployment, install the ack-arms-pilot component for application monitoring first.
    1. On the App Catalog page, find and click ack-arms-pilot.
    2. On the View Details page of ack-arms-pilot, select the cluster for which you want to enable application monitoring in the Deploy section, and click Create.
      Note The default namespace is arms-pilot.

Enable container monitoring in the ARMS console

  1. Install the ack-arms-prometheus component for Prometheus monitoring.
    1. Log on to the ARMS console.
    2. In the left-side navigation pane, click Container Monitoring.
    3. In the top navigation bar, select the region in which your cluster is deployed.
    4. On the Container Monitoring page, click Mounting in the Operation column of the cluster.
    5. In the Exporters dialog box, click Mounting in the Operation column of Prometheus surveillance.
      You are navigated to the View Details page of ack-arms-prometheus in the ACK console.
    6. On the View Details page of ack-arms-prometheus, select the cluster for which you want to enable Prometheus monitoring in the Deploy section, and click Create.
  2. Install the ack-arms-cmonitor component for container monitoring.
    1. On the Container Monitoring page, click Mounting in the Operation column of the cluster.
    2. In the Exporters dialog box, click Mounting in the Operation column of Container monitoring.
      You are navigated to the View Details page of ack-arms-cmonitor in the ACK console.
    3. On the View Details page of ack-arms-cmonitor, select the cluster for which you want to enable container monitoring in the Deploy section, and click Create.
      Note The default namespace is arms-prom.
  3. Optional:Install the ack-arms-pilot component for application monitoring.
    To enable application monitoring for a Deployment, install the ack-arms-pilot component for application monitoring first.
    1. On the Container Monitoring page, click Mounting in the Operation column of the cluster.
    2. In the Exporters dialog box, click Mounting in the Operation column of Application Monitoring(Optional).
      You are navigated to the View Details page of ack-arms-pilot in the ACK console.
    3. On the View Details page of ack-arms-pilot, select the cluster for which you want to enable application monitoring in the Deploy section, and click Create.
      Note The default namespace is arms-pilot.