KubeadaptDocsBack to site
Sign inStart free
DocsAPI ReferenceCLI
  • Introduction
  • Getting Started
  • Capabilities
    • Connect a cluster
    • Right-size your workloads
    • Monitor GPU workloads
    • Trace cost to a team
    • Plan a safe spot migration
    • Clean up abandoned workloads
    • Invite teammates and set roles
    • Configure SAML SSO
    • Mint an API key
    • Rotate an API key
Docs homev1How To GuidesTrace Cost To A Team

How-to Guides

Trace cost to a team

Attribute every workload's cost to the right team, either through Kubernetes labels or the Assignment Workbench.


Finance asks who owns the $4,200 in-memory cache cluster. You need an answer that survives the next person joining or leaving the team. Tell Kubeadapt which Kubernetes label encodes team ownership, label your workloads, and the Teams view fills in. For workloads that can't be labelled — third-party charts, shared infrastructure — assign them by hand in the Assignment Workbench.

This walks both paths. Pick the one that matches how your org already organizes Kubernetes.

Cost Attribution Page - Teams TabCost Attribution Page - Teams Tab


1. Point Kubeadapt at the right label keys

Settings → Label Keys. The page exposes four label keys you can customize:

FieldDefault valueUsed for
Team labelteamMaps a workload to a Team
Department labelkubeadapt-departmentMaps a workload to a Department
Owner labelownerSurfaces a contact in the UI
Environment labelenvironmentsSplits prod/staging in views

If your org already standardizes on a different key (app.kubernetes.io/part-of, cost-center, squad), type it here and save. Kubeadapt picks up the change on the next cluster update.

Note

The defaults are team, kubeadapt-department, owner, environments — they're the keys Kubeadapt ships with. Override them in Settings → Label Keys if your conventions differ; the page accepts any valid Kubernetes label key.


2. Label your workloads

Add the team label to the pod template of every workload you want attributed. For a Deployment:

yaml
1apiVersion: apps/v1
2kind: Deployment
3metadata:
4  name: checkout-api
5  namespace: payments
6spec:
7  template:
8    metadata:
9      labels:
10        team: payments-platform
11        owner: lia@example.com
12    spec:
13      containers:
14        - name: app
15          image: ghcr.io/example/checkout:v1.42.0

Apply with kubectl apply -f. Labels on the Deployment itself are ignored — Kubeadapt reads pod labels.

For Helm charts you don't own, set the labels through podLabels in values.yaml rather than editing the chart.


3. Verify in Cost Attribution → Teams

Open Cost Attribution → Teams. Within one snapshot (60 seconds), the team you labelled appears with the workload underneath it. Click into the team to see every workload, its current daily cost, and the trend over the last 30 days.

If a workload is missing, three things to check:

  • The pod template carries the label, not just the Deployment metadata
  • The label key matches the value saved in Settings → Label Keys
  • Pods are running — workloads with zero pods today don't show up

Manual assignments always win over labels, so if you previously hand-assigned a workload, the label is ignored until you clear the manual assignment.


4. Hand-assign what can't be labelled

Some workloads can't take a team label cleanly — vendor Helm charts, kube-system add-ons, shared databases. Cost Attribution → Assignment Workbench is the manual path.

The workbench lists every workload in a paginated table (50 per page). Pick a workload, click Assign, choose a team. Cluster-level and namespace-level bulk assigns are available from the side panels for sweeping multiple workloads at once.

Need to split a shared workload across multiple teams? Use Split Cost from the row menu. You can split across up to 10 teams; the percentages must sum to 100.

Tip

Bulk-assign by namespace first, then refine specific workloads. A "namespace = team" rule covers 80% of most clusters; the workbench handles the long tail.


Next steps

  • Cost attribution: overview — the data model behind teams, departments, and assignments
  • Assignment Workbench — bulk flows, split-cost rules, and manual-vs-label precedence

Related

  • Cost attribution
  • Assignment Workbench
  • Label-based attribution
PreviousGPU MonitoringHow-to GuidesNextClean up abandoned workloadsHow-to Guides

On this page

  • 1. Point Kubeadapt at the right label keys
  • 2. Label your workloads
  • 3. Verify in Cost Attribution → Teams
  • 4. Hand-assign what can't be labelled
  • Next steps
Edit this page
Kubeadapt

Kubernetes FinOps platform. Cost visibility, rightsizing, and capacity planning that pays for itself in 30 days.

Product

  • Cost Monitoring
  • Cost Attribution
  • Workload Rightsizing
  • Recommendations
  • Smart Alerting
  • Best Practices
  • Network Cross-AZ

Resources

  • Documentation
  • Status Page
  • Feature Requests

Company

  • About Us
  • Security
  • Careers
  • Contact

© 2026 Kubeadapt. All rights reserved.

PrivacyTermsSecurity