Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Adding workers deletes existing workers first #17

Closed
ernestmartinez opened this issue Nov 2, 2018 · 3 comments
Closed

Adding workers deletes existing workers first #17

ernestmartinez opened this issue Nov 2, 2018 · 3 comments
Assignees

Comments

@ernestmartinez
Copy link

ernestmartinez commented Nov 2, 2018

I deployed an AD-Spanning Cluster with 5 worker nodes. I then edited the env-vars file and changed the nodes count to 6 and executed another "Apply". It first deletes the existing 5 nodes then re-creates the 6. This is not the desired behavior, it should just add the additional node. I also tried changing the default in variables.tf with same result.

@benofben
Copy link
Contributor

benofben commented Nov 6, 2018

@smithzc what do you think is going on here?

@smithzc
Copy link
Contributor

smithzc commented Nov 6, 2018

@benofben @ernestmartinez I suspect this has to do with the way we are using the index%3 to distribute nodes across each AD. Let me do some testing on this and I will see what I find. I suspect a single AD expansion will work just fine, automated cluster expansion has been on my to-do list a while now so it needs some attention.

@smithzc
Copy link
Contributor

smithzc commented Mar 22, 2019

Closing this issue for now - the AD spanning template has been deprecated with the 2.0.0 release. I will be testing scale up/down with v2.0.x in the near future.

@smithzc smithzc closed this as completed Mar 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants