kubeside

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2026 License: Apache-2.0

README

kubeside

Your apps, across every cluster, without thinking in ReplicaSets.

A Kubernetes client scoped to the developer who ships the app, not the operator who runs the cluster. One binary, no database, no agent, no setup step.

Documentation · Install · Why it exists

kubeside walkthrough

The problem

Every Kubernetes UI mirrors the API tree: pick a resource kind, browse instances, pick a cluster from a switcher. That is the right shape for the person who runs the cluster. It is the wrong shape for the person who ships an app.

A developer thinks in services, not ReplicaSets. Their unit of work is one app across qa, stg, and prod, and their questions are historical more often than live: what changed, who changed it, what did the container actually get. Answering any of those today means three terminals, a tab per replica, and a guess.

So the dashboards end up as launchers for kubectl, and four questions stay unanswered. Not because they are hard, but because nobody built the screen for them.

kubeside answers exactly those four, and deliberately refuses to answer anything else:

  1. Is my app up?
  2. What changed, and when?
  3. What do the logs say, across every pod at once?
  4. What configuration did the container actually receive?

Across qa, stg, and prod, side by side.

Install

brew install dynaum/tap/kubeside
kubeside

macOS, Linux, and Windows binaries are on the releases page. One file, no runtime, no installer, no agent in your cluster. The UI is embedded in the binary.

No setup step either. kubeside reads the kubeconfig already on your machine, loads every context, and runs exec credential plugins natively. If kubectl works, kubeside works.

Until the first release is tagged, build it:

npm --prefix web ci && npm --prefix web run build   # the UI is embedded, so it goes first
go build ./cmd/kubeside && ./kubeside

Full instructions: the install guide.

Is my app up

The app list

Every app you own, in every cluster your kubeconfig reaches, grouped as apps rather than as ReplicaSets. Health is derived and the row says what derived it: pod search-indexer-75f4d is in ImagePullBackOff beats a red dot. The GROUPED BY column names the rule that produced each row, so a list that looks wrong tells you why it looks wrong.

A cluster that cannot be reached says so in its own row. It never contributes silence to somebody else's list.

What changed, and when

Timeline and horizons

The timeline is reconstructed on demand from history Kubernetes already keeps: ReplicaSets, ControllerRevisions, Helm release secrets, pod termination states, and events still inside the apiserver's TTL. Changes carry an actor read from managedFields, so the kubectl nobody admits to shows up next to the rollout it caused.

Where its knowledge ends, it draws the horizon:

replicaset · older rollouts pruned by revisionHistoryLimit; revision 11 is the oldest the cluster still holds
event      · older events have expired from the apiserver, which keeps roughly an hour by default
session    · kubeside started watching here; anything before this comes from the cluster's own history

A source your role cannot read becomes a labelled gap. An empty axis is never rendered as a quiet period.

What the container actually received

Resolved configuration

Environment resolved through env, envFrom, configMapKeyRef, secretKeyRef, the downward API, and mounted volumes, each key attributed to its source and compared against the previous revision.

Secret values are masked because kubeside never fetched them. Revealing one asks your cluster whether you may get that specific Secret, and if the answer is no, the control is disabled and names the verb rather than disappearing.

Is the fix in prod yet

The promotion matrix

One row per app, one column per environment. A version prod has that staging does not floats to the top, because a hotfix nobody back-merged is the worst thing on this screen. Same tag with a different digest is called out. An environment you cannot read says not readable, which is not the same as absent.

What it promises

Nothing is written to disk. No database, no cache file, no history directory. Stop the server and nothing is left behind. This is the product's central bet: everyone assumes history needs storage, so nobody assembles the history Kubernetes already keeps.

Absence of knowledge is not absence of a thing. A metric it could not take is reported as unavailable, never as zero. A kind it could not list is named. A window it cannot see into is hatched, not blank.

A control is never hidden for lack of permission. It is disabled and names the verb the cluster refused. The security boundary is your cluster's RBAC, resolved with SelfSubjectAccessReview; the guardrails on top are ergonomics, and both answers travel together.

