-
Feature
-
Resolution: Unresolved
-
Normal
-
None
-
None
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:
- vm1, vm2 and vm3 are $1,000 USD each
- vm4, vm5 and mv6 are $2,000 USD each.
- Cost Management should be resource matching those costs and automagically stating
- cost of nestedmaster1, nestedmaster2, nestedmaster3 is $1,000 USD each
- cost of nestedworker1, nestedworker2, nestedworker3 is $2,000 USD each
- Cost for the namespaces running on nestedcluster1 are calculated from the costs above
- is related to
-
COST-7054 Distribute cost model costs to OCP Virt VMs
-
- New
-