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.
| Key | Action |
|---|---|
↑/k, ↓/j, pgup/pgdn | move selection / scroll |
g, G | top / bottom |
enter | drill in (atoll → capsules → logs) |
esc | back |
l | logs (selected capsule) |
f | toggle follow (logs view) |
d | describe (pretty JSON) |
s (capsules view) | shell into the selected capsule (corail exec -it <id> sh) |
ctrl-d | delete atoll (confirmation dialog) |
R | restart atoll (confirmation dialog) |
/ | filter atolls by name |
s / S (atolls view) | cycle sort column / reverse direction |
: | command bar (:atolls, :q) |
? | help overlay |
r | refresh now |
q / ctrl-c | quit |