Five teams share one EKS cluster and finance wants cost per team. How do you set up showback?

IntermediateScenarioCost
Answer

Situation read → The AWS bill shows nodes, not teams. You need to split node cost by what each team's pods requested.

What I'd do →

  1. Standardise ownership: one namespace per team (or a required team label), enforced by Kyverno.
  2. Run OpenCost or Kubecost to allocate node cost by requested CPU and memory (the greater of request or usage).
  3. Turn on split cost allocation data for EKS in the AWS Billing console, so the CUR reports cost per pod and namespace.
  4. Tag shared AWS resources (RDS, S3, queues) with team and activate it as a cost allocation tag.
  5. Send each team a monthly report with their idle share (requested but unused), which is usually the eye-opener.

Why → Visibility changes behaviour; teams right-size once they see their own number.

Interview tip → Mention that allocation is by requests, which is why inflated requests show up as cost.

All Real-World Interview questions Roadmap: Interview readiness

More on Cost