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

Smoother agent startup/shutdown flow #221

Merged
merged 8 commits into from
Mar 22, 2017
Merged

Smoother agent startup/shutdown flow #221

merged 8 commits into from
Mar 22, 2017

Conversation

ssalinas
Copy link
Member

Should be the last piece needed on the ALB support side. This will grab the configured connection drain/shutdown delay for an ALB when an agent is shutting down. If the agent gets back a response of that type, it will wait until the drain time has elapsed to shut down.

/cc @PtrTeixeira

@ssalinas ssalinas changed the title Connection drain Smoother agent startup/shutdown flow Mar 22, 2017
@ssalinas
Copy link
Member Author

ssalinas commented Mar 22, 2017

Got this working smoothly now. Adding to an ALB spends a lot more time in the initializing state than with old ELBs, so had to account for the slower startup. The agents will now poll at an interval determined by the service and only fully start once they are done being added to the ELB/ALB

@ssalinas ssalinas merged commit 9a6c6a4 into master Mar 22, 2017
@ssalinas ssalinas deleted the connection_drain branch March 22, 2017 15:29
@ssalinas ssalinas modified the milestone: 0.5.0 May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant