-
Notifications
You must be signed in to change notification settings - Fork 133
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
Init ignore_firelens_config option #798
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
FireLens example: aws-samples/amazon-ecs-firelens-examples#127 |
Mem_Buf_Limit 100MB | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be helpful to add an example with the appropriate match statement for docker logs.
Match Application-firelens-*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! One comment.
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 -v
passes 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.