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

Force terminate instance when it exhausts maxTotalBuilds #311

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

imuqtadir
Copy link

Currently, we do not terminate instance even current capacity goes below min size even if it exhausts maxTotalBuilds. The instance remains in suspended state without taking any new build/jobs. We would now forcefully terminate the instance regardless of the minSize. A new instance would be launched in the next run to satisfy minSize criteria.

@imuqtadir imuqtadir merged commit e4b387e into jenkinsci:master Nov 17, 2021
@imuqtadir imuqtadir deleted the force-terminate branch November 17, 2021 19:18
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.

Remove depleted instances that used maxTotalUses regardless of cluster minSize
2 participants