KubeadaptDocsBack to site
Sign inStart free
DocsAPI ReferenceCLI
  • Overview
  • Commands
Docs homev1CliOverview

CLI

CLI Overview

Query Kubernetes cluster costs, workloads, and optimization recommendations from your terminal. Table, JSON, and YAML output for scripts and CI.


kubeadapt is a command-line tool for querying Kubernetes cluster costs and optimization data. List clusters, inspect workloads, pull cost breakdowns by team or department, and fetch rightsizing recommendations directly from your terminal.

Output formats include table (default), JSON, and YAML, making it easy to integrate with scripts and CI pipelines.

bash
kubeadapt get clusters -o json

What you can do

  • Cost visibility: break down spending by cluster, namespace, team, or department
  • Rightsizing recommendations: list pending, applied, or dismissed recommendations with estimated savings
  • Workload inspection: view CPU/memory requests, efficiency scores, and per-workload costs
  • Node and storage data: list nodes, node groups, and persistent volumes with cost info
  • CI/CD integration: pipe JSON output to jq, feed into scripts, or use in GitHub Actions workflows
Note

Requires a Kubeadapt account and API key. Generate one at app.kubeadapt.io or see Authentication.

Global flags

These flags apply to every command.

FlagShortTypeDefaultDescription
--api-keystringAPI key (overrides stored config)
--api-urlstringAPI URL (overrides config)
--configstring~/.kubeadapt/config.yamlConfig file path
--output-ostringtableOutput format: table, json, yaml
--no-colorboolfalseDisable colored output
--verbose-vboolfalseEnable debug logging

Next steps

  • Installation: install the binary via Homebrew, script, or from source
  • Authentication: store your API key and connect to the API
  • Command Reference: every command, flag, and example
  • API Reference: the REST API that the CLI wraps
NextCLI InstallationCLI

On this page

  • What you can do
  • Global flags
  • 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