Add ECS health check to Fluent Bit container - #166
Merged
prateekchaudhry merged 2 commits intoJun 11, 2026
Conversation
Add container health check to the fluent-bit container in the two task definition templates used by the ecs-firelens-stability-tests qualification collection: - golden-path-mountebank-fargate-v01-11-2023 - s3-fargate-v04-05-2023 The health check curls the Fluent Bit HTTP server health endpoint every 30 seconds. If the HTTP server deadlocks (as seen in fluent-bit#11769), ECS will mark the container UNHEALTHY after 3 consecutive failures (90s), making the issue visible in the CloudWatch monitoring dashboard. These are the only 2 templates used by the ecs-firelens-stability-tests collection which runs ~285 tasks during qualification.
singholt
previously approved these changes
Jun 11, 2026
danehlim
previously approved these changes
Jun 11, 2026
Only specify startPeriod (30s) since interval, timeout, and retries match ECS defaults. startPeriod is needed to allow the init process to download S3 configs before health checks begin.
singholt
approved these changes
Jun 11, 2026
danehlim
approved these changes
Jun 11, 2026
This was referenced Jul 15, 2026
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.
Summary
Add ECS container health check to the fluent-bit container in the task definition templates used by the
ecs-firelens-stability-testsqualification collection. We have seen issues related to http server being deadlocked - fluent/fluent-bit#11769 . While this change does not test or repro the exact same issue, it is a basic sanity check being added.Changes
Added to
golden-path-mountebank-fargate-v01-11-2023/task-definition.jsonands3-fargate-v04-05-2023/task-definition.json:These templates are referenced by
ecs-firelens-stability-testscollection -golden-path/case-config.json-golden-path-mountebank-fargate-v01-11-2023s3-stability/case-config.json-s3-fargate-v04-05-2023s3-sensitivity/case-config.json-s3-fargate-v04-05-2023Testing
HTTP_Server On) + health check - containers report HEALTHY