Credentials stay on your machine. The kubeconfig is read-only input, never edited and never copied. The browser talks to 127.0.0.1 and never to an apiserver.

What it will not do

No node view. No PersistentVolume browsing. No RBAC editor. No CRD browser. No Helm chart management. No cost reporting. No topology graph. No YAML editor beyond a read-only viewer. No plugin system.

Each is a legitimate need belonging to somebody else's tool. Shipping any of them turns this into a general-purpose dashboard, which is the thing there is already enough of.

Status

Released. The app list, whole-workload logs, the reconstructed timeline, resolved configuration, cross-environment diff, the promotion matrix, port-forward, the command palette, prod guardrails, and exec are built, tested, and driven against real clusters.

Before v1.0.0 a security review went over the write paths, the local server, and the two claims this README makes loudest. Everything it found is fixed: the port-forward path now asks the cluster and the guard before it dials, the permission cache can no longer answer a question it was not asked, the session token is handed over once instead of living in your browser history, and the secret fingerprint is keyed so it cannot confirm a guessed value.

Documentation

The full site is at kubeside.dynaum.com.

Guide — install and run · first run · the app list · logs · the timeline · resolved configuration · promotion and drift · port-forward, exec, guardrails · keyboard · the config file · permissions · when things are missing

Design notes — the problem · personas · product spec · multi-cluster · architecture · roadmap

Contributing

The design documents are the specification, and they were reviewed before any code existed. If a change contradicts one, the document gets updated in the same commit rather than quietly diverging.

Tests come before implementation. go test ./..., npm --prefix web run test, and the Playwright screenshot gate all run in CI, on Linux, macOS, and Windows.

License

Apache-2.0.

Directories

Path Synopsis
cmd
kubeside command
Command kubeside is a Kubernetes client scoped to the application developer.
Command kubeside is a Kubernetes client scoped to the application developer.
internal
api
Package api serves the local UI and the read API behind it.
Package api serves the local UI and the read API behind it.
apps
Package apps turns a set of Kubernetes resources into applications.
Package apps turns a set of Kubernetes resources into applications.
clusters
Package clusters manages one connection per kubeconfig context.
Package clusters manages one connection per kubeconfig context.
config
Package config loads the optional kubeside config file.
Package config loads the optional kubeside config file.
environments
Package environments resolves the environment axis from namespace names.
Package environments resolves the environment axis from namespace names.
exec
Package exec runs an interactive shell in a container, proxied through this process.
Package exec runs an interactive shell in a container, proxied through this process.
forward
Package forward manages port-forwards into the cluster.
Package forward manages port-forwards into the cluster.
guard
Package guard is the ceremony between a developer and a destructive action.
Package guard is the ceremony between a developer and a destructive action.
kubeconfig
Package kubeconfig reads the developer's existing kubeconfig.
Package kubeconfig reads the developer's existing kubeconfig.
logs
Package logs merges the output of every replica of one workload.
Package logs merges the output of every replica of one workload.
metrics
Package metrics reads CPU and memory usage from whatever source a cluster actually has.
Package metrics reads CPU and memory usage from whatever source a cluster actually has.
promotion
Package promotion answers "is the fix in prod yet".
Package promotion answers "is the fix in prod yet".
rbac
Package rbac answers what this reader may do, per context.
Package rbac answers what this reader may do, per context.
resolved
Package resolved answers what configuration a container actually received.
Package resolved answers what configuration a container actually received.
session
Package session holds what kubeside observed while it was running.
Package session holds what kubeside observed while it was running.
timeline
Package timeline reconstructs an application's history from the cluster.
Package timeline reconstructs an application's history from the cluster.
version
Package version holds build metadata stamped in at link time.
Package version holds build metadata stamped in at link time.
Package web embeds the built frontend so kubeside ships as one binary.
Package web embeds the built frontend so kubeside ships as one binary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL