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
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 ACK console. On the Clusters page, view 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 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.
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 manage and choose in the left-side navigation pane.
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.
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
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 manage and choose in the left-side navigation pane.
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 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.
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.