Skip to content
Kaiov0.8.0

Web dashboard

The dashboard is one client of the server, like the TUI and the CLI. Everything below acts through the same API, so a change made here shows up in the other two without a refresh.

The Kaio dashboard: a Compose stack is deployed from the browser and joins the list, a stack is expanded over its containers, a metric chart is read point by point, the stack menu is opened on its actions and its logs stream in, a shell is opened on one of its containers, the list is filtered on db and sorted by CPU, the page scrolls to the system events, then the Manage menu opens the cluster nodes and + Add node shows the join command to copy.
A stack deployed from the browser, a stack expanded over its containers, a metric read point by point, the stack logs, a shell in a container, the list filtered and sorted, the event log, then the cluster nodes and the command that adds one.
Control What it does
<who> · <level> Beside the logo, who the server takes you for and your level, from GET /api/whoami: the user your proxy named, or local, network or cluster when there is none. Hover it for the groups and the address you came from
>_ ctrl+k Opens the command palette. Ctrl+K, or ⌘K on a Mac, does the same from anywhere on the page
+ STACK Opens the deploy dialog: a name, the Compose file in the editor, and its variables
@ <server> ▼ Which server the whole page drives. Absent until a node has joined
MANAGE ▼ The management panels: Containers, Images, Networks, Volumes, Nodes and Audit for an admin, then Cluster board and System, each set apart at the bottom

Every button that needs a level you do not have is greyed out, with the level it needs in its tooltip: at read, + STACK, the stack menu’s actions and every prune are, and at write, every deletion and the shell. The server refuses those calls anyway, so this only saves a click and a 403. On a node, the badge shows the level the node grants you through the control plane.

The top bar for a user at the read level: alice · read beside the logo, a greyed + STACK button, and an open stack menu where only Versions and Logs are enabled.
Signed in as alice at read: what the level does not reach is greyed out.

@ control plane is the default. Picking a node re-points every panel of the page at it, through the control plane’s gateway, so the tables, the logs and the terminal all describe that machine. The button takes the colour of the node’s status dot, so a node that is not online shows at a glance, and Manage nodes… at the bottom of the list opens the same panel as Manage → Nodes.

The address bar follows, at /node/<name>, so the view of one server is a link you can share or bookmark. The selection also survives a reload on its own: a bare / reopens the last server you drove, and its path is restored in the address bar.

Ctrl+K opens a single box that reaches every stack, container, panel and server by name. Type a few letters of each word, in any order: blog tim finds the timeline of blog, shell ghost a shell in blog-ghost-1, copy blog prod-02 the copy dialog with prod-02 already picked. ↑ and ↓ move, Enter runs, Escape closes.

Group Commands
stack Timeline, versions, edit, restart, check updates, scan, update when one is pending, apply when variables are pending, and Update all when several stacks wait for one
logs The merged logs of a stack, or those of one container
shell A shell in a running container
copy The copy dialog for a stack, with the destination filled in for every node that is online
view The management panels and the cluster board
node Drive another server

The palette only lists what your level reaches: at read, the commands that change something are absent rather than greyed out, and the shell needs admin.

The command palette over the dashboard with blog typed in: blog's logs, update with a pending star, restart, check updates, edit, the logs of its three containers, versions, timeline and scan for CVEs.
Ctrl+K, then blog: everything that can be done to the stack and its containers.
The command palette opened with Ctrl+K, blog tim typed and Enter pressed, the timeline of blog opening, version 3 clicked and its diff against version 2 shown beside a Roll back to v3 button, then the palette again with blog edit, the compose file edited and Review changes showing the diff before the deploy.
From the palette to the timeline, then to an edit reviewed before it is deployed.

Six counters, then three charts over a window of 1, 6, 12 or 24 hours, picked above the charts. 12 hours is the default, and the browser remembers the choice.

Tile Counts
Running Running containers over the total, yellow as soon as one is not running
Exited, Paused Containers in that state
Unhealthy Containers whose healthcheck fails
Updates Stacks with a newer image waiting on the registry
Vulns CVEs summed over in-use images, split into critical, high, medium and low underneath

