Use Kubernetes Usage Data to load, review, and validate monthly Kubernetes cost and usage data in Yarken.
Automatic ingestion: Yarken can automatically fetch Kubernetes data only when the OpenCost Advanced Integration is configured for your instance. If the integration is not configured, upload the Kubernetes usage data manually from Yarken Designer > Consumption > Kubernetes.
For OpenCost Advanced Integration setup and source details, see OpenCost integration.
Current scope: Kubernetes data is available for ingestion, review, and reporting. Publishing Kubernetes data to a Spend model is not currently supported.
What you can do
-
Review monthly Kubernetes spend.
-
Check when Kubernetes data was last loaded.
-
Load Kubernetes usage data automatically through a configured Advanced Integration.
-
Upload Kubernetes usage data manually.
-
Review loaded usage records.
-
Review uploaded files for a month.
-
Use Upload Rules to transform or populate supported fields during ingestion.
-
Delete usage data for a month when required.
-
Analyze Kubernetes consumption in Analytics > Consumption Data.
Before you begin
Confirm that:
-
the required Kubernetes data is available for the reporting period,
-
if you want Yarken to fetch Kubernetes data automatically, the OpenCost Advanced Integration is configured for your instance. If the integration is not configured, upload the Kubernetes usage data manually from Yarken Designer > Consumption > Kubernetes.
-
any required Upload Rules are configured before the relevant data is loaded.
For OpenCost Advanced Integration setup and source details, see OpenCost integration.
Manage Kubernetes data for a month
Open the More options menu on a month to access the available actions.
Depending on the data available for the month, you can select:
-
Add Usage Data
-
View Usage
-
View Uploaded Files
-
Delete Usage Data
Add Usage Data
Select Add Usage Data when you want to manually upload Kubernetes usage data for the selected month.
Kubernetes data can also be loaded automatically through the configured Advanced Integration. You do not need to manually upload the same data when it is already being ingested automatically.
If transformation or enrichment is required during ingestion, configure the applicable rules from the UPLOAD RULES tab before loading the data.
Supported fields for Kubernetes uploads
|
Category |
Supported fields |
|---|---|
|
Mandatory |
Window Start; Window End |
|
Kubernetes dimensions |
Namespace; Pod; Container; Controller; Controller Kind; Node; Service; Provider; Is Idle |
|
Cost |
Total Cost; Workload Cost; Idle Cost; CPU Cost; RAM Cost; GPU Cost; PV Cost; Network Cost; Load Balancer Cost |
|
Resource consumption |
CPU Core Hours; RAM Byte Hours; GPU Hours; Network Transfer Bytes |
Note: Window Start and Window End are mandatory when manually uploading Kubernetes usage data. The remaining supported fields are optional. The same Kubernetes Consumption fields are available for reporting under Analytics > Consumption Data.
View Usage
Select View Usage to review the Kubernetes records loaded for the selected month.
View Uploaded Files
Select View Uploaded Files to review the files loaded for the selected month.
Delete Usage Data
Select Delete Usage Data when you need to remove Kubernetes usage data loaded for the selected month.
Review Kubernetes usage records
When you open View Usage, Yarken displays the Kubernetes usage records for the selected month.
By default, the data is grouped by Namespace. Expand a Namespace to review the records included in that group.
The total loaded Kubernetes spend is displayed at the top of the page.
Customize the columns
Use Columns to add or remove fields from the usage table. This lets you adjust the view to the Kubernetes attributes, usage measures, and cost information you want to review.
Default grouping: Kubernetes usage data is grouped by Namespace when you first open the usage view.
Analyze Kubernetes data in Analytics
Use Analytics > Consumption Data to build reports from ingested Kubernetes data.
-
Go to Analytics > Consumption Data.
-
Expand Kubernetes Consumption in the Fields panel.
-
Select or drag the required fields into the visualization.
-
Apply a Timeline filter, such as Month, when required.
-
Run the report to review the results.
The same Kubernetes Consumption field set is available for reporting:
|
Category |
Supported fields |
|---|---|
|
Reporting period |
Window Start; Window End |
|
Kubernetes dimensions |
Namespace; Pod; Container; Controller; Controller Kind; Node; Service; Provider; Is Idle |
|
Cost measures |
Total Cost; Workload Cost; Idle Cost; CPU Cost; RAM Cost; GPU Cost; PV Cost; Network Cost; Load Balancer Cost |
|
Resource consumption |
CPU Core Hours; RAM Byte Hours; GPU Hours; Network Transfer Bytes |
Note: The fields available in Analytics reflect the supported Kubernetes Consumption data loaded into Yarken. Use the field list to build reports for cost, resource usage, provider, workload, and Namespace analysis.
Automated ingestion through Advanced Integration
Kubernetes consumption can be loaded automatically through a configured Advanced Integration.
After a successful load:
-
Go to Yarken Designer > Consumption > Kubernetes.
-
Select the required year.
-
Locate the reporting month.
-
Review Spend and Last Load.
-
Select View Usage to validate the imported records.
For connection, pipeline, source-field, and troubleshooting details, see OpenCost integration.
Publishing Kubernetes data
Kubernetes consumption cannot currently be published to a Spend model.