Root-Cause Extraction
No more digging through 30-line stack traces. klarity parses Java, Python, and Go logs to extract the exact error instantly.
Multi-Cluster Native
Goroutines scan your entire kubeconfig in parallel. AKS, EKS, GKE, and local clusters auto-detected and grouped by org and tier.
Strictly Read-Only
Perfectly safe for production. klarity only performs get and list operations. Never mutates resources.
Full-Screen Setup
klarity init and klarity config take over the terminal with a keyboard-driven full-screen UI โ no more prompts disappearing off screen.
What's new
klarity init now takes over your terminal
The setup wizard is now a full-screen keyboard-driven interface โ no more prompts scrolling off screen. Phase progress shown at the top, controls at the bottom. Navigate with โโ, confirm with enter, go back with esc.
Dozens of clusters grouped in seconds
klarity init auto-detects AKS, EKS, and GKE naming patterns โ proposes groupings and only asks about unmatched clusters.
Parallel namespace scanning
Namespaces within each cluster scan concurrently. Large clusters finish in a fraction of the time.
Default environment
Set a default so klarity scans just what matters. Use --no-default for a one-shot full scan.
Wildcard namespaces & multi-env
Scan multiple environments at once and filter namespaces with glob patterns. Quote wildcards to prevent shell expansion.
Self-update, Slack reporting, and clean uninstall
Keep klarity current with one command. Post diagnostic reports to Slack on demand. klarity config opens a full-screen interactive menu. Remove everything cleanly when needed.
Commands
klarity initFull-screen wizard โ auto-detects and groups clustersklarity init --resetReconfigure โ backs up existing config firstklarity configFull-screen interactive config menuklarity updateSelf-update to the latest releaseklarity uninstallRemove binary, config, cache, and logsklarityScan default environment (or all if none set)klarity -e prod-paymentsScan a specific environmentklarity -e prod,stagingScan multiple environmentsklarity --no-defaultOne-shot full scan ignoring default_envklarity --rescanForce a fresh scan, ignoring the cacheklarity --watchContinuous scan, refreshes on intervalklarity --context gke-payments-prod-uscentral1Scan a single clusterklarity -n billingScan a specific namespaceklarity -n "billing-*"Wildcard namespace filter (glob)klarity --exclude-ns "test-*"Exclude namespaces by glob patternklarity --category oom,crashloopShow only specific issue categoriesklarity --historyShow last 10 scan summariesklarity --history 25Show last N scan summariesklarity -o jsonOutput as JSON (for CI or piping)klarity --interval 60Override scan interval in secondsklarity envList all environments with cluster namesklarity lsAlias for klarity envklarity config showShow full config including default envklarity config editOpen config in $EDITORklarity config validateValidate config and check cluster reachabilityklarity slack setupConfigure Slack webhook or bot tokenklarity slack sendPost report for critical-tier environmentsklarity slack send -e prod-paymentsPost report for specific environmentklarity slack send --allPost report for all environments