All Products
Search
Document Center

Container Service for Kubernetes:Work with the cluster inspection feature

Last Updated:May 16, 2024

Container Service for Kubernetes provides the cluster inspection feature. You can use feature to inspect the status of ACK clusters and identify potential risks in the clusters, such as insufficient quotas on cloud resources or high usage of key Kubernetes resources. 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 on each node in the cluster and collects inspection results. ACK collects key error messages from the system log and operation information, such as the system version, loads, Docker, and Kubelet. ACK 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 inspect. In the left-side navigation pane, choose Inspections and Diagnostics > Cluster Inspections.

  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.

    Note

    In the Reports section of the Cluster Inspection page, you can click Start to manually trigger a cluster inspection.

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

View inspection results

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

  2. 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 the ascending order of severity levels, including Low, Medium, and High. High-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 suggestions on how to handle the risks, see Check items and solutions.

  3. On the Reports page, click Normal and click All Risk to view all identified risks.

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, you can 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 the inspection rule. After the inspection rule is deleted, the cluster is no longer inspected based on the rule.

References