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

Use old yml file for down to clean old containers #2

Open
jerryleooo opened this issue Jul 23, 2020 · 0 comments
Open

Use old yml file for down to clean old containers #2

jerryleooo opened this issue Jul 23, 2020 · 0 comments

Comments

@jerryleooo
Copy link
Contributor

jerryleooo commented Jul 23, 2020

Currently such situations exists:

we scale up one service to 5 instances and later we want to scale down it to 1 instances. But with https://github.com/lock-free/flexdeploy/blob/master/src/deploy.js#L84 we will use the same yml file for down && up, which will leave the other 4 instances alive. A better way maybe copy the old yml file to another file, use it to down services and use the new yml file to up services.

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

No branches or pull requests

1 participant