8000 [Task] Define the env app min and max scaling values · Issue #421 · lenra-io/server · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Task] Define the env app min and max scaling values #421
Open
@taorepoara

Description

@taorepoara

What should be done

Define the scale max and min limits for an app environment in order to let the creator keep the control on it and do not have billing surprises.

The default min is 0.

The default max is 5.

Technical recommandation

When the min is defined to 0, the app is scaled to 0 only when the environment stops (all the socket session for this env are closed). It scales to 1 when the env starts. See this PR for more informations: lenra-io/application-runner#358. When the min is higher than 0, the app never scales to 0.

The max can't be lower than 1 nor the min limit.

We'll use the OpenFaaS limits labels to handle this.

The scaling limits are saved in the database.

Ecological concerns

When the user chose to define the min higher than 0, we should warn him.

Is this task linked with any other ?

Linked to lenra-io/application-runner#357

Blocked by:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

🟢 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0