Skip to content

Update route checks cpu and ram specs for master node only. #302

@kunalvirwal

Description

@kunalvirwal

A validation check is called on the master node in update route which checks if the CPU and RAM resources values entered for an app are not more than available on the server.
Due to this function running on the master node. Any container can get only that much amount of CPU and RAM allocation which is less than or equal to those on the master node.

Expected Fix

Store specs of all appmaker instances, run these validation checks and start the containers only on those appmaker instances which satisfy the needs of the container. If none of the instances are available that have those specs then the app creation request should be dropped or should default to highest spec instances.

Note

This issue is only applicable if there are no container resource upper limits added for users when gasper runs commercially.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions