![]() 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.On the Clusters page, find and click the cluster in which you want to install Logtail components.In the left-side navigation pane, click Clusters.For more information, see Configure the ID of an Alibaba Cloud account as a user identifier. If your ACK cluster and Log Service belong to different Alibaba Cloud accounts, you must configure the ID of the Alibaba Cloud account to which your Log Service belongs as a user identifier for your cluster.If your ACK cluster is a dedicated Kubernetes cluster or a managed Kubernetes cluster, you can follow the instructions that are provided in this section to install Logtail components in your cluster.įor information about how to collect text logs and standard output (stdout) from containers in a serverless Kubernetes (ASK) cluster, see Use Log Service to collect application logs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |