How to Install ClusterCost in 30 Seconds Using the CLI

The fastest path to cost visibility: a single command, no extra services, and results in minutes.

D
Daniel Paz
1 min read

ClusterCost installs from the terminal with one command and zero dashboard wrangling. Here’s the exact flow to get cost per namespace in minutes.

Quick start

npx clustercost@cli install --provider eks \
--price-sheet ./prices/us-east-1.yaml \
--namespace clustercost
  • Works with kubeconfig context you’re already using.
  • Auto-detects node types and applies your price sheet (on-demand + spot).
  • No extra DBs or storage classes; a single Go agent does the work.
  • Uses sane resource defaults (<150MB memory, <100m CPU steady).

Verify it’s running

kubectl -n clustercost get pods
npx clustercost@cli status
npx clustercost@cli report --top 5

You’ll see cost per namespace, waste %, and egress leaders.

Common tweaks

  • --price-sheet https://... to pull a remote sheet per region.
  • --audit to run read-only and auto-uninstall after a report.
  • --with-egress to enable network cost collection if you need it.
  • --json for pipeline-friendly output.

Clean uninstall

npx clustercost@cli uninstall

Keeping install simple is the point: cost visibility should not require its own platform.***

👨‍💻

Daniel Paz

Marketing Lead

Read Next

Join 1,000+ FinOps and platform leaders

Get Kubernetes and ECS cost tactics delivered weekly.