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 envoy graceful shutdown #200

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

Ganeshrockz
Copy link
Contributor

Changes proposed in this PR:

  • Adds consul-dataplane to the non app container's map.
  • Add a container Type field to the ECS Task meta response payload.
  • Add a check to make sure that AWS managed containers are treated as non app container. ECS auto-injects some containers with type other than NORMAL to facilitate orchestration. Up until now, we were looking into the status of these containers as well to determine if application containers (added by the users) have terminated. This caused issues with graceful shutdown of Consul dataplane and apparently resulted in a forced shutdown of the task.

This will also be backported to release/0.7.x

How I've tested this PR:

CI, Manual deployment

How I expect reviewers to test this PR:

Checklist:

  • Tests added
  • CHANGELOG entry added

@Ganeshrockz Ganeshrockz requested review from a team and absolutelightning and removed request for a team December 18, 2023 05:11
@Ganeshrockz Ganeshrockz temporarily deployed to dockerhub/hashicorpdev December 18, 2023 05:29 — with GitHub Actions Inactive
@Ganeshrockz Ganeshrockz merged commit f0966b9 into main Dec 18, 2023
20 checks passed
@Ganeshrockz Ganeshrockz deleted the ganeshrockz/fix-graceful-shutdown branch December 18, 2023 05:40
@Ganeshrockz Ganeshrockz mentioned this pull request Dec 18, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants