New An AI assistant that only reads

The k9s workflow, in your browser

Browse any resource, tail logs, open a shell, edit YAML and manage Helm releases without leaving the keyboard. One small binary that lives inside your cluster, read-only until you say otherwise.

Apache-2.0 · no database · no CDN · no telemetry

Pod list with status, restarts, CPU and memory columns and cluster usage meters; a crash-looping pod stands out in red
Live log view with autoscroll, timestamps and wrap toggles
Interactive shell inside a container
YAML editor for a deployment
History of a Helm release with five revisions, their status, chart version and description
The assistant explaining why a pod is crash looping: the data it read, the cause, and a proposal card with a YAML diff and Confirm and Reject buttons
Pod list in the k9w Light theme

Small enough to forget about

memory when idle
~28 MB
image download, compressed
~13 MB
initial JavaScript, gzipped
83 KB
static binary, UI included
34 MB

Memory was measured in dev mode on a one-node kind cluster: about 33 MB with one viewer and 39 pods. A password login raises it for a moment (argon2id uses 64 MiB). The image is about 13 MB to download on amd64 and 11 MB on arm64.

Your kubectl loop, without the terminal

Command bar

Press : and type a resource name or alias. Completion fills in the rest, and the same bar switches namespace or theme.

:deployEnter

Command bar completing the word deployments

Describe and YAML

Press d for the object and its events, or y for YAML. Search inside either one. Secret values are masked on the server.

dy/n

Describe view of a crash-looping pod

Scale and restart

Scale anything with a scale subresource and roll out restarts. Writes stay off until the server is started with --read-only=false.

sr

Scale dialog for a deployment

Delete, on purpose

Deleting asks you to type the object's name, and the button stays disabled until it matches. Outside dev mode every write also needs a recent TOTP code or passkey.

Ctrl-dCtrl-k

Delete confirmation dialog asking for the pod name

Help that matches the view

Press ? anywhere. The overlay is generated from the same key table the app runs on, so it always matches what you are looking at.

?Esc

Help overlay listing resource, general and navigation keys, and the commands

A guide inside the app

Type :guide for a short, task-oriented manual in English or Vietnamese. Shift-L switches the language, and the number keys jump between sections.

:guideShift-L

User guide with a table of contents, the Getting started section and a switch between English and Vietnamese

Every resource, including your CRDs

k9w asks the API server what exists and renders the same columns kubectl would. New custom resources show up without a plugin.

  • Pods
  • Deployments
  • StatefulSets
  • DaemonSets
  • ReplicaSets
  • Jobs
  • CronJobs
  • Services
  • Ingresses
  • ConfigMaps
  • Secrets
  • Namespaces
  • Nodes
  • PersistentVolumeClaims
  • Events
  • CustomResourceDefinitions
  • Any other API resource

Keyboard‑first, end to end

The keys you already know from k9s, in a page you can link to. The mouse works too: key hints, toolbar buttons and column headers are clickable.

Live usage columns

CPU and memory against requests and limits, with cluster meters and small charts in the header. Needs metrics-server.

Aliases and completion

:po, :deploy, :ns kube-system. Number keys jump between recent namespaces.

Drill down and back

Enter goes from deployment to pods to containers to logs. Esc returns to the row you left.

Server-side apply

Edit YAML in the browser. Field conflicts are never forced without your confirmation, and leaving with unsaved changes asks first.

Helm releases

:helm shows releases, history, notes, manifests and values, and can roll back or uninstall. Values and writes stay behind their flags.

Several clusters

:ctx switches between the clusters an admin added. Each browser tab keeps its own, in the address.

Ask what is wrong

An optional assistant reads with your permissions and proposes fixes that you confirm. How it works.

43 themes

k9s, Dracula, Nord, Gruvbox and more, previewed before you keep one. Follows your OS until you choose.

URLs for everything

Each view has an address, so you can send a teammate straight to the namespace or object.

An AI assistant
that cannot write

Off by default. Turn it on, press a and ask what is wrong: it reads objects, events, logs, usage and Helm releases with your own permissions. :ai opens it full screen.

The assistant explaining why a pod is crash looping: the data it read, the cause, and a proposal card with a YAML diff and Confirm and Reject buttons

Read-only by construction

Its cluster client refuses every request that is not a GET, and it has no way to open a shell.

You confirm every change

A fix arrives as a proposal card with facts from the cluster. Nothing changes until you confirm, which needs writes enabled and, outside dev mode, a recent TOTP code or passkey.

Bring your own provider

Anthropic, OpenAI or an OpenAI-compatible server such as Ollama or vLLM. Admins set providers, keys, groups and limits; users may add their own key where allowed.

Your cluster data is sent to that provider. What the assistant reads for you, within your permissions, goes to the model you picked. Secret values are masked and, by default, text that looks like a credential is redacted, but that filter is best effort. For data that must not leave, host the model yourself.

Enable it with --feature-ai. See the Helm settings, including network egress, and the threat model. Tested only against scripted model servers; no test calls a real provider.

Run it from the same tab

Members of k9w:admin open :admin to manage users, clusters, the assistant and, in local mode, server settings and the audit log.

Users and groups

Add accounts with a one-time setup link, change groups, disable, reset two-factor or sign someone out. In local mode you can also create groups together with their Kubernetes role binding.

:usersEnter

Users section of the admin console: accounts grouped under the admin, editor and viewer groups, with two-factor state and status

More than one cluster

Add remote clusters with a kubeconfig, a token or a client certificate, test them and limit them to groups. Credentials are stored encrypted, users are impersonated on every cluster, and exec kubeconfig plugins are refused.

:ctxEnter

Clusters section of the admin console listing the primary cluster and a staging cluster with status, version and allowed groups

Settings on the web

In local mode, change features, session timeouts and network settings, and k9w restarts itself. Network and kubeconfig changes roll back unless confirmed within 60 seconds. Locked out? Start with --ignore-settings.

:settingsEnter

Server section of the admin console: switches for read-only, shell, Secret reveal and the assistant, each showing where its value comes from

Who did what

Sign-ins, writes, shells and admin changes, newest first, with search and filters. Audit lines always go to standard output; this view reads the file that local mode also keeps.

:auditEnter

Audit log in the admin console with user, action and outcome filters and a list of sign-ins and writes, one of them denied

Two-factor by default

Local accounts sign in with a password and a TOTP code or a passkey, with one-time recovery codes. Sessions end after idle and absolute timeouts, and :passwd changes your password.

:passwdEnter

k9w sign-in screen with login and password fields and a note that two-factor authentication is required

In a Helm or Kustomize install, the Users, AI and Clusters sections work. The audit log view, settings on the web and custom groups need local mode; in a cluster, read audit lines from the pod log and change settings through your manifests.

Secure by default,
not retrofitted

k9w can read Secrets and open shells, so risky capabilities are off until an operator turns them on. Each user's requests are impersonated, so Kubernetes RBAC decides what they may do; k9w can only narrow that.

CapabilityOut of the boxHow to change it
Browse, describe, logsOnLimited by each user's RBAC
Edit, delete, scale, restart, Helm rollbackOff--read-only=false
Shell into containersOff--feature-exec
Secret valuesMasked--feature-secret-reveal
AI assistantOff--feature-ai
Two-factor login (TOTP or passkey)Required--require-2fa (dev mode has no login)
Fresh TOTP code or passkey for writes and shellsRequiredAlways, outside dev mode
k9w's own namespace, in clusterAdmins only--protected-namespaces
Audit logOnStandard output; local mode also keeps a file
CDN assets and telemetryNoneNot available

Also built in: integrity checks on stored accounts, a chart that gives editors no Secrets, and a strict Content-Security-Policy. No independent security review or penetration test yet. Read the threat model and known limits before exposing it.

Install it where it runs best

In your cluster behind your own TLS, or on your laptop to try it. Cluster installs run the image of the chart's release, v0.1.0 (amd64 and arm64, signed); the edge tag follows the default branch.

