Kubernetes Events contain information about the operations of Kubernetes clusters and the scheduling of various resources, which can help OPS personnel observe daily changes in resources and locate problems. TKE supports event persistence for all your clusters. After this feature is enabled, your cluster events will be exported to the configured storage in real time. TKE also supports retrieval of event transactions using PaaS services provided by Tencent Cloud or open-source software tools. This document describes how to enable persistent storage of cluster events.
You are logged in to the TKE console.
- After persistent event storage is enabled, an event collection container will be automatically deployed in your cluster, which will consume additional resources of approximately 0.2 cores of CPU and 100 MB of memory. Such resources will be released after persistent event storage is disabled.
- If you select the "Elasticsearch" storage, please make sure that the Elasticsearch service you provide can communicate with the current cluster network; otherwise, events cannot be stored properly. It is recommended to deploy the TKE cluster and the Elasticsearch service in the same VPC or make them have the same internet egress/ingress.
4. Click Save to enable persistent storage of cluster events.