Init ignore_firelens_config option#798
Merged
PettitWesley merged 5 commits intoaws:developfrom Mar 25, 2024
Merged
Conversation
Signed-off-by: Wesley Pettit <wppttt@amazon.com>
Signed-off-by: Wesley Pettit <wppttt@amazon.com>
… config Signed-off-by: Wesley Pettit <wppttt@amazon.com>
Signed-off-by: Wesley Pettit <wppttt@amazon.com>
Signed-off-by: Wesley Pettit <wppttt@amazon.com>
8b9a5d0 to
b11b821
Compare
Contributor
Author
|
FireLens example: aws-samples/amazon-ecs-firelens-examples#127 |
matthewfala
reviewed
Mar 23, 2024
Comment on lines
+162
to
+163
| Mem_Buf_Limit 100MB | ||
| ``` |
Contributor
There was a problem hiding this comment.
It may be helpful to add an example with the appropriate match statement for docker logs.
Match Application-firelens-*
matthewfala
approved these changes
Mar 23, 2024
Contributor
matthewfala
left a comment
There was a problem hiding this comment.
Looks good! One comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Issue #, if available:
Use case and design discussion here: aws/containers-roadmap#964 (comment)
Description of changes:
See use_cases section update for a description of the feature.
Testing
Task Def
Case 1: ignore set to true
Result from exec'ing into the task and checking the config:
Note there is no include for the default FireLens Fluent Bit config path.
Case 2: Ignore set to false
Note the
@INCLUDE /fluent-bit/etc/fluent-bit.conf.Case 3: Ignore not defined (regression check)
Normal behavior.
Unit tests
go test -vpasses in the init directory.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.