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

Preferred order of launching Wicked Portal micro services #46

Closed
Krieke opened this issue Dec 9, 2016 · 3 comments
Closed

Preferred order of launching Wicked Portal micro services #46

Krieke opened this issue Dec 9, 2016 · 3 comments

Comments

@Krieke
Copy link

Krieke commented Dec 9, 2016

Is there a preferred order of launching Wicked Portal docker containers? We have seen that when a new "static" config was created with "kickstarter" that sometimes the other running docker containers should also be restarted when the new "Portal API" is launched.

@DonMartin76 DonMartin76 added this to the 0.11.0 milestone Dec 9, 2016
@DonMartin76
Copy link
Member

This will change in 0.11.0; all containers depending on portal-api will continuously poll the API to check for a new configuration version (via a content hash of the repository). In case the hash changes, the other containers will shut down and let themselves be restarted by the orchestration layer restart policy (Kubernetes, Docker Compose, Mesos,...).

This means that it will be a lot easier to actually treat the different containers as microservices instead of part of a split up "monolith", and the startup order does no longer matter: The containers wait for the other services to be available and start as soon as that's the case. They check for version changes and restart automatically, if necessary.

Does this answer the question?

@DonMartin76
Copy link
Member

See also #36 and #38.

@DonMartin76
Copy link
Member

Documentation and code will surface in 0.11.0 (due Monday).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants