EdgeCloud LCM API - How to enable computing resources selection: Flavors or dynamically #220
Replies: 3 comments 2 replies
-
We have found flavors to be less portable. They really only apply when creating VMs. Additionally, each EdgeCloudZone may have its own set of flavors, so either you can't set a flavor in the App definition, or you need to have a common set of flavors which then get mapped to the EdgeCloudZone's flavors (but often the mapping is not exact). I would suggest instead to define a The resources component can then be added to the App definition either as a minResources or requiredResources field. |
Beta Was this translation helpful? Give feedback.
-
Sounds good for us. If we understood correctly the input would be something like this: In description the units for each component is specified. |
Beta Was this translation helpful? Give feedback.
-
As discussed on the last meeting,
As I see, maybe we want to manage this as different ways to send the app information. Current we only have the
WDYT? What proposal/approach do you have in mind? |
Beta Was this translation helpful? Give feedback.
-
According intent 5 of the API, developers can set computing resources (vCPU, Memory, Storage, GPU. For the MVP we propose to start with these components).
Currently
AppManifest
could contains implicitly those components when a helm chart is provided. But this is limited to that type of apps, so we need to enable the selection for VM and Container apps.We think that in the POST /app method, computing resources should be set up. Because as our understanding, Developers have to define the computing resources that their app needs in order to have a good performance in all the zones where the app is being instantiated.
Developers define in the POST /app How (minimum computing resources) and What (app in container/vm) they want to instantiate.
In the first version of the API, the concept of
flavor
was used. We think that for this MVP version we can adddynamically
parameter, because ifflavor
is used it means that somehow Developer needs to know theflavor
types available in the Operator Platform at a Zone level, this could be provided in the GET /edge-cloud-zone method but adding that maybe brings more complexity to the integration with Simple Edge Discovery. @KevsyHow do you think we should enable the computing resources selection?
Beta Was this translation helpful? Give feedback.
All reactions