All Products
Search
Document Center

Simple Log Service:Usage notes

Last Updated:Aug 30, 2023

Log Service and Container Service for Kubernetes (ACK) jointly launches the log collection feature for control plane components. You can use the feature to deliver the logs of control plane components in a professional ACK Serverless (ASK) cluster to Log Service for query and analysis. This topic describes the assets and billing of the log collection feature.

Assets

  • Dedicated project and dedicated Logstores

    Important
    • Before you disable log collection, do not delete the related Log Service project and Logstore. Otherwise, logs cannot be delivered to Log Service.

    • If you have enabled the pay-by-ingested-data billing mode, Log Service creates a dedicated Logstore that uses the pay-by-ingested-data billing mode by default. If you want to switch the billing mode from pay-by-ingested-data to pay-by-feature, modify the configurations of the Logstore. For more information, see Manage a Logstore.

    • If you select an existing project when you enable log collection for the control plane components in a professional ACK Serverless cluster, Log Service creates multiple dedicated Logstores in the project, as shown in the following table.

    • If you select Create Project when you enable log collection for the control plane components in a professional ACK Serverless cluster, Log Service creates a project named k8s-log-<Cluster ID> in the region where the cluster resides and multiple dedicated Logstores in the project, as shown in the following table.

      Logstore

      Component

      Description

      apiserver-<Cluster ID>

      kube-apiserver

      Stores the logs of the kube-apiserver component.

      kube-apiserver is used to expose the Kubernetes API. For more information, see kube-apiserver.

      ccm-<Cluster ID>

      Cloud Controller Manager

      Stores the logs of the Cloud Controller Manager (CCM) component.

      The CCM component allows you to integrate Kubernetes with Alibaba Cloud services, such as Classic Load Balancer (CLB) and Virtual Private Cloud (VPC). CLB is formerly known as Server Load Balancer (SLB). CCM manages the service features, such as load balancing and cross-node communication. For more information, see Cloud Controller Manager.

      kcm-<Cluster ID>

      kube-controller-manager

      Stores the logs of the kube-controller-manager component.

      kube-controller-manager is the control center of a Kubernetes cluster and runs controller processes. For more information, see kube-controller-manager.

  • Dedicated dashboards

    After you enable the feature, Log Service does not generate dedicated dashboards. You can create a custom dashboard to visualize query results. For more information, see Create a dashboard.

Billing

  • You are not charged for the log collection feature for control plane components in professional ACK Serverless clusters.

  • If the billing mode of the related Logstore is pay-by-feature, you are charged based on the storage usage, read traffic, number of requests, data transformation, and data shipping after the logs of control plane components in a professional ACK Serverless cluster are delivered to Log Service. For more information, see Billable items of pay-by-feature.

  • If the billing mode of the related Logstore is pay-by-feature, you are charged only for the read traffic over the Internet after the logs of control plane components in a professional ACK Serverless cluster are delivered to Log Service. For more information, see Billable items of pay-by-ingested-data.