-
Notifications
You must be signed in to change notification settings - Fork 27
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: Add option to allow a new node to join a cluster directly active (🚨 ⚠️ DEVOPS) #6334
🎨Autoscaling: Add option to allow a new node to join a cluster directly active (🚨 ⚠️ DEVOPS) #6334
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6334 +/- ##
=========================================
+ Coverage 84.5% 88.1% +3.5%
=========================================
Files 10 1499 +1489
Lines 214 62062 +61848
Branches 25 2065 +2040
=========================================
+ Hits 181 54707 +54526
- Misses 23 7039 +7016
- Partials 10 316 +306
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
Q: I understand that this PR introduces the ability to "reuse" nodes that are currently active. In cases where nodes have been previously utilized, is there a risk that residual data or processes from prior services could impact the new services? Alternatively, can you confirm that the machine will operate in a "clean" state, as if newly provisioned?
No, when a machine is created, it runs a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
361906e
to
b27a1de
Compare
c33d7de
to
815b6a7
Compare
815b6a7
to
73c884a
Compare
|
What do these changes do?
This PR adds the option for a node to join the swarm as directly active, as it seems to be more time efficient.
Since it needs to be tested in real conditions, this is for now by default not set.
Adds
AUTOSCALING_DOCKER_JOIN_DRAINED
ENV var that allows to make a new node directly join as an active node, potentially speeding up docker swarm mechanics (to be tested)Adds
AUTOSCALING_WAIT_FOR_CLOUD_INIT_BEFORE_WARM_BUFFER_ACTIVATION
ENV var that skips waiting for Warm buffer cloud initialization (in direct testing brought a 20% speed up)Related issue/s
How to test
Dev-ops checklist