LinuxCommandLibrary

k9s

terminal UI for Kubernetes

TLDR

Start k9s

$ k9s
copy
Start in namespace
$ k9s -n [namespace]
copy
Start with specific context
$ k9s --context [context-name]
copy
Start read-only
$ k9s --readonly
copy
Show specific resource
$ k9s --command [pods|deployments|services]
copy
List all clusters
$ k9s --all-namespaces
copy

SYNOPSIS

k9s [options]

DESCRIPTION

k9s is a terminal UI for Kubernetes. It provides real-time cluster management with keyboard navigation.
The tool displays pods, deployments, services, and more. It supports logs, exec, and resource editing.

PARAMETERS

-n NAMESPACE

Start in namespace.
--context NAME
Kubernetes context.
--readonly
Read-only mode.
--command RESOURCE
Initial resource view.
-A, --all-namespaces
All namespaces.
--help
Display help information.

CAVEATS

Requires kubeconfig. Terminal-based. Keyboard shortcuts to learn.

HISTORY

k9s was created by Fernand Galiana to provide a fast, terminal-based interface for managing Kubernetes clusters.

SEE ALSO

kubectl(1), stern(1), kubectx(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community