Container Service for Kubernetes (ACK) 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.

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 and click Clusters in the left-side navigation pane.
  2. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  3. In the left-side navigation pane of the Cluster Information page, choose Inspections and Diagnostics > Cluster Inspection. Then, click Add in the Schedule Rule section of the Cluster Inspection page.
  4. In the Set Inspection Rule panel, specify TimeZone and Regular Task Rule (Daily), read and select I know and agree, and then click Save.

    To delete an existing scheduled inspection task, click Delete in the Schedule Rule section of the Cluster Inspection page. In the Delete message, click OK. After the inspection task is deleted, the cluster is no longer inspected. You can create a new inspection task.

    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 cluster inspection reports

  1. Log on to the ACK console.
  2. In the left-side navigation pane of the ACK console, click Clusters.
  3. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane of the Cluster Information page, choose Inspections and Diagnostics > Cluster Inspection.
  5. In the Reports section of the Cluster Inspection page, click Details in the Actions column of the inspection report that you want to view.

    On the Report page, you can view the inspection details, including the severity levels, names, and impacts of the risks and suggestions on how to mitigate the risks. For more information about common risks and suggestions on how to mitigate the risks, see Cluster inspection alerts.

    On the Report page, click Normal and then click All Risk to view all risks in details.