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

Allow for maximum time to keep a container alive #16

Open
ketan opened this issue Apr 19, 2017 · 0 comments
Open

Allow for maximum time to keep a container alive #16

ketan opened this issue Apr 19, 2017 · 0 comments

Comments

@ketan
Copy link
Member

ketan commented Apr 19, 2017

Currently the plugin will aggressively delete the container as soon as it sees that the agent is idle. Would like to see the ability to terminate the container only if it remains unused for X amount of period, or just put a soft and hard upper bound on how long a container should remain alive.

Soft upper bound being a point where the agent will be disabled. Hard upper bound being the point where the container will be terminated (even if it is running a build). This would be useful in cases where the agent or build that is running on the container hangs up.

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

No branches or pull requests

1 participant