A counter at zero is drawn muted, so colour only shows up where something needs a look.

The charts are Global CPU, Global RAM and Global network, received (RX) and sent (TX). The figure above each chart is the live value, the same sum as the stack list; hovering reads one point of the history instead. CPU follows Docker’s scale, where 100% is one core, so the CPU chart adds the share of the whole host when the server knows its core count. The top left corner of a chart gives its scale. When a few spikes would flatten the rest, the network chart caps its scale near the 95th percentile and marks it ≈ … ↑.

One row per stack, with its containers underneath once expanded.

Column Holds
NAME [+] / [-], the stack name, its vulnerability badge, HOST ACCESS when its deployed file hands the host to a service (hover for which), ENV PENDING when variables are saved but not applied, EXTERNAL when it was started outside Kaio, and its container count
STATUS The aggregated state, a dot followed by its name
CPU, RAM, NET Summed across the stack’s containers. Idle traffic reads –
ACTIONS The stack menu

Each state has its colour and its shape, so the dots read without telling colours apart:

Dot State
Solid green running: every container runs
Half-filled yellow partial: some run, some do not
Solid teal paused
Solid orange unhealthy: a healthcheck fails
Grey ring exited, stopped, or dead in pale red
Dashed ring empty: the stack has no containers

Container rows, the Containers panel and the Nodes panel use the same dots, each followed by its name.

A stack with no containers is listed all the same, with a dashed ring and 0 containers. A copy that was written but not brought up would otherwise be invisible here while the CLI and the TUI both listed it.

Clicking anywhere on the row expands it, and [+] does the same from the keyboard. The containers show up indented under their stack. Containers that belong to no Compose project are grouped under Standalone containers.

The field above the list keeps the stacks, containers and images whose name contains what you type. A stack kept for one of its containers unfolds on its own and reads, for instance, 1 of 4 containers.

The stack list filtered on db and sorted by CPU: paperless and blog unfold on their own to show paperless-db-1 and blog-mariadb-1, each stack reading 1 of its containers, with the CPU header marked as the descending sort.
Filtered on db, sorted by CPU: each stack unfolds on the container that matched.

The Sort menu, or a click on the NAME, CPU, RAM or NET header, orders the stacks and the containers inside them; a second click reverses the order. By default the stacks that need a look come first: not every container running, an image update waiting, or variables pending. The rest follow by name. The browser remembers the order.

On a screen narrower than a tablet, the table turns into one card per stack.

The button reads ⋮, and turns green and pulses to ★ when an image update is waiting.

Entry Shown when Documented in
▶ Start Something in the stack is stopped or paused Managing stacks
⏸ Pause Something in the stack is running Managing stacks
⇄ Recreate The stack has containers. Asks first, then recreates them all from the compose file Managing stacks
⟲ Restart Always Managing stacks
✎ Edit Always. Opens the compose file and the variables together Environment variables
✓ Apply changes Variables are saved but not deployed Environment variables
≡ Versions Always. Compare a version with the current one, then roll back or delete it Versions & rollback
⋯ Timeline Always. Versions, events, container changes and scans on one time axis Versions & rollback
? Check Updates Always. Asks the registry, pulls nothing Image updates
↻ Update Always. Pulls and recreates Image updates
⧉ Copy to... Always. Pick a destination, a name, and whether the volume data comes along. The ports and the variables are editable in place, and a port already taken on the destination blocks the copy until it moves The API route
▤ Logs Always. Every container of the stack, merged by service Logs & terminal
⚠ Scan Always. Trivy over every image of the stack Vulnerability scanning
✕ Delete Always. Removes the containers and the stack directory Managing stacks

A menu that would open past the bottom of the window flips above its button and caps its own height, so no entry ends up unreachable.

Each container row shows its image as it is named, and its published ports. A port published on every address is a link to it, over http, at the address the page was opened with, or at the node’s address when you drive a node. A port bound to one address links to that address, and one bound to the loopback is not a link, since only the server itself can reach it. |> starts or resumes the container, || pauses it, and its own ⋮ menu holds the rest:

