Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-1450

Monthly Rate to Project Cost Distribution

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • 2021Q3
    • None
    • API
    • False
    • False
    • Hide
      1. The project view will match the node & cluster view's total cost match.
      2.The pvc monthly rate can be edited and deleted with the supplementary & infrastructure cost being correctly updated
      3.The provider map for the openshift pages are correctly updated to include the volume in the infrastructure and supplementary costs.
      4. Open spec change if they apply
      5. Tests
      Show
      1. The project view will match the node & cluster view's total cost match. 2.The pvc monthly rate can be edited and deleted with the supplementary & infrastructure cost being correctly updated 3.The provider map for the openshift pages are correctly updated to include the volume in the infrastructure and supplementary costs. 4. Open spec change if they apply 5. Tests
    • COST-1020 - Cost distribution of node and cluster costs into projects
    • Undefined

      The project monthly rate distribution is a little bit more complicated than cluster, node, or pcv distribution. The challenging element to the project distribution is that we need to account for the monthly rate being a monthly cost, while the project cost is hourly. In order to do this we will need to implement a rolling window. 

      Therefore the way we configure the project’s cost is:

      • (pod usage for entire project's month to date) / (pod usage for entire cluster's month to date) x cluster cost

      Since the project cost will have to be deleted and updated regularly, it is probably better to separate it into its own fields in the daily summary tables.

      • infrastructure_project_monthly_cost
      • supplementary_project_monthly_cost

      We should follow a similar json structure that we created in the previous issue for the monthly project cost.

              myersco Cody Myers
              myersco Cody Myers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: