project-codeflare / mcad

MCAD v2
Apache License 2.0
10 stars 10 forks source link

Resource accounting for common resource types #91

Open tardieu opened 6 months ago

tardieu commented 6 months ago

MCAD should parse common types such as Pods, Jobs, PytorchJobs, RayClusters, Deployments, StatefulSets to extract resource requirements.

dgrove-oss commented 6 months ago

As part of implementing this feature, we need to specify the semantics for what should happen if the user-provided resource specification at the AppWrapper level is inconsistent with the resource specifications of the wrapped resources. Once we define the semantics, we need to include test cases for it.

There were a couple of tests in the V1 MCAD test suite targeting inconsistent resource specifications that I did not port to V2 because they need to be redone in the context of the V2 specification of the desired behavior.