Hysen Labs
CLI tool
derailed/k9s avatar
derailed

k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!

34,361 stars2,250 forksGoApache-2.0
01
DEEP OPEN-SOURCE ANALYSIS

K9s, a terminal UI for Kubernetes

K9s offers a terminal UI for Kubernetes, watching clusters for changes and offering commands to act on the resources it observes.

02
DEEP OPEN-SOURCE ANALYSIS

The terminal UI

K9s provides a terminal UI to interact with Kubernetes clusters, aiming to make navigation, observation, and management easier. It continually watches Kubernetes for changes and offers commands to interact with the resources it observes.

03
DEEP OPEN-SOURCE ANALYSIS

The funding note

The README says K9s is not backed by a big corporation with deep pockets, that it is a complex open source project demanding maintainer time, and that it will always remain open source and free. Sponsorship is invited to keep the servers on and the fridge stocked.

04
DEEP OPEN-SOURCE ANALYSIS

Install and build

K9s ships binaries for Linux, macOS, and Windows as tarballs on the release page. Users can also build their own Docker image, passing a kubectl version as a build argument, and cross architecture builds rely on QEMU emulation. A preflight note says resource edit commands need the EDITOR and KUBE_EDITOR environment variables set.

05
DEEP OPEN-SOURCE ANALYSIS

Configuration

K9s keeps its configuration as YAML files in a k9s directory whose location depends on the operating system, using XDG conventions. The README lists default locations for Unix, macOS, and Windows and mentions an environment variable to override the directory.

06
DEEP OPEN-SOURCE ANALYSIS

Keys and compatibility

A key bindings table covers help, resource aliases, quitting, and viewing resources by name or namespace, and a compatibility matrix maps k9s versions to Kubernetes client versions. Logs and a debug mode are documented as well.

07
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

K9s reads like a single maintainer project that wants to stay free, and the README is open about that funding model. This review sticks to what the README documents about the tool.

08
DEEP OPEN-SOURCE ANALYSIS

Official sources

09
Community notes

Community notes