Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Lustre costs into run price info #3899

Open
ekazachkova opened this issue Feb 7, 2025 · 0 comments
Open

Include Lustre costs into run price info #3899

ekazachkova opened this issue Feb 7, 2025 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@ekazachkova
Copy link
Contributor

ekazachkova commented Feb 7, 2025

Background
At the moment, Cloud Pipeline does not respect Lustre costs for run price calculations and it would be nice to support it.

Approach
Currently, run object provides the following information about prices:

  • computePricePerHour - virtual machine price per hour
  • diskPricePerHour - instance disk gigabyte price per hour
  • pricePerHour - overall run price per hour: computePricePerHour + <disk size GB> * diskPricePerHour

To support run filesystem costs a new run field shall be added:

  • fsPricePerHour - filesystem price per hour taking into account its current capacity. This value shall be updated as per as the file system capacity is updated.

This price shall be included into pricePerHour value. This way, a new total run price per hour shall be re-calculated as:

computePricePerHour + <disk size GB> * diskPricePerHour + fsPricePerHour

fsPricePerHour shall also be updated as per as the run's file system capacity is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant