Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable firelens capability in aws-ecs-1 variant #2819

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

stmcginnis
Copy link
Contributor

@stmcginnis stmcginnis commented Feb 21, 2023

Issue number:

Closes #1079

Description of changes:

Report FireLens capabilities in the amazon-ecs-agent. This enables using FireLens in ECS with a Bottlerocket container instance.

Testing done:

Deployed task definition with log_router and workload container using the CloudWatch example configuration. Verified log group was created in CloudWatch Logs and that it contained expected output. Checked Bottlerocket instance journal logs and verified no unusual errors there.

Huge thanks to @arnaldo2792 for running through various testing scenarios:

  • FireLens with FluentD
  • FireLens with fluent-bit
  • Each with extra config loaded from S3
  • Each with "bridge mode"
  • Each with "AWS VPC mode"

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@stmcginnis stmcginnis marked this pull request as draft February 21, 2023 18:27
@stmcginnis stmcginnis marked this pull request as ready for review February 22, 2023 14:35
@stmcginnis stmcginnis merged commit f0031f5 into bottlerocket-os:develop Feb 22, 2023
@stmcginnis stmcginnis deleted the ecs-agent-logging branch February 22, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ECS] FireLens support
4 participants