XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • COST-3042Non-Cloud: Cost Management for virtual machines
    • subs-cost

      OpenShift Virtualization enabled nested OpenShift, i. e. OCP clusters running on top of OCP Virtualization VMs:

      https://www.redhat.com/en/blog/nested-openshift-using-openshift-virtualization

       

      OpenShift CNV with nested OpenShift clusters works like this:

      • User creates VMs on the OpenShift CNV cluster and installs nested OpenShift clusters on those VMs.
      • User installs the CMMO on the CNV node and on the nested OpenShift clusters
      • User defines a price list for costs for the OpenShift CNV cluster
      • User does NOT define a price list for infra costs for the nested OpenShift clusters. We should be calculating the cost of the VMs running on the CNV cluster and using that as the cost of the nested OCP nodes.

      Eg. hypothetical case:

      • We have a CNV cluster ("cnvcluster1") where Mr Customer defines costs using CPU, RAM and storage, and then creates VMs on the CNV nodes.
      • With VMs vm1, vm2, vm3, vm4, vm5 and vm6, I created a nested OCP cluster ("nestedcluster1") which has 3 master nodes (nestedmaster1, nestedmaster2, nestedmaster3) and 3 worker nodes (nestedworker1, nestedworker2, nestedworker3).
      • The CMMO is installed both on cnvcluster1 and nestedcluster1
      • When I go to the OpenShift page in Cost Management a look at the the Virtualization tab, I see that the cost of the OCP Virt VMs is:
      1. vm1, vm2 and vm3 are $1,000 USD each
      2. vm4, vm5 and mv6 are $2,000 USD each.
      • Cost Management should be resource matching those costs and automagically stating
      1. cost of nestedmaster1, nestedmaster2, nestedmaster3 is $1,000 USD each
      2. cost of nestedworker1, nestedworker2, nestedworker3 is $2,000 USD each
      • Cost for the namespaces running on nestedcluster1 are calculated from the costs above

       

              Unassigned Unassigned
              pgarciaq@redhat.com Pau Garcia Quiles
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated: