Repository navigation
v2.1.0 — Live cluster
v2.1.0 — Live cluster
This release flips the dashboard from a 10-second polling loop to a client-go
informer watch, and adds a live events panel so you see what the cluster is
doing in real time.
Highlights
- Informer cache replaces polling for Pods, Deployments, Services,
ConfigMaps, Ingresses, CronJobs, Jobs, Namespaces. Lists are served from the
local lister once the initial sync completes; the old list endpoints fall
back to a live API call during warmup or when no cluster is configured, so
the UI never shows an empty page because the cache is cold. - Live Events panel (collapsible, right side of the Dashboard) streams
added/updated/deletedframes plus nativecorev1.Eventobjects
with theirReason/Message/Type. Filter: All / K8s events /
Warnings. Pause without dropping the socket; 200-event ring buffer; remembers
open/closed across refreshes. - New endpoint
GET /ws/events?namespace=<ns>— authenticated via the
usual Bearer token (query-stringtoken=also accepted for browser WS).
Internals
kube.Managernow owns theSharedInformerFactoryand anEventBus;
credential swaps tear down the previous factory before starting a new one, so
deactivating a cluster shuts the informer goroutines cleanly.- The event bus drops frames on a slow consumer rather than stalling the
informer workers. - Initial cache sync is bounded to 20s so a slow cluster can't delay readiness
forever; after the window the listers go into service even if a resource
type is still catching up (serves what it has).
How to upgrade
docker pull ghcr.io/vurulkan/kubernetes-openconsole:2.1.0
docker rm -f openconsole && \
docker run -d --name openconsole -p 8080:8080 -e DATA_PATH=/tmp/app.db \
ghcr.io/vurulkan/kubernetes-openconsole:2.1.0
No schema change. First page load after upgrade may take a few seconds while
the informer cache warms up for each namespace you have access to; subsequent
loads are instant.
Rollback
docker pull ghcr.io/vurulkan/kubernetes-openconsole:2.0.0
docker rm -f openconsole && docker run -d --name openconsole -p 8080:8080 \
-e DATA_PATH=/tmp/app.db ghcr.io/vurulkan/kubernetes-openconsole:2.0.0
No data migration — the DB is unchanged between 2.0.0 and 2.1.0.