Event Storage

Last updated: 2021-05-12 16:08:30

    Note:

    From now to December 31, 2021, users are exempt from CLS service fees incurred by audit log/event data generated by EKS for auto-created log topics. For details, see Note on Free Log Storage for TKE Audit and Event Center.

    Overview

    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.

    Directions

    Enabling event storage

    1. Log in to the TKE console.
    2. Choose Cluster OPS > Feature Management in the left sidebar to go to the Feature Management page.
    3. At the top of the Feature Management page, select the region. On the right side of the cluster for which you want to enable event storage, click Set, as shown in the figure below:
    4. On the Configure Features page, click Edit for event storage.
    5. On the Event Storage editing page, select Enable Event Storage and configure logsets and log topics, as shown in the figure 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.


    Click OK to enable event storage.

    Updating logsets or log topics

    1. Log in to the TKE console.
    2. Choose Cluster OPS > Feature Management in the left sidebar to go to the Feature Management page.
    3. At the top of the Feature Management page, select the region. On the right side of the cluster for which you want to enable event storage, click Set, as shown in the figure below:
    4. On the Configure Features page, click Edit for event storage.
    5. On the Event Storage editing page, reselect logsets and log topics. Then, click OK to update the logsets and log topics.

    Disabling event storage

    1. Log in to the TKE console.
    2. Choose Cluster OPS > Feature Management in the left sidebar to go to the Feature Management page.
    3. At the top of the Feature Management page, select the region. On the right side of the cluster for which you want to enable event storage, click Set, as shown in the figure below:
    4. On the Configure Features page, click Edit for event storage.
    5. On the Event Storage editing page, deselect Enable Event Storage, as shown in the figure below:

      Click OK to disable event storage.