_________. _________.
\__ /_______/ ____/_______.
/ / _/_ __/ ___/
_/ . \/ / \ \
\_______\ \__. /___________/
\_______/ /
\______/
One namespace,
everything in it, live.
kubectl get -w on steroids:
a whole namespace, live, and all of it linked up.
curl -fsSL https://getkfs.org/install.sh | shor brew install fu/tap/kfs · other ways
01 What it is
kfs shows a Kubernetes namespace on one page that updates in place: the GitOps apps that deploy it, its deployments, replicasets and pods with CPU and memory, its services, ingress routes, configmaps and secrets. Below them runs a change log of everything that happens there — including what happened before you started.
Select a row and everything linked to it lights up, across sections: the app that deploys it, the pods it runs, the secrets and configmaps they read, the services and ingress routes in front of them.
02 What you get
- One page, live
- Pick a namespace, optionally a label filter. No sub commands, no screens to remember.
- The why, not just the state
- When an Argo CD or Flux app is not green, kfs looks at what it manages and says which workload is failing and why.
- A memory
- The change log starts with the events Kubernetes still keeps, so you see what happened before you looked.
- Hands on
- Logs, shell, port-forward, describe and yaml on the selected row — and delete it with
ctrl+d. - Careful with secrets
- Values are never kept in the list and only shown when you ask.
- kubectl at heart
- Same libraries, same flags:
-n,--context,--kubeconfig, exec auth plugins.
03 Install
-
One line macOS, Linux
curl -fsSL https://getkfs.org/install.sh | shPicks the build for your machine, checks it against the release checksums and puts
kfsin/usr/local/bin(or~/.local/bin). Read the script first if you like. -
Or with Homebrew
brew install fu/tap/kfs -
Or with Go
go install github.com/fu/kfs@latest -
Or a binary
Builds for macOS, Linux and Windows are on the releases page. Unpack one and put
kfson yourPATH. -
Run it
kfs reads your kubeconfig exactly like kubectl does. There is nothing to set up.
kfs -n das-asoziale-netzwerk
Coming from k7s? Run brew uninstall k7s, then install kfs as
above. The config now lives in ~/.config/kfs/.
04 Usage
$ kfs # the current namespace $ kfs -n das-asoziale-netzwerk # namespace das-asoziale-netzwerk $ kfs -n das-asoziale-netzwerk -l app=mu-kling # only one app in it $ kfs -n das-asoziale-netzwerk --once # print the resources once and exit
05 Keys
[1] [2] [3] context, namespace, filter [tab] next resource [up] [down] move [F1]…[F10] show or hide a resource [`] sort it by the next column [enter] describe the row [y] copy its name [ctrl+d] delete it [l] [s] [f] logs, shell, port-forward [q] [a] scroll the change log [+] [-] move the divider [Q] [esc] quit (esc: back)
Select a row: what it touches lights up. The frame round the change log is time — changes travel round it.