sonar

A terminal view of a running coraild, in the spirit of k9s.

Run sonar while coraild is up. It talks to the same unix socket recify uses, refreshes every second, and shows a banner and retries if the daemon goes away.

The atolls view

Enter drills into an atoll's capsules, l shows a capsule's logs, d describes it, and Esc goes back.

 sonar · atolls (3) · /var/lib/coraild
────────────────────────────────────────────────────────────────────
 NAME        READY     STATUS      RESTARTS   AGE
❯ web        2/2       Running     3          12m
  batch      0/1       Failed      1          2h
  cache      1/1       Running     0          4d
────────────────────────────────────────────────────────────────────
 ↑↓/jk · enter capsules · l logs · d describe · / filter · s sort · q

Keys

This table is read from docs/SONAR.md when the site is built.

KeyAction
↑/k, ↓/j, pgup/pgdnmove selection / scroll
g, Gtop / bottom
enterdrill in (atoll → capsules → logs)
escback
llogs (selected capsule)
ftoggle follow (logs view)
ddescribe (pretty JSON)
s (capsules view)shell into the selected capsule (corail exec -it <id> sh)
ctrl-ddelete atoll (confirmation dialog)
Rrestart atoll (confirmation dialog)
/filter atolls by name
s / S (atolls view)cycle sort column / reverse direction
:command bar (:atolls, :q)
?help overlay
rrefresh now
q / ctrl-cquit