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

How is this supposed to work? #1

Open
bkonetzny opened this issue Jul 7, 2015 · 1 comment
Open

How is this supposed to work? #1

bkonetzny opened this issue Jul 7, 2015 · 1 comment

Comments

@bkonetzny
Copy link

I'm not sure how this container should work. Are there special named service files needed for this?
On a rolling deploy, I expect that I start new services with updated containers and then shut-down the old services running the old containers.

I have a service template of [email protected] and tried to run the container like this:

docker run -it yodlr/fleet-rolling-deploys my-service null -n 2 --noetcd

What did happen is that it started two services (my-service@1 and my-service@2) and did not shut down anything. I then re-ran the container call above and expected that two new services would be started (my-service@3 and my-service@4) and the old ones would have been shut down (my-service@1 and my-service@2), but actually nothing happened as the container did tell me everything was already running and there was nothing to destroy.

Could you please clarify how this container should be used and how the service files need to be named in order to work? Thanks in advance! :)

PS: Please let me know if this is only intended for internal use at yodlr, otherwise I would like to support this project and make a few PRs to streamline the code a bit :)

@rosskukulinski
Copy link
Member

Goodness me, I never did writeup the documentation for this module. I'll take some time today & tomorrow to write up A) some quick n' dirty docs to get you going and B) Full docs for this and and its partner-in-crime https://github.com/yodlr/fleet-templater

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

2 participants