![]() For information about how to collect container text logs by using the Log Service console, see Collect log data from containers by using Log Service.For information about how to collect container stdout and stderr logs by using the Log Service console, see Use the Log Service console to collect container stdout and stderr in DaemonSet mode.For information about how to collect container logs by using CRDs, see Use CRDs to collect container logs in DaemonSet mode.What to do nextCreate Logtail configurations to collect container logs. For information about how to collect the logs of control plane components from a self-managed Kubernetes cluster or an ACK dedicated cluster, see Use the Log Service console to collect container stdout and stderr in DaemonSet mode. ![]() For more information, see Collect the logs of control plane components in ACK Pro clusters. To collect the logs of control plane components from an ACK managed cluster, you can enable the log collection feature in the ACK console.How do I collect the logs of control plane components?.If the following output is returned, Logtail is started: ilogtail is running How do I view the status of the Logtail component in Kubernetes clusters?.Xargs: umount: exited with status 255 aborting Umount: /logtail_host/var/lib/docker/overlay2/5c3125daddacedec29df72ad0c52fac800cd56c6e880dc4e8a640b1e16c22dbe/merged: must be superuser to unmount Ignore the following standard output: start umount useless mount points, /shm$|/merged$|/mqueue$ The standard output of the container is irrelevant to this case. The logs of Logtail are stored in the ilogtail.LOG and logtail_plugin.LOG files in the /usr/local/ilogtail/ directory of a Logtail container. Note You can collect container logs from multiple self-managed Kubernetes clusters to the same Log Service project only if the Kubernetes clusters reside in the same region. For more information, see Create a RAM user and authorize the RAM user to access Log Service. We recommend that you use the AccessKey pair of a RAM user and attach the AliyunLogFullAccess policy to the RAM user. The AccessKey secret of your Alibaba Cloud account. The AccessKey ID of your Alibaba Cloud account. For more information, see Obtain the ID of the Alibaba Cloud account to which Log Service belongs. For more information, see Supported regions. For example, the ID of the China (Hangzhou) region is cn-hangzhou. The ID of the region where your project resides. For example, if the project name is k8s-log-custom-sd89ehdq, set the value to sd89ehdq. The part that is specified after k8s-log-custom- in the name of your project. You can configure the parameters based on your business requirements. ![]() The following table describes the parameters that are included in the preceding command. alicloud-log-k8s-custom-install.sh your-project-suffix region-id aliuid access-key-id access-key-secret On the Logs and Monitoring tab, find logtail-ds and click Install.In the left-side navigation pane of the page that appears, choose Operations > Add-ons. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |