Use awslogs with kubernetes 'natively'
问题 I came up with a way of configuring k8s to use aws logs without any 3rd party service/application. All you have to do is to add the following lines in your master.yaml file: spec: additionalPolicies: master: | [ { "Effect": "Allow", "Action": ["logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents"], "Resource": ["*"] } ] node: | [ { "Effect": "Allow", "Action": ["logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents"], "Resource": ["*"] } ] docker: logDriver: awslogs