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

ContainerInstance vs DeploymentNode? #126

Closed
toorog opened this issue Jun 25, 2019 · 1 comment
Closed

ContainerInstance vs DeploymentNode? #126

toorog opened this issue Jun 25, 2019 · 1 comment

Comments

@toorog
Copy link

toorog commented Jun 25, 2019

How do I model a Container that can have multiple configurations for deployments?
Is the deployment configuration either attached to the Container Instance, the Container, or to a Deployment Node that hosts the container?

Example:
I have a microservice that is deployed two times under different subdomains. During deployment I configure the microservice for the given environment. Lets say Deployment A shows a black website, Deployment B a white one.

Where do I attach the property "Background Color"? Do I use two containers "Container A" and "Container B", or do I add this property to the containers instance, or even to an "Artificial" Deployment container?

@maxvar
Copy link

maxvar commented May 11, 2020

In such case I as a model user would prefer to see two containers built from the same component (microservice) + two different configs and deployed to two nodes (probably in two environments). And the "background color" will describe the containers.

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

3 participants