Ensure that cluster integration with Simple Log Service (SLS) is enabled for your serverless Container Service for Kubernetes (ACK) clusters in order to collect log data from containers. Simple Log Service is a comprehensive real-time data logging solution, facilitating the seamless handling of log collection, shipping, search, storage, and analysis. The logging service provides a user-friendly interface for accessing the Log Viewer and an API for efficient log management.
Enable Simple Log Service (SLS) integration for serverless ACK clusters for centralized logging and easier troubleshooting. It simplifies log management and helps you identify issues faster. You can enable the SLS integration when setting up an ACK cluster by installing the logtail-ds component. Once the logging service is activated, it collect log data from the containers within the ACK cluster, including standard output and text files.
Audit
To determine if the ACK cluster integration with Simple Log Service (SLS) is enabled, perform the following operations:
Remediation / Resolution
To enable cluster integration with Simple Log Service (SLS) for your serverless ACK clusters, perform the following operations:
References
- Alibaba Cloud Documentation
- Work with cluster auditing
- Use container auditing
- Collect log data from containers by using Log Service
- Alibaba Cloud CLI Documentation
- View all clusters
- Create an ACK managed cluster
- SLS CLI Documentation
- create_project
- create_logstore