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
An ACK cluster is created. For more information, see Create an ACK managed cluster, Create an ACK dedicated cluster, or Create an ACK Serverless cluster.
The ACK cluster runs as expected.
Log on to the Container Service for Kubernetes (ACK) console. On the Clusters page, check the status of the cluster that you want to inspect. If the Cluster Status column of the cluster displays Running, the cluster runs as expected.
Configure the cluster inspection feature
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.
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster that you want to inspect. In the left-side navigation pane, choose .
In the Schedule Rule section of the Cluster Inspection page, click Add.
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.
NoteIn 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
In the left-side navigation pane of the cluster management page, choose .
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.
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.