Kubernetes Events contains information about the operations of Kubernetes clusters and the scheduling of various resources, which can help Ops personnel monitor daily changes in resources and locate problems. TKE supports event persistence for all clusters. After enabling this feature, your cluster events will be exported to the configured storage in real time. TKE also supports the search of event flows by using PAAS services provided by Tencent Cloud or open-source software tools. This document describes how to enable persistent storage of cluster events.
2. Click Operation Management in the left sidebar.
3. At the top of the Feature Management page, select a region and a cluster type. Locate the target cluster and click Settings on the right, as shown below:
4. On the Configure features page, click Edit on the right for event storage. Select Enable Event Storage and configure a logset and a log topic, as shown below:
Note
A logset can contain up to 10 log topics. If you choose automatic creation of log topics, ensure that the logset contains less than 10 log topics.
2. In the left sidebar, click Search and Analysis.
3. On the Search and Analysis page, select the logset and log topic configured in event storage, configure the display fields as needed, and perform search and analysis, as shown below:
Note:
When you enable event storage, indexing will be enabled for your log topic by default. For more information, see Log Search and Analysis.