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

✨Autoscaling: automatically cleanup nodes from the docker swarm #3617

Conversation

sanderegg
Copy link
Member

What do these changes do?

This PR removes the "Down" monitored nodes from the docker node list on the manager, to keep things tidy.

image

Bonus: better wait for services to go down (should remove flakyness in autoscaling tests)

Related issue/s

How to test

Checklist

@sanderegg sanderegg added this to the Athena milestone Nov 29, 2022
@sanderegg sanderegg self-assigned this Nov 29, 2022
@sanderegg sanderegg force-pushed the enhancement/autoscaling/cleanup_nodes branch from 90043c1 to 9102304 Compare November 29, 2022 13:25
Copy link
Contributor

@GitHK GitHK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@codecov
Copy link

codecov bot commented Nov 29, 2022

Codecov Report

Merging #3617 (9152bf8) into master (9152bf8) will not change coverage.
The diff coverage is n/a.

❗ Current head 9152bf8 differs from pull request most recent head d626ab5. Consider uploading reports for the commit d626ab5 to get more accurate results

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #3617   +/-   ##
======================================
  Coverage    84.0%   84.0%           
======================================
  Files         853     853           
  Lines       36155   36155           
  Branches      782     782           
======================================
  Hits        30394   30394           
  Misses       5554    5554           
  Partials      207     207           
Flag Coverage Δ
integrationtests 67.4% <0.0%> (ø)
unittests 81.2% <0.0%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@sanderegg sanderegg force-pushed the enhancement/autoscaling/cleanup_nodes branch from 58cdbac to 0612edf Compare November 29, 2022 16:16
@sanderegg sanderegg force-pushed the enhancement/autoscaling/cleanup_nodes branch from 0612edf to d626ab5 Compare November 29, 2022 16:38
@sonarcloud
Copy link

sonarcloud bot commented Nov 29, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sanderegg sanderegg merged commit 936bac0 into ITISFoundation:master Nov 30, 2022
@sanderegg sanderegg deleted the enhancement/autoscaling/cleanup_nodes branch November 30, 2022 08:16
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.

3 participants