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

Improvements to the auto-idler #1512

Merged
merged 2 commits into from Jan 29, 2020
Merged

Conversation

@shreddedbacon
Copy link
Member

shreddedbacon commented Dec 27, 2019

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated.
  • Changelog entry has been written

This PR adds some improvements to the way the auto-idler runs over clusters.
It first gets a list of all clusters from lagoon, then iterates through them and triggers idling on environments on each cluster as it goes through.
This means a significant speed improvement when a lagoon has control of multiple clusters and allows the idling intervals to be more aggressive.

It also adds some additional logic when checking environments that they can be idled.

Changelog Entry

Improvement - Improve the way the auto-idler runs over clusters

Closing issues

closed #1398

…is adds improvements to the checks to make sure it only idles if it can be idled. it also breaks the idling out so that it iterates over the available clusters in a lagoon and idles each cluster at the same time to speed things up
@tobybellwood tobybellwood added this to the v1.3.0 milestone Jan 28, 2020
@Schnitzel Schnitzel merged commit 2a4206e into amazeeio:master Jan 29, 2020
1 check passed
1 check passed
continuous-integration/jenkins/pr-merge This commit looks good
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

3 participants
You can’t perform that action at this time.