Skip to content
All releases
feat
(8mo ago)

Shipped by

  • Ugurcan CaykaraUgurcan Caykara

kubeadapt-cli: Your Cluster Costs from the Terminal

A CLI to query clusters, costs, recommendations and workloads from your terminal. Install with Homebrew or download the binary. Table, JSON and YAML output.

kubeadapt-cli: Your Cluster Costs from the Terminal

What shipped

kubeadapt shows cluster costs, workloads and recommendations in your terminal, with JSON and YAML output for scripts.

It talks to the Kubeadapt public API. Authenticate once, then query clusters, nodes, workloads, costs and recommendations. See the CLI documentation for the full reference.

Updated September 2026

The command set changed in v0.2.0: cluster filters use --cluster-id, team and department costs moved to get teams and get departments, and get pvs was removed. The examples below use the current commands. The command reference lists every command.

<!-- callout:note -->

Install

bash
# Homebrew
brew install kubeadapt/tap/kubeadapt

# Binary (GitHub Releases)
# Download from github.com/kubeadapt/kubeadapt-cli/releases

Authenticate

bash
kubeadapt auth login
kubeadapt auth status

You need an API key to authenticate. Create one from Settings > API Keys in the dashboard.

<!-- callout:tip -->

What you can do

Clusters and infrastructure

bash
kubeadapt get clusters                              # All connected clusters
kubeadapt get cluster <cluster-id>                  # Cluster detail (ID from `kubeadapt get clusters`)
kubeadapt get nodes --cluster-id <cluster-id>       # Node inventory
kubeadapt get node-groups --cluster-id <cluster-id> # Node group breakdown
kubeadapt get namespaces --cluster-id <cluster-id>  # Namespace list

Workloads and recommendations

bash
kubeadapt get workloads --cluster-id <cluster-id>       # All workloads with resource usage
kubeadapt get recommendations --cluster-id <cluster-id> # Right-sizing suggestions

Cost queries

bash
kubeadapt get overview       # Cross-cluster cost summary
kubeadapt get dashboard      # Key metrics at a glance
kubeadapt get teams          # Cost by team
kubeadapt get departments    # Cost by department

Output formats

Every command supports --output (-o):

bash
kubeadapt get clusters -o json    # JSON (pipe to jq, feed into scripts)
kubeadapt get clusters -o yaml    # YAML
kubeadapt get clusters -o table   # Table (default)

Debugging

Pass --verbose to log each API request and response (URL, status code and timing) to stderr:

bash
kubeadapt get clusters --verbose