Ocean enables you to discover how much you spent on your applications by using Ocean’s Showback feature
In a containerized world, in which multiple applications & services share the same infrastructure, it’s often hard to distinguish the costs of different applications, services and environments.
Ocean Showback breaks down the infrastructure costs of the containerized cluster and provides insights on each of the layers and application which can later be used to analyze the applications’ costs and perform chargebacks.
To calculate the actual costs, Ocean first calculates the total compute costs for the cluster, Then the relative resource allocation per pod is calculated.
i.e., if your pod requests 1 vCPU and 1 GiB of RAM out of a total of 20 vCPUs and 20 GiB of RAM, this pod is allocated 5% of the available resources.
Finally, Ocean aggregates the pods allocated resources for each deployment and namespace, then multiply it by the total compute costs.
In order to use the showback feature please navigate inside Ocean to “Cost” tab inside your Ocean’s cluster:
Showback is showing the various costs by namepsace and breaks it into its deployments:
For each deployments the system shows total cost of deployment as well as its part of total namespace cost:
Time filters can be set to filter the data by relevant time frame.
Moreover, showback data can be consumed by custom time filters via API call.