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

fix(ecs): default to stable fluentbit image #16439

Closed

Conversation

blimmer
Copy link
Contributor

@blimmer blimmer commented Sep 9, 2021

Currently, due to an upstream issue with fluentbit, amazon/aws-for-fluent-bit:latest is completely broken for folks who forward logs to aggregators like Datadog.

There's currently an open issue (aws/aws-for-fluent-bit#233) about the upstream DNS problem in fluentbit.

As referenced in the aws-for-fluent-bit documentation, AWS retains a stable version tag that is validated to be free from major bugs like this one:

Screen Shot 2021-09-09 at 11 09 09 AM

Therefore, this PR updates the default imageTag from latest to stable. This technically could be considered a breaking change but, because the current latest tag is considerably broken, I think it might make sense to push this change out sooner than later.

See also #16403 where this issue is discussed.

fixes: #16403


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Sep 9, 2021

@blimmer blimmer force-pushed the blimmer/default-fluentbit-to-stable branch from 1b8bd1a to 1ea19a3 Compare September 9, 2021 19:12
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 1ea19a3
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@ayozemr
Copy link

ayozemr commented Sep 10, 2021

👏

@peterwoodworth peterwoodworth changed the title fix(ecs): default to stable fluentbit image fix(ecs): default to stable fluentbit image Oct 21, 2021
@github-actions github-actions bot added the @aws-cdk/aws-ecs Related to Amazon Elastic Container label Oct 21, 2021
@rix0rrr rix0rrr added feature-request A feature should be added or improved. and removed @aws-cdk/aws-ecs Related to Amazon Elastic Container labels Mar 4, 2022
Copy link
Contributor

@madeline-k madeline-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing defaults is typically not something we do (except in rare cases with a feature flag), because it would break existing customers. However, since the default behavior is already broken in this case, we might be able to take this change.

@madeline-k
Copy link
Contributor

Closing this PR, since the upstream issue with fluentbit has been resolved. And, if customers do not want to use the default image tag of 'latest', they can pass in the image tag using the obtainDefaultFluentBitECRImage function. See this integ test for an example.

@madeline-k madeline-k closed this Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(ecs): default to stable fluentbit image instead of latest
5 participants