Entry Opens
[L] Logs That container’s stream alone
[S] Shell An interactive sh inside it
Panel What it offers
Containers Every container, selectable. Start, Stop and Delete Selected act in bulk; each row also carries Logs and Shell, the latter greyed out when the container has nothing to attach to
Images Every image, the stacks that use it, its vulnerability badges, Scan All, Prune, and a per-image report
Networks List with the stacks that use each one, and delete
Volumes List with the stacks that use each one, and delete
Cluster board Every server side by side, one card per stack. See Cluster board
Nodes The cluster registry: NAME, STATUS, URL, VERSION, SHA, LAST SEEN, the control plane on the first row, plus + Add node (a modal with the join command to copy), Check All, and a per-node probe or removal
Audit The audit log, newest first: when, who, from where, what on which target, and whether it went through, with a filter. Only listed for an admin
System Prune Containers (stopped ones), Prune Images (every unused one, tagged or not), Prune Networks, Prune Volumes (every unused one, named or not), each reporting what it reclaimed

The STACKS column of the Images, Networks and Volumes panels names the stacks whose containers use the row, stopped ones included, and shows - when none does, so a delete shows which stack it would break before you make it.

The Image Management panel: every image with its tag, ID, size, creation date, the stacks that use it, its vulnerability badges and its Scan and Delete buttons. paperless-ngx, postgres and redis are used by paperless, ghost, mariadb and caddy by blog.
Manage → Images: each image with the stacks that use it.
The Audit Log panel: deploys, a rollback, a prune refused to a user at write, and a stack deleted through the control plane, each with its time, user, address, action, target and outcome.
Manage → Audit: who did what, refusals included.

Manage → Nodes lists every server that joined this one, the control plane first, with its status, address, version and when it last answered. Check All probes them again, and each row can be probed or dropped on its own.

Dot Status
Solid green online: the node answered its health check
Orange ring offline: unreachable, an error, or another Kaio at that address, with the reason underneath
Solid yellow unauthorized: something in front of the node asks for a credential
Dashed ring unknown: joined, but not probed yet
The Cluster Nodes panel: the control plane on the first row, then three servers with their status, URL, reported version, commit and last contact. One is offline and shows the reason underneath.
Manage → Nodes: the control plane first, then every server that joined it.

+ Add node mints a join token and shows the command to run on the new server, with a Copy button and the date the token runs out. A token lets one server in, once, within 24 hours. See Multiple servers for what joining does.

The Add a node modal over the Cluster Nodes panel: the kaio-cli join command with its token, a Copy button, and the date the token runs out.
+ Add node: the command to run on the new server.

Manage → Cluster board, or the address /cluster, puts every server side by side, one column each, and every stack on it as a card coloured by what it needs. Drag a card onto another server to copy the stack there, click it for its timeline, and filter the board down to what needs attention. It has a page of its own: Cluster board.

The cluster board over ten servers: the server bar with the control plane, backup-01 and lab-01 alone, the edge and prod groups, each chip with its stack count and alerts; then the control plane with blog, paperless, monitoring and standalone, edge-us and prod-02 unfolded for their pending updates, and the calm servers folded into narrow bands.
Manage → Cluster board: every server, every stack, and what needs attention.

The panel under the stack list is the event history, newest first, with the level of each entry. It is fed by the same SSE stream as the rest of the page, so an event appears as it happens. Retention is set by KAIO_EVENTS_RETENTION_DAYS; see Data retention.

Every dialog closes on Escape, on a click outside it, or on Close [X]. Edit shows a diff of the deploy before it applies it; see Reviewing a deploy. Monaco and the terminal are loaded only when a dialog needs them, which is why the first Edit or Shell of a session takes a moment longer.

The interface follows the operating system’s prefers-reduced-motion setting: with it on, the pulsing update indicator and the status dots stop animating. Only live states pulse in the first place: running, partial and online.

  • TUI shortcuts, the same actions as single keys
  • CLI, the same actions as commands
  • HTTP API, what all three of them call

Kaio, built by Régis Gaidot