Skip to content

Conversation

@machacekondra
Copy link
Collaborator

@machacekondra machacekondra commented Dec 5, 2025

This PR add a cost estimation for baremetal self managed OCP/OVE.

The user can see the estimation when he click the cost estimation button on the overview of report page.

The calculation is based on:
https://www.redhat.com/en/resources/self-managed-openshift-subscription-guide

We predefine vCPU for calc based on vCenter VMs. We let user define the Node HW, we can pre-define it, but it's hard as each node could be different.

We also offer user to define OCP/OVE or SLA.

Example calculation:
A user has 4000vCPU on vCenter with ratio 1:4, it’s 1000cores. Bare metal node has 2sockets with 32cores. 1000cores/64cores=16 servers. We would suggest 16*1.25=20 nodes. We would calculate the price for 20 OpenShift Virtualization Engine bare metal socket-pair subscriptions.

This calculation takes into account Bare metal socket-pair subscription.
More info: https://www.redhat.com/en/resources/self-managed-openshift-subscription-guide#section-4

Current solution don't take into account core-pair subscription model. We may provide it as an option in future.

Snímek obrazovky 2025-12-05 v 14 57 55

This PR add a cost estimation for baremetal self managed OCP/OVE.

The calculation is based on:
https://www.redhat.com/en/resources/self-managed-openshift-subscription-guide

We predefine vCPU for calc based on vCenter VMs. We let user define the Node HW,
we can pre-define it, but it's hard as each node could be different.

We also offer user to define OCP/OVE or SLA.

Signed-off-by: Ondra Machacek <[email protected]>
@openshift-ci
Copy link

openshift-ci bot commented Dec 5, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tupyy for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link

coderabbitai bot commented Dec 5, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant