Repository navigation
Releases
k10s v0.1.10
Credential plugins such as tsh, aws and kubelogin stay off the
terminal, so a login prompt no longer hangs k10s, and the plugin's own
words, where it has any, say what to do. Plugins that run a shell's -c
script with options around -c, or through env or busybox, now get
k10s's values through the environment too, so a value from the cluster,
such as a column's text, can no longer run as part of their script.
Credential plugins stay off the terminal (#41)
Many kubeconfig users get their token from a program: tsh kube credentials
(Teleport), aws eks get-token, kubelogin, gke-gcloud-auth-plugin.
client-go handed that program the terminal's input whenever there was one, so
under k10s a relogin or MFA prompt read keystrokes meant for k10s and wrote over
the screen, and the session looked hung.
- The plugin now runs without the terminal's input, as kubectl runs it when
stdin is taken: one that would have prompted fails at once instead of
waiting, and one that declaresinteractiveMode: Alwaysis refused before it
runs. - What the plugin writes to stderr no longer lands on the screen. Its last line
becomes the No cluster reason, such ascredential plugin tsh: Having problems with relogin, please use 'tsh login/tsh kube login' manually,
instead ofexec: executable tsh failed with exit code 1. - A slow plugin no longer turns into No cluster: when the first request times
out with a plugin in use, k10s asks once more, with the credentials the
plugin has fetched by then. - While k10s connects, the status line names the plugin it is waiting on.
/setupand
docs/cluster-setup.md
have a section on credential plugins, with Teleport's caveats.
Values reach every -c script through the environment (#40)
When a plugin's command is a shell with -c, k10s gives the script the values
it fills in, such as $NAME, $NAMESPACE and $COL-STATUS, as environment
variables, so the shell never reads a value as code. Until this release that
held only when the script came right after the first option that holds c,
such as -c or -ec, and the command itself was the shell. In these command
lines k10s pasted the values into the script's text, and a value that held
shell syntax ran as part of the script:
- options between
-cand the script:sh -c -x '...',
sh -c -o errexit '...',sh -c -- '...'; - a shell run through another program:
env bash -c '...',
busybox sh -c '...'.
k10s now reads a shell's options the way the shells do, and finds the shell
behind env and busybox. Arguments after the script, which the shell passes
as $0, $1 and so on, still get the values as text, so
sh -c '... "$1"' sh $NAME works as before. When k10s cannot tell which
argument is the script, every argument reads the values from the environment.
env -S builds a command line of its own from a string and expands ${VAR}
in it, so the environment cannot keep a value out of it. As with python3 -c,
what such a plugin does with the values is up to the plugin.
docs/plugins.md
and SECURITY.md say
how values reach a -c script. Thanks to
@pierreneter, who found it while reviewing
#28.
Also
k10s --helpsays that read-only mode blocks every external plugin, as it
does, not only dangerous ones (#39).- If k10s crashes, the stack trace is printed once the terminal is back to
normal, ready for a bug report (#44).
Upgrading
A credential plugin can no longer ask for anything while k10s runs: log in with
it first, or in another shell, then press r.
A plugin whose -c script comes after options, or whose shell runs through
env or busybox, now reads its values from the environment, as a plain
sh -c '...' plugin already did. Quote them in the script as any shell
variable: "$NAME", not '$NAME', which the shell leaves as it is. A command
line k10s cannot read, such as one with bash's -O, gets the environment in
every argument, so a value passed as $1 arrives as $NAME: set such an
option inside the script instead, for example with shopt -s extglob.
govulncheck reports none for this release.
/update from inside k10s, checksum-verified, atomic, offers to restart into
the new binary; a Homebrew install upgrades with brew upgrade k10s.
curl -fsSL https://p10node.com/k10s/install.sh | sh
brew install p10node/tap/k10s
go install github.com/p10node/k10s@latest
gh attestation verify k10s_v0.1.10_<os>_<arch>.tar.gz --repo p10node/k10s # .zip on WindowsIssues and friction reports: https://github.com/p10node/k10s/issues
What's Changed
- fix(plugin): find a shell's -c script after its options and behind env by @junior in #40
- k8s: keep credential plugins off the terminal by @pierreneter in #41
- fix(cli): say in --help that read-only blocks every external plugin by @junior in #39
- fix(cli): show the stack trace of a panic in the TUI by @junior in #44
- docs(release): notes for v0.1.10 by @junior in #43
Full Changelog: v0.1.9...v0.1.10
k10s v0.1.9
k10s installs with Homebrew now, it runs on the Kubernetes 0.37 client
libraries and Bubbles 1.0, and every direct dependency is at its newest
release.
Homebrew (#29, #26)
brew install p10node/tap/k10sThe formula in p10node/homebrew-tap
installs this release's prebuilt archive for macOS and Linux, arm64 and amd64,
checked against the sha256 that this release's checksums.txt lists, so no Go
toolchain is needed. From this release on, the release workflow updates the
formula by itself, after checking each archive against checksums.txt and its
build provenance attestation.
A k10s that Homebrew installed leaves upgrades to Homebrew: k10s update
prints installed by Homebrew, which updates it: run brew upgrade k10s and
changes nothing, and /update says the same. Installing by the full name, as
above, trusts the formula by itself; by short name, run brew trust --formula p10node/tap/k10s first (Tap Trust).
Kubernetes client libraries 0.37 (#20)
client-go and the k8s.io modules released with it move together from v0.36.4
to v0.37.2: api, apimachinery, apiextensions-apiserver, client-go, kubectl,
metrics and streaming.
Bubbles 1.0 (#21, #31)
The terminal UI's component library, charmbracelet/bubbles, moves from v0.21.0
to v1.0.0, and charmbracelet/x/ansi from v0.10.2 to v0.11.9. Bubbles 1.0 pads
an empty text input with spaces that carry no style, which showed the
terminal's own background after the placeholder on the prompt row, the empty
palette query and the /settings custom row. k10s paints that padding with the
theme background again, so nothing should look different.
Also
- Security bugs can be reported privately, without a public issue: see
SECURITY.md. Dependabot's weekly update of the
Kubernetes group no longer fails (#28, #16). - Two UI tests that failed now and then on a busy machine are reliable now: the
click tests wait for the clickable zones to be recorded, and the keypress
latency check, a wall-clock bound, is skipped undergo test -short, which
the test and release workflows run (#27, closes #24), thanks,
@Devehab. A click test still failed now and
then under load, and now waits for the whole frame's zones before it clicks
(#30). - docs/maintaining.md describes how pull requests, CI, the rulesets and
releases are run, and CODEOWNERS asks the other maintainer to review every
pull request (#23). The docs use
vX.Y.Z as the example version (#32).
Upgrading
Nothing changes behaviour, except that a Homebrew install leaves its upgrades
to brew upgrade k10s. If you installed v0.1.8 with Homebrew, upgrade it with
brew upgrade k10s rather than /update: v0.1.8 does not know about Homebrew
yet and would write over the formula's copy.
govulncheck reports none for this release.
/update from inside k10s, checksum-verified, atomic, offers to restart into
the new binary.
curl -fsSL https://p10node.com/k10s/install.sh | sh
brew install p10node/tap/k10s
go install github.com/p10node/k10s@latest
gh attestation verify k10s_v0.1.9_<os>_<arch>.tar.gz --repo p10node/k10s # .zip on WindowsIssues and friction reports: https://github.com/p10node/k10s/issues
What's Changed
- docs: add maintaining.md and CODEOWNERS by @pierreneter in #23
- test(ui): stop two UI tests from failing under load by @Devehab in #27
- chore(deps): bump the kubernetes group across 1 directory with 6 updates by @dependabot[bot] in #20
- chore(deps): bump the charm group across 1 directory with 2 updates by @dependabot[bot] in #21
- test(ui): wait for bubblezone to settle before a test clicks by @junior in #30
- Update x/ansi to v0.11.9 and restore the prompt's background by @junior in #31
- docs: use vX.Y.Z as the example version by @junior in #32
- docs: note what the aqua registry entry pins by @junior in #36
- Homebrew install: brew install p10node/tap/k10s by @junior in #29
- Add a security policy, and stop Dependabot's weekly kubernetes failure by @junior in #28
- docs(release): notes for v0.1.9 by @junior in #33
New Contributors
- @Devehab made their first contribution in #27
- @dependabot[bot] made their first contribution in #20
Full Changelog: v0.1.8...v0.1.9
k10s v0.1.8
Kubeconfigs that log in through auth-provider: oidc connect now, release
archives are signed, and five HTTP/2 vulnerabilities in a dependency are gone.
OIDC kubeconfigs (#9)
A kubeconfig whose user logs in through auth-provider: oidc, which kubectl
reads natively, showed its context in the header and then failed:
clientset: no Auth Provider found for name "oidc"
client-go only knows the auth-provider plugins a program imports, and k10s
imported none. It now loads the same set kubectl does: oidc, plus stubs for the
removed gcp and azure providers that name what replaced them. An expired
id-token is refreshed against the identity provider and written back to the
kubeconfig file that holds the user, as kubectl does, in --readonly mode too:
the refresh goes to the identity provider, not to the cluster.
Signed releases (#15)
Every archive in this release carries a build provenance attestation, signed
through Sigstore by the release workflow, which shows it was built by this
repository's workflow from the tagged commit:
gh attestation verify k10s_v0.1.8_linux_amd64.tar.gz --repo p10node/k10smise verifies it by itself when it installs k10s from GitHub. checksums.txt
still matches each download to what this release published; the attestation is
what says who built it. Releases are now built with the newest Go 1.27 patch.
Correctness hardening (#10)
- An async operation stays tied to the source and session that started it, so a
slow answer from a context you already left cannot land in the one on screen. - Custom-resource rows carry their full identity, so Describe, YAML, Delete and
Apply act on the object you selected. - Edits keep the original resourceVersion: a conflicting change fails instead of
being retried against a fresh copy. - Drain checks for blockers first, evicts with UID preconditions, runs the
evictions concurrently under one deadline, and never force-deletes. - Log sessions stay pinned to the pod and container you chose, with bounded
memory, and actions work before the informer caches have warmed up. - Read-only mode blocks every external plugin, not only the ones marked
dangerous: true. - The updater requires a valid checksum manifest, and the release workflow
installs the freshly built archive before publishing it.
Also
- The
:ctxpicker keeps its cursor on screen when the context list is long
(#11), thanks, @p3rsephone. - Pull requests are tested now: gofmt, go vet, go test and govulncheck on the two
Go releases that get security fixes, and once a week with no change at all;
Dependabot proposes dependency updates (#14).
Upgrading
golang.org/x/net is updated (#13, #22). The version in v0.1.7 has five
HTTP/2 vulnerabilities whose code k10s reaches through client-go (GO-2026-6617,
GO-2026-6612, GO-2026-6611, GO-2026-6610 and GO-2026-6603), and v0.61.0 has two
more in its html package that k10s does not call (GO-2026-6866, GO-2026-6860).
govulncheck reports none for this release.
Read-only mode is stricter: every external plugin is blocked in it now, not
only the ones marked dangerous: true.
/update from inside k10s, checksum-verified, atomic, offers to restart into
the new binary.
curl -fsSL https://p10node.com/k10s/install.sh | sh
go install github.com/p10node/k10s@latest
gh attestation verify k10s_v0.1.8_<os>_<arch>.tar.gz --repo p10node/k10s # .zip on WindowsIssues and friction reports: https://github.com/p10node/k10s/issues
What's Changed
- Load client-go auth-provider plugins so oidc kubeconfigs connect by @junior in #9
- fix: correctness hardening across k8s store, UI lifecycle and updater by @pierreneter in #10
- Keep the :ctx picker's cursor on screen when the context list is long by @p3rsephone in #11
- Update golang.org/x modules: fixes five HTTP/2 vulnerabilities in x/net by @junior in #13
- Test pull requests in CI, and add Dependabot by @junior in #14
- Sign release builds: attest every archive's build provenance by @junior in #15
- Update golang.org/x/net to v0.62.0 by @junior in #22
- docs(release): notes for v0.1.8 by @junior in #25
New Contributors
- @p3rsephone made their first contribution in #11
Full Changelog: v0.1.7...v0.1.8
k10s v0.1.7
Look, never touch. k10s --readonly opens the dashboard with nothing
that can change the cluster — for production, for a cluster you are only
auditing, for handing the terminal to someone who should not be able to
delete a pod by reflex. The UI hides the write actions, and a transport under
every client refuses them again before a request leaves the machine, so a
code path the UI missed still cannot write.
This release is also the first built with a patched Go toolchain; see
Upgrading below.
Read-only mode (#5, #7) — thanks, @junior
k10s --readonly # your current context, nothing writable
k10s demo --readonly # the flag goes before or after demo
k10s --read-only # same flag, other spelling- The Actions pane keeps Describe, YAML, Logs and Top. Edit, Scale,
Rollout Restart, Cordon, Drain and Delete are gone, and so are Shell and
Port Forward, which open a session into the cluster. Their keys,:scale
included, answer with a notice instead of a dialog. - Plugins marked
dangerous: trueare hidden, as in k9s, and typed shell
commands do not run: they run as you, outside k10s, so read-only mode
cannot vouch for them. - The header says READ-ONLY for as long as the mode is on.
- The same rule holds on the wire. Every client k10s builds — clientset,
dynamic, discovery, metrics, and the exec and port-forward streams — gets a
transport that refuses anything other than GET, HEAD or OPTIONS, plus the
GETs that open exec, attach or port-forward streams over WebSockets, plus
anything sent through the proxy of a pod, a service or a node. Behind a
node proxy is the kubelet, whose own API includes exec, so nothing sent
through a proxy is known to only read. The tests drive a clientset, the
exec executor and the port-forward dialer against a recording server and
check that only the read reaches it.
Read-only mode is a guard against k10s, not against you: it does not change
what your kubeconfig is allowed to do, and a plugin or $EDITOR that talks to
the cluster on its own is outside it.
docs/commands.md
has the full list.
$KUBECONFIG with several files (#6) — thanks, @junior
With KUBECONFIG=a.yaml:b.yaml, k10s connected to the current context but
switching to another one failed:
load kubeconfig: stat a.yaml:b.yaml: no such file or directory
The first connection let client-go apply kubectl's loading rules and merge the
list; a context switch rebuilt the client from the raw path instead, and
client-go took the whole list as one file name. A switch now loads the same
way the first connection did. $KUBECONFIG as plugins see it is unchanged
and still carries the full list.
Also
- Returning to the table from logs, describe, YAML and the other full-screen
views goes through one helper, so every exit tears the session down the
same way.
Upgrading
Every release up to and including v0.1.6 was built with Go 1.26.0. The
release workflow read the toolchain from go.mod's go line, which is the
oldest Go the code builds with, not the one to ship. A trivy scan of the
v0.1.6 linux/amd64 binary lists 33 standard library vulnerabilities (22 rated
high) fixed in Go 1.26.1 through 1.26.6, among them crypto/x509 certificate
validation and crypto/tls issues. From v0.1.7 on, releases are built with the
newest 1.26 patch, and the build log prints go version so every release
shows which toolchain made it. If you run an older binary against clusters you
do not fully trust, upgrade.
Nothing else changes behaviour unless you pass --readonly.
/update from inside k10s — checksum-verified, atomic, offers to restart into
the new binary.
curl -fsSL https://p10node.com/k10s/install.sh | sh
go install github.com/p10node/k10s@latest
shasum -a 256 -c checksums.txt --ignore-missingchecksums.txt matches the download to what this release published; it is not
a signature of who published it.
Issues and friction reports: https://github.com/p10node/k10s/issues
What's Changed
- Build releases with the newest Go 1.26 patch, and add --readonly by @junior in #5
- Switch context with every file listed in $KUBECONFIG by @junior in #6
- Read-only mode: refuse proxy requests to pods, services and nodes by @junior in #7
New Contributors
Full Changelog: v0.1.6...v0.1.7
k10s v0.1.6
Full Changelog: v0.1.5...v0.1.6
k10s v0.1.5
What's Changed
- fix(k8s,ui): resolve RBAC and full-flow reliability issues by @clamshell2000 in #4
Full Changelog: v0.1.4...v0.1.5
k10s v0.1.4
What's Changed
- fix(ui): restore mouse capture after editor exits by @clamshell2000 in #1
- feat: make demo mode opt-in and add a "No cluster" state by @pierreneter in #2
New Contributors
- @clamshell2000 made their first contribution in #1
- @pierreneter made their first contribution in #2
Full Changelog: v0.1.3...v0.1.4
Sample data no longer stands in for your cluster. k10s used to fall back
to its bundled demo whenever a connection failed — so a machine with no
kubeconfig opened onto forty pods, three nodes and a CrashLoopBackOff that
existed nowhere, labelled only by one line in the status bar. That is fixed:
the demo is something you ask for by name, and "no cluster" says so.
The demo is a context, not a mode (#2)
k10s demo # the sample cluster — fake data, clearly labelled
k10s # your real cluster, or "No cluster" if there isn't onek10s demoopens on it,/demoswitches to it from anywhere, and:ctx
always lists it ask10s demo · sample datawith a legend under the list.- To leave it, pick any other context. There is no separate exit, because
there is no mode to exit. - While it is up the header carries a
DEMOmarker, so no frame of it can be
screenshotted or mistaken for a real cluster.
The "No cluster" panel (#2)
With no kubeconfig, or a context whose API server does not answer, the main
panel now names the reason and points at the way out:
| Key | Action |
|---|---|
r |
retry the connection (rebound while the panel is up) |
enter |
same — retry |
:ctx |
pick another kubeconfig context |
/setup |
installing kubectl, getting a ~/.kube/config — links |
/demo |
try the UI on the sample cluster |
Two different failures land there and both count as "no cluster": kubeconfig
that will not load or name a context, and a context whose server never
answers. The second is the less obvious one — client-go is lazy, so a
deleted cluster or a downed VPN builds a perfectly healthy client that simply
never returns rows. k10s now checks the server-version handshake up front and
sends that case to the panel instead of to an empty table. A 401/403 is
deliberately not treated as unreachable: that is a live cluster refusing
this user, and k10s connects so you see whatever you are allowed to.
Long client-go errors are trimmed to their first useful clause, so the panel
reads as a reason rather than as advice for a different tool.
docs/cluster-setup.md
is the same guide, longer.
Fixes from #1 — thanks, @clamshell2000
The first outside contribution to k10s, and it fixed two things that made the
UI feel broken after handing the terminal to another program:
- The mouse comes back after
$EDITORexits. Bubble Tea's cell-motion
tracking is re-enabled on return, so rows, navigation and actions stay
clickable — while an intentionalctrl+scopy mode is left alone. Same
treatment for foreground plugin commands. $EDITORis parsed properly. Quotes and backslash escapes are honoured,
socode --waitand editor paths with spaces work — without involving a
shell, and without shell expansion.- Startup no longer reports a connection it does not have when the server
version handshake fails; that error now surfaces instead of being swallowed.
Also
:mouseis now/mouse— toggling capture is k10s, not the cluster.just screenshotandcmd/shotrun against the demo context explicitly,
so every frame in the docs is honestly labelled sample data.
Upgrading
Two behaviour changes worth knowing before you upgrade:
- Plain
k10sno longer falls back to the demo. Scripts or habits that
relied on it always showing something should usek10s demo. :mouseis gone; use/mouseorctrl+s.
/update from inside k10s — checksum-verified, atomic, offers to restart into
the new binary.
curl -fsSL https://p10node.com/k10s/install.sh | sh
go install github.com/p10node/k10s@latest
shasum -a 256 -c checksums.txt --ignore-missingchecksums.txt matches the download to what this release published; it is not
a signature of who published it.
Issues and friction reports: https://github.com/p10node/k10s/issues
k10s v0.1.3
Full Changelog: v0.1.2...v0.1.3
Your k9s plugins run here. k10s reads the core k9s plugins.yaml format:
scope a command to a view, give it a shortcut, and it shows up in the Actions
pane beside the built-in verbs — listed, labelled, and clickable, like
everything else in k10s.
Command plugins
mkdir -p ~/.k10s
curl -fsSL https://raw.githubusercontent.com/p10node/k10s/v0.1.3/examples/plugins.yaml \
-o ~/.k10s/plugins.yaml
k10s # select a pod → ctrl+L is now "Pod logs via kubectl"plugins:
restart-deployment:
shortCut: Shift-R
description: Rollout restart
scopes: [deploy]
command: kubectl
confirm: true
dangerous: true
args: [rollout, restart, deployment/$NAME, -n, $NAMESPACE, --context, $CONTEXT]- Discoverable, not memorised. Applicable plugins are appended to the
Actions pane for the selected object, with their shortcut next to them, and
run on click as well as on key. - Two locations.
~/.k10s/plugins.yaml, then every.yaml/.ymlunder
~/.k10s/plugins/recursively — later files override an earlier plugin of
the same name.K10S_PLUGINSandK10S_PLUGIN_DIRoverride both, and both
followK10S_CONFIGwhen it points elsewhere. k10s never rewrites your
plugin files. - k9s notation for shortcuts (
Ctrl-L,Shift-R,Alt-X,x) and k9s
scopes (po,deploy,svc, … orall). Built-in keys win a collision
unless the plugin saysoverride: true. confirmfor a modal,dangerousfor red,backgroundfor detached.
Foreground commands leave the alternate screen and inherit the real
terminal, sofzfand other interactive tools work.- Variables:
$NAME,$NAMESPACE,$CONTEXT,$CLUSTER,
$RESOURCE_NAME,$FILTER,$KUBECONFIG,$USER,$GROUPS, and
$COL-<COLUMN>for any displayed column ($COL-STATUS). Unknown ones such
as$HOMEare left intact, sosh -ccan expand them itself. - A malformed plugin never costs you the TUI. It is skipped, its filename
and validation error go to the status bar, and k10s starts.
Full guide and field table:
docs/plugins.md
What a plugin is allowed to do
A plugin runs an arbitrary executable on your machine with your kubeconfig, no
sandbox. Read a plugins.yaml before you install it, exactly as you would in
k9s — confirm: true is a courtesy to yourself, not a boundary.
Not yet
pipes,inputs,overwriteOutput— the newer k9s-only fields — are not
implemented.$RESOURCE_GROUP,$RESOURCE_VERSION,$CONTAINER,$PODparse for
compatibility but expand empty; the table model does not carry them yet.
Install / upgrade
/update from inside k10s — checksum-verified, atomic, offers to restart into
the new binary.
go install github.com/p10node/k10s@latestOr a binary below: macOS (Intel / Apple Silicon), Linux (amd64 / arm64),
Windows (amd64).
shasum -a 256 -c checksums.txt --ignore-missingchecksums.txt matches the download to what this release published; it is not
a signature of who published it.
Issues and friction reports: https://github.com/p10node/k10s/issues
k10s v0.1.2
Themes are now yours. Drop a YAML palette into ~/.k10s/themes, restart,
and it sits in the same picker as the seven built-ins — same live preview, no
rebuild, no fork.
Custom themes
mkdir -p ~/.k10s/themes
curl -fsSL https://raw.githubusercontent.com/p10node/k10s/v0.1.2/examples/themes/rose-pine.yaml \
-o ~/.k10s/themes/rose-pine.yaml
k10s # /theme → preview rose-pine → enter- Twelve required fields, all
#RRGGBB. Copy
examples/themes/rose-pine.yaml,
rename, replace the colors. The picker generates its swatch from the palette,
so nothing else needs touching. .yamland.ymlare both loaded at startup, appended after the
built-ins in/themeand in theT/ctrl+tcycle.- Strict parsing, soft failure. A bad color, an unknown field, a name that
collides with a built-in — that one file is skipped and named in the status
bar; every other custom theme still loads and the TUI still starts. A theme
saved inconfig.yamlthat later disappears falls back totokyo-night. - The folder follows your config. Normally
~/.k10s/themes, beside
config.yaml; it moves withK10S_CONFIG, andK10S_THEME_DIRoverrides it
outright.
Full guide: docs/themes.md
Also in this release
- The theme picker scrolls. With an unbounded list it now keeps the
selected row in a viewport and shows3–12/19in the title, instead of
growing past the bottom of your terminal. theme → x (saved)only appears when the write actually succeeded.
Install / upgrade
Already running k10s? /update — checksum-verified, atomic, offers to restart
into the new binary.
go install github.com/p10node/k10s@latestOr take a binary below: macOS (Intel / Apple Silicon), Linux (amd64 / arm64),
Windows (amd64). One static binary, no dependencies.
shasum -a 256 -c checksums.txt --ignore-missingchecksums.txt proves the download matches what this release published — it
says nothing about who published it. Signing is still on the list.
Friction reports remain the most useful thing you can send:
https://github.com/p10node/k10s/issues
k10s v0.1.1
Full Changelog: v0.1.0...v0.1.1