You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user A, B and C each start a service A, B, C respectively
service A,B, C are pending, waiting for cluster resources
autoscaling picks this up and provisions EC2 instances (in sim4life.io that will be 1 per service, in osparc.io it will be based on needed resources and the service might share machines)
once the machine(s) are up and running, the service are started there
Key take aways here
autoscaling does not know anything about user, project, node,
autoscaling cannot attach a specific EBS volume to a machine, because it does not control where a service will finally end up
Proposed changes
Option 1: Autoscaler takes care of it
Autoscaling service:
autoscaling can know from the docker service labels for which user/project/node the service is needed
when connecting the node, it can label the Docker node with user/project/node ids
autoscaling can then attach a EBS volume to the machine (note that the EBS volume shall be tagged with the necessary user_id/project_id/node_id as well)
when the service is shutdown, the autoscaling service shall remove the user/project/node labels
the autoscaling shall detach the EBS volume,
the autoscaling shall terminate the EBS volume if needed or keep it until it shall be deleted
Director-v2
when creating the docker services, there should be additional docker placement constraints such as node.labels.user_id==user_id, node.labels.project_id==project_id and/or node.labels.node_id==node_id
Goal: Achieve caching of data using EBS volumes
Current situation and usual scenario
Key take aways here
Proposed changes
Option 1: Autoscaler takes care of it
Autoscaling service:
Director-v2
node.labels.user_id==user_id
,node.labels.project_id==project_id
and/ornode.labels.node_id==node_id
Pros/Cons:
Option 2: Dynamic-sidecar takes care of it
Dynamic-sidecar:
Autoscaling:
Pros/Cons:
(## Changes
The text was updated successfully, but these errors were encountered: