TKE provides users with an out-of-the-box audit dashboard and can automatically configure dashboards of auditing overview, node operation overview, K8s object operation overview, and aggregation search for the clusters with the feature of Cluster Auditing enabled. With user-defined filter items, and built-in CLS global search, TKE makes it convenient for users to observe and search various cluster operations, so as to find and locate problems in time.
Five dashboards are configured in the Auditing search, namely Auditing overview, Node operation overview, K8s object operation overview, Aggregation search, and Global search. Follow the steps below to go to the Auditing search page and use the corresponding features:
When you want to view the operation of the entire cluster APIserver, you can set filter conditions on the "Auditing overview" page, view the summary statistics of the core audit log, and display the data comparison within a period, for example, core audit log statistics, distribution, important operation trends, etc.
You can view more statistics on this page, as shown below:
When you need to troubleshoot node problems, you can set filters on the Node operation overview page to view dashboards of various node operations, including create
, delete
, patch
, update
, block
, and evict
.
When you need to troubleshoot problems related to K8s objects (such as a certain workload), you can go to the K8s object operation overview page, and set filter conditions to view the details of the operation overview, the corresponding users, and the corresponding audit log list of various K8s objects.
When you want to view the distribution trend of audit logs in a certain dimension, you can set filter conditions on the "Aggregation search" page to view the sequence diagrams of various important operations. The dimensions include the user, namespace, operation type, status code, resource type, and the corresponding audit log list.
Global search dashboard, with built-in CLS search analysis page, is convenient for users to quickly search all audit logs in the TKE console.
You can configure alarms based on the preset dashboards. When the conditions you set are reached, the alarms will be triggered. The steps are as follows:
Was this page helpful?