Fluentd image to send Kuberntes logs to CloudWatch
1M+
Create AWS IAM user which has permission to store logs to CloudWatch
Optionally set environment variable to change the default resource names and labels
NAMESPACE defaults to 'kube-system'APP_NAME defaults to 'fluentd-cloudwatch'SECRET_NAME,CONFIG_NAME default to APP_NAMEENV_NAME defaults to 'system'CW_LOG_GROUP defaults to 'kubernetes-cluster'deploy.sh in the next stepexport LOGGING_AWS_ACCESS_KEY_ID=<your key>
export LOGGING_AWS_SECRET_ACCESS_KEY=<your secret>
export LOGGING_AWS_REGION=<your region>
deploy.sh to create the Secret, ConfigMap, and DaemonSet, setting the AWS IAM user and CloudWatch region environments variables if you did not export them in the previous step.LOGGING_AWS_ACCESS_KEY_ID=<your key> LOGGING_AWS_SECRET_ACCESS_KEY=<your secret> LOGGING_AWS_REGION=<your region> ./deploy.sh
display.sh to check everything is runningIf you set custom values for the namespace or resource name environment variables,
ensure they are still set to your values (NAMESPACE,APP_NAME,SECRET_NAME,CONFIG_NAME)
Run delete.sh
Run display.sh to check nothing is left
Content type
Image
Digest
Size
14.7 MB
Last updated
over 9 years ago
docker pull callstats/fluentd-kubernetes-cloudwatch