Este conteúdo não está disponível no idioma selecionado.
Chapter 3. Key concepts in cost management
3.1. Definitions Copiar o linkLink copiado para a área de transferência!
- Cost
- The sum of infrastructure and supplementary costs or the total cost for the filtered data. This sum can include the cost for a particular account, region, or service.
- Raw cost
- The costs that a cloud provider reports before any cost model calculations.
- Unallocated costs
- The costs that you can view when you group OpenShift cost data by project. These costs are in the rows Platform unallocated and Worker unallocated and are available when viewing OpenShift cost data by project.
- Platform unallocated costs
- The costs for parts of primary and infrastructure nodes that are not allocated to run workloads. In this case, those workloads are the OpenShift platform or control plane.
- Network unattributed costs
- Costs associated with ingress and egress network traffic for individual nodes.
- Worker unallocated costs
- The costs that represent any unused part of your worker node’s usage and request capacity.
- Unattributed cost
- The costs associated with a cloud integration that is not attributed to an OpenShift project.
- Overhead costs
- The costs that you outlay to administer your cloud account.
3.2. Cost layers Copiar o linkLink copiado para a área de transferência!
You can create costs at different layers of the environment. In cost management, all costs can be classified as either infrastructure or supplementary costs. To customize what cost management shows on the Details page, you can allocate and present your costs as any of the cost layers in your cost model.
- Infrastructure cost
In cost management, all cloud costs are considered infrastructure costs. They can include costs that cloud providers directly report through an Amazon (AWS), Microsoft Azure, or Google Cloud export. However, you can also designate infrastructure costs calculated from a price list for rates specifically marked as infrastructure.
NoteOpenShift Container Platform node and cluster cost per month rates are classified as infrastructure cost by default. You can choose to classify them as supplementary.
- Supplementary cost
- All costs not directly attributed to infrastructure are identified as supplementary costs. In cost management, these costs come from applying a price list to the metrics taken from an OpenShift cluster. The rates in the price list must be specified as supplementary. This is the default for all OpenShift costs except node and cluster cost per month.
3.3. Conversions Copiar o linkLink copiado para a área de transferência!
3.3.1. GiB-Mo Copiar o linkLink copiado para a área de transferência!
The costmanagement-metrics-operator
collects usage, capacity, and request information in byte seconds. A byte second is a measurement of how much data is used per second.
To convert from bytes per second to GiB-Mo (gibibytes per month), Red Hat uses the following equation:
bytes_per_second_reported_by_operator / (seconds_in_a_day * days_in_month) * power(2, -30)
One GiB (gibibyte) equals 2^30 bytes (1,073,741,824 bytes). The calculation uses 2^-30 to convert from bytes to GiB.
3.4. Additional resources Copiar o linkLink copiado para a área de transferência!
For more information about cost models, see Cost model terminology.
For information about distributing costs, see Understanding cost distribution in cost management