All Products
Search
Document Center

Container Service for Kubernetes:Work with the cluster inspection feature

Last Updated:Dec 25, 2023

Container Intelligence Service (CIS) provides the cluster inspection feature. You can use this feature to view the status of Container Service for Kubernetes (ACK) clusters and identify potential risks in the clusters, such as insufficient quotas of cloud resources or high usage of key Kubernetes resources. You can troubleshoot issues based on the suggested solutions. This topic describes how to use the cluster inspection feature to identify potential risks in ACK clusters.

Table of contents

Prerequisites

Configure the cluster inspection feature

Important

When you use the cluster inspection feature, ACK runs a data collection program in the cluster to collect inspection results. The program collects key error messages from the system log and operation information, such as the system version, loads, Docker, and kubelet. The data collection program does not collect business information or sensitive data.

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, click the name of the cluster that you want to manage and choose Inspections and Diagnostics > Cluster Inspections in the left-side navigation pane.

  3. In the Schedule Rule section of the Cluster Inspection page, click Add.

  4. In the Set Inspection Rule pane, specify TimeZone and Regular Task Rule (Daily), read the warning and select I know and agree, and then click Save.

    After you configure the cluster inspection feature, ACK inspects the cluster at the scheduled time.

    In the Reports section of the Cluster Inspection page, you can click Start to manually trigger a cluster inspection. After the inspection is complete, the results are displayed in the Reports section.

View inspection results

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, click the name of the cluster that you want to manage and choose Inspections and Diagnostics > Cluster Inspections in the left-side navigation pane.

  3. In the left-side navigation pane of the cluster management page, choose Inspections and Diagnostics > Cluster Inspections.

  4. In the Reports section of the Cluster Inspection page, click Details in the Operation column of the report that you want to view.

    • Risks are displayed in ascending order of severity levels, including Warning, Error, and Critical. Critical-level risks are highlighted.

    • A cluster inspection report displays the identified risks and their severity levels, impacts, and solutions. For more information about common risks and the suggestions on how to handle the risks, see Check items and solutions.

  5. On the Report page, view the risks, impacts, and suggested solutions.

What to do next

Subscribe to cluster inspection reports

The cluster inspection feature allows you to subscribe to cluster inspection reports. In the Subscribe Reports section of the Cluster Inspection page, log on to the Advisor Console to configure inspection report subscription.

Manage the inspection rule

After you configure cluster inspection, you can perform the following operations in the Schedule Rule section:

  • Click Edit to modify the inspection rule.

  • Click Delete to delete inspection rules that you no longer use. After an inspection rule is deleted, the cluster is no longer inspected based on the rule.

References