Back to Changelog

March 6, 2026

kubeadapt-cli: Your Cluster Costs from the Terminal

A new CLI tool to query clusters, costs, recommendations, and workloads directly from your terminal. Install via Homebrew or grab the binary. Supports table, JSON, and YAML output.

kubeadapt-cli: Your Cluster Costs from the Terminal
UC
Ugurcan Caykara
|https://kubeadapt.io/changelog/kubeadapt-cli/

Why a CLI

Dashboards are great for exploration. But when you're in the terminal, switching to a browser to check cluster costs breaks your flow.

kubeadapt talks directly to the Kubeadapt API. Authenticate once, then query clusters, nodes, workloads, costs, and recommendations without leaving your terminal.

Install

bash
1brew install kubeadapt/tap/kubeadapt-cli 2 3# Binary (GitHub Releases) 4# Download from github.com/kubeadapt/kubeadapt-cli/releases

Authenticate

bash
1kubeadapt auth login 2# Prompts for your API key (create one in Settings > API Keys) 3 4kubeadapt auth status 5# Shows current auth state

Your API key is stored in ~/.kubeadapt/config.yaml. One key, all commands.

What you can do

Clusters and infrastructure

bash
1kubeadapt get clusters # All connected clusters 2kubeadapt get cluster my-prod # Cluster detail 3kubeadapt get nodes -c my-prod # Node inventory 4kubeadapt get node-groups -c my-prod # Node group breakdown 5kubeadapt get namespaces -c my-prod # Namespace list 6kubeadapt get pvs -c my-prod # Persistent volumes

Workloads and recommendations

bash
1kubeadapt get workloads -c my-prod # All workloads with resource usage 2kubeadapt get recommendations -c my-prod # Right-sizing suggestions

Cost queries

bash
1kubeadapt get overview # Cross-cluster cost summary 2kubeadapt get dashboard # Key metrics at a glance 3kubeadapt get costs teams -c my-prod # Cost by team 4kubeadapt get costs departments -c my-prod # Cost by department

Output formats

Every command supports --output (-o):

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

Debugging

Pass --verbose to see API endpoints, request timing, and status codes:

bash
1kubeadapt get clusters --verbose

Useful when debugging connectivity or permission issues.

clideveloper-experiencenew-feature