This topic describes how to enable Log Service for a serverless Kubernetes (ASK)
cluster.
Procedure
To enable Log Service for an ASK cluster, perform the following operations.
- Run the following command to modify the eci-profile file:
kubectl -n kube-system edit configmap eci-profile
- Set the
enableLogController
parameter in the eci-profile file to true
, save the file, and exit. apiVersion: v1
data:
#...
enableLogController: "true"
#...
kind: ConfigMap
metadata:
name: eci-profile
namespace: kube-system
- Check whether Log Service is enabled for the ASK cluster.
- Log on to the Log Service console.
- In the Projects section, check whether a project is created for the ASK cluster.
If a project is created for the ASK cluster as shown in the following figure, Log
Service is enabled for the ASK cluster.

ASK can import the standard output streams and log files of application pods to Log
Service.