# Go 1.27.4+, Node 22+, a working kubeconfig
git clone https://github.com/QuanBlue/k9w
cd k9w
make build
./bin/k9w serve --dev-kubeconfig
# open http://127.0.0.1:8080

No login, loopback only. It acts with your own kubeconfig identity.

git clone https://github.com/QuanBlue/k9w
cd k9w
# replace k9w.example.com with your host
helm install k9w deploy/helm/k9w -n k9w --create-namespace \
  --set externalURL=https://k9w.example.com

# create the first user: prints a one-time link
kubectl -n k9w rollout status deploy/k9w
kubectl -n k9w exec deploy/k9w -- \
  k9w user add alice --group k9w:admin

Needs Kubernetes 1.29+ and an Ingress or Gateway that terminates TLS. This command creates no route: for an Ingress add --set ingress.enabled=true and --set ingress.tls.secretName=k9w-tls, or see Gateway API in the deploy guide.

git clone https://github.com/QuanBlue/k9w
cd k9w
# first edit the lines marked CHANGE, then apply
kubectl apply -k deploy/kustomize/overlays/gateway-api
kubectl -n k9w rollout status deploy/k9w
kubectl -n k9w exec deploy/k9w -- \
  k9w user add alice --group k9w:admin

Needs Kubernetes 1.29+ and a Gateway API implementation with an HTTPS listener. Overlays are also included for read-only and ingress-nginx (retired upstream) setups.

# Go 1.27.4+, Node 22+, a kubeconfig that may impersonate users
git clone https://github.com/QuanBlue/k9w
cd k9w
make build
mkdir -p ~/.config/k9w
./bin/k9w user add alice --group k9w:admin \
  --users-file ~/.config/k9w/users.json
./bin/k9w serve --kubeconfig ~/.kube/config \
  --users-file ~/.config/k9w/users.json \
  --external-url http://localhost:8080
# open http://localhost:8080

Real login with TOTP or passkeys and impersonation, for development and testing. See local mode.

Frequently asked questions

What is k9w?

k9s for the web: a web UI for Kubernetes that follows k9s conventions. It is a Go backend with a SolidJS frontend embedded in one static binary.

Is it part of the k9s project?

No. k9w is an independent project inspired by the k9s workflow. It is not affiliated with or endorsed by k9s.

Is it ready for production?

Not yet claimed. v0.1.0 is the first release of a project in early development. In-cluster installs are tested on kind behind Envoy Gateway; k9w has not been run on a production or managed cluster, and has had no independent security review or penetration test.

How are permissions handled?

Kubernetes RBAC. Each request is sent to the API server impersonating the logged-in user as k9w:<name> with their groups. On top of that k9w only restricts, for example with protected namespaces and with the groups allowed to use a remote cluster or the assistant.

Does it need a database?

No. In a cluster, accounts, keys, assistant settings and remote clusters live in Kubernetes Secrets. Local mode uses files.

Can one instance manage several clusters?

Yes. An admin adds remote clusters in the console, and users switch with :ctx among those their groups may use. Users are impersonated on every cluster, so that cluster's RBAC applies.

Does the AI assistant send my data anywhere?

Only if an operator turns it on. Then the cluster data it reads for you, within your permissions, is sent to the model provider an admin configured. Secret values are masked; the filter for other credentials is best effort. With the assistant off, nothing goes to a model provider.

What is not there yet?

OIDC and passwordless sign-in are not implemented. Port forwarding carries HTTP and WebSocket only. k9w runs one replica by default; several are possible, with the assistant's conversations kept per replica. In a cluster, the audit log view holds only recent events, the server settings are read-only and custom groups cannot be created. Write actions are tested in Chromium only.

Which keys differ from k9s?

A few, where browsers reserve shortcuts: w toggles wide columns and Ctrl-Shift-X closes a shell. The key reference lists them all.

Get k9w

Open source under Apache-2.0. Try it against a cluster you already have.