Skip to content

[Feature]: Add ENV that defines default autoscaling labels and constraints #8315

@sanderegg

Description

@sanderegg

Is there an existing issue for this?

  • I have searched the existing issues

User Story

Currently each single service startup parameters are overriden via services_specifications table and gets something such as:

{"Labels": {"io.simcore.scalable-s4l-lite": "true"}, "TaskTemplate": {"Placement": {"Constraints": ["node.labels.io.simcore.s4l-lite-autoscaled-node==true", "node.labels.io.simcore.osparc-services-ready==true"]}}}

Instead of using the DB table this information shall be defined via an ENVironment variable.

The director-v2 already has such a variable for Labels, what i for sure missing are the Constraints which shall be added to the dv-2 set of ENVs.

Definition of Done

No response

Metadata

Metadata

Assignees

Labels

t:enhancementImprovement or request on an existing feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions