How to Send Kubernetes Logs to AWS CloudWatch?

后端 未结 4 1085
北荒
北荒 2020-12-28 16:05

AWS CloudWatch Logs in Docker

Setting an AWS CloudWatch Logs driver in docker is done with log-driver=awslogs and log-opt, f

4条回答
  •  醉酒成梦
    2020-12-28 16:54

    As per kubernate, Kubernetes provides no native storage solution for log data, but you can integrate many existing logging solutions into your Kubernetes cluster and kubernate cluster-level-logging-architectures.

    Kubernetes doesn’t specify a logging agent, but two optional logging agents are packaged with the Kubernetes release: Stackdriver Logging for use with Google Cloud Platform, and Elasticsearch. You can find more information and instructions in the dedicated documents. Both use fluentd with custom configuration as an agent on the node.

    Fluentd image to send Kubernetes logs to CloudWatch too, so you can use that to Deploy,

提交回复
热议问题