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

ECSOperator: Get log events after sleep to get all logs #21574

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

kanga333
Copy link
Contributor

closes: #21573

When EcsTaskLogFetcher Thread receives a stop signal during a sleep period, run method doesn't get cloud watch events that are happened during sleep. So, we need to call get_log_events after sleep to get all cloud watch logs.

@boring-cyborg boring-cyborg bot added area:providers provider:amazon-aws AWS/Amazon - related issues labels Feb 15, 2022
@kanga333 kanga333 changed the title Get log events after sleep to get all logs ECSOperator: Get log events after sleep to get all logs Feb 15, 2022
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

Nice one! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:amazon-aws AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ECS Operator doesn't get logs from cloudwatch when ecs task has finished within 30 seconds.
2 participants