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

OpenShift Calculation Update #147

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions docs/get-started/cost-billing/how-pricing-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ the services and billing model.

### Service Units (SUs)

![Service Units (SUs)](images/su.png)
| Name | vGPU | vCPU | RAM (GB) | Current Price |
| - | - | - | - | - |
| CPU | 0 | 1 | 4 | $0.013 |
| A100 GPU | 1 | 24 | 74 | $1.803 |
| V100 GPU | 1 | 48 | 192 | $1.214 |
| K80 GPU | 1 | 24 | 28.5 | $0.463 |

## Breakdown

Expand All @@ -37,7 +42,7 @@ of the base SU for the maximum resource they reserve.

`$360.60`

**CPU SU Example:**
**OpenStack CPU SU Example:**

- A Project or VM with:

Expand All @@ -49,6 +54,24 @@ of the base SU for the maximum resource they reserve.

`$46.80`

**OpenShift CPU SU Example:**

- Project with 3 Pods with:

`1 vCPU, 3 GB RAM, 720hrs (24hr*30days)`
`0.1 vCPU, 8 GB RAM, 720hrs (24hr*30days)`
`2 vCPU, 4 GB RAM, 720hrs (24hr*30days)`

- Will be charged:

`RoundUP(Sum(`
`1 CPU SUs due to first pod * 720hrs * $0.013`
`2 CPU SUs due to extra RAM (8GB vs 0.4GB(0.1*4GB)) * 720hrs * $0.013`
`2 CPU SUs due to more CPU (2vCPU vs 1vCPU(4GB/4)) * 720hrs * $0.013))`
`=RoundUP(Sum(720(1+2+2)))*0.013`

`$46.80`

OpenShift Pods are summed up to the project level so that fractions of CPU/RAM
joachimweyl marked this conversation as resolved.
Show resolved Hide resolved
that some pods use will not get overcharged. There will be a split between CPU and
GPU pods, as GPU pods cannot currently share resources with CPU pods.
Expand Down
Loading