Console and CLI
The console is the platform’s UI and API, served as one small Go binary that bundles Helm and kubectl. It runs behind Authelia and its own login, so it stays usable when the portal or directory is unavailable (breakglass localadmin).
The CLI is the same operations from a terminal. Inside the provisioned install it lives in the console pod:
kubectl -n umkim-thin exec deploy/umkim-thin-console -- /usr/local/bin/umkim-thin <command>Layout
Section titled “Layout”The console is split into tabs so unrelated operations are not stacked on one page:
| Tab | What it does |
|---|---|
| Overview | The getting-started checklist and the live Applications view: health, links, versions, and setup actions for installed apps |
| Catalog | Installable apps with hostname, exposure, certificate and storage pickers, followed by the Installed apps table (status, uninstall, purge) |
| Access | Invitations and WireGuard clients — the two person/device onboarding surfaces |
| Storage | Local disks/RAID/NFS exports on a single node, and external NFS StorageClasses on either topology |
| Certificates | Manual TLS certificates and the default wildcard |
| Backups | The schedule, the archives, “Back up now”, download, restore and delete |
The header carries only the platform links (portal, home, console), the running version and the update chip. Messages and job progress appear in a fixed status panel, so a long install does not disappear when the page is scrolled.
Overview → Applications polls /api/status every two minutes (the server caches for 45 seconds). A release in a pending-* Helm state is shown as configuring, not as down — that is what a normal upgrade or bootstrap looks like. ready means Helm is deployed and every Deployment/StatefulSet/Job in the namespace is ready or complete. It is cluster readiness, not an HTTP probe.
Applications compares each installed chart with the catalog in the running console image and shows Upgrade to X when the catalogued version is newer. Versions… lists the full path; Install options shows the Helm values the release was installed with (secrets redacted). Both tables show the deployed application’s licence, the chart licence, and links to the upstream website and source.
CLI reference
Section titled “CLI reference”| Command | Purpose |
|---|---|
serve |
Run the API and the console |
catalog list / catalog show <name> |
Inspect the catalog and one entry, with its verification |
app list |
Installed catalog releases |
app install <name> |
Install; see the flags below |
app plan <name> |
Render the chart’s PVCs and containers |
app storage <name> |
Render the chart’s PVCs, classes and access modes |
app validate <name> |
Preflight the install options |
app versions <name> |
Installed and catalogued chart/app versions |
app upgrade <name> --to <version> --yes |
Atomic upgrade after the backup confirmation |
app options <name> |
The Helm values a release was installed with |
app status <name> |
Helm state, routes, and per-workload readiness |
app reconcile <name> |
Republish routes without running Helm |
app setup <name> |
Run the media stack’s bootstrap |
app integrate mealie |
Connect SparkyFitness to Mealie |
app uninstall <name> [--purge] |
Remove the release; --purge deletes the namespace, PVCs and bind Secret |
invite create / list / revoke / groups / redeem |
Invitations and directory groups |
wg client create <name> / list / delete <name> |
Manage WireGuard peers |
storage disks / plan / apply / list / remove |
Single-node disks, RAID and NFS exports |
backup list / create / verify / restore / prune |
Console state plus app inventory |
cert add / list / default / remove |
Manual TLS certificates |
servarr settings / indexers / profiles |
The media stack’s settings |
version |
Running version and the latest release |
config |
The effective configuration |
status |
Every installed app, ready state and routes |
Install flags
Section titled “Install flags”app install, app plan, app storage and app validate share one flag set, so the CLI cannot drift from the console’s form:
| Flag | Meaning |
|---|---|
--host <host> |
Route host; multi-route apps use key=host (repeatable) |
--exposure <mode> |
public / authelia / vpn; multi-route key=value |
--certificate <mode> |
acme / default / secret:<name>; multi-route key=value |
--config-class <class> |
ReadWriteOnce class (default: the site’s) |
--media-class <class> |
ReadWriteMany class (default: the site’s) |
--media-access-mode <mode> |
ReadWriteOnce / ReadWriteMany |
--namespace <ns> |
Namespace for a new install |
--version <ver> |
Catalogued chart version (default: stable) |
--pvc name=class:size |
Override one PVC (repeatable) |
--resource key=cpu=…,memory=… |
Override container resources (repeatable) |
--language, --ocr-language, --media-language, --extra-language |
App-specific language choices |
--quality-cutoff |
Media stack default quality (for example 720p) |
--allow-local |
Also allow the site LAN on VPN routes |
Examples:
# pick a non-default exposure for one routeumkim-thin app install nextcloud --host nextcloud.example.com --exposure authelia
# move one PVC and cap the app's memory before installingumkim-thin app install immich --pvc data=fast-ssd:100Gi --resource server=memory=2Gi
# install a private app (VPN-only route)umkim-thin app install gitea --exposure vpn --allow-local
# create a tunnel clientumkim-thin wg client create laptopThe console exposes the same operations over JSON. Mutating endpoints are same-origin only and are not CORS-enabled.
| Method | Path | Purpose |
|---|---|---|
GET |
/api/catalog, /api/catalog/{name} |
Catalog entries and one entry |
GET |
/api/config |
Zone, links, storage classes, trusted-access flags |
GET |
/api/version |
Running version and the update check |
GET |
/api/apps |
Installed catalog releases |
POST |
/api/apps |
Install as an async job |
GET |
/api/apps/{name} |
One app’s health, versions and routes |
GET |
/api/apps/{name}/storage, /plan, /release |
PVCs, rendered plan, Helm metadata |
POST |
/api/apps/{name}/validate |
Preflight install options |
GET |
/api/apps/{name}/versions |
Installed and available versions |
POST |
/api/apps/{name}/upgrade |
{version, confirmBackup}; atomic upgrade job |
POST |
/api/apps/{name}/setup |
Media stack bootstrap |
POST |
/api/apps/{name}/integrations/mealie |
Connect SparkyFitness to Mealie |
GET/POST/DELETE |
/api/apps/{name}/indexers, /profiles |
Prowlarr indexers and quality profiles |
DELETE |
/api/apps/{name}?purge= |
Uninstall |
GET |
/api/status |
Applications aggregate (45 s cache) |
GET/POST |
/api/invites, /api/invites/redeem |
Invitations; redemption is public |
DELETE |
/api/invites/{token} |
Revoke |
GET |
/api/directory/groups |
Groups an invite can target |
GET/POST/DELETE |
/api/wg/clients |
WireGuard peers |
GET |
/api/storage, /api/storage/disks |
Host exports and disks |
POST |
/api/storage/plan, /apply, /verify |
Single-node storage |
DELETE |
/api/storage/{name} |
Remove an export or external NFS class |
GET/POST |
/api/certificates, /api/certificates/{name}/default |
Manual certificates |
GET/POST |
/api/backups |
List and create |
POST |
/api/backups/{name}/restore |
Restore an archive |
GET |
/api/backups/{name}/download |
Download an archive |
GET |
/api/jobs, /api/jobs/{id} |
Background job status and log |
GET |
/api/home |
The household launcher’s read-only feed |
GET |
/healthz, /readyz, /metrics |
Liveness, readiness, Prometheus |
Long-running operations (install, upgrade, setup, storage apply, restore) are jobs; the console shows their log on failure and offers a retry.
Configuration
Section titled “Configuration”The provisioned install writes /etc/umkim-thin/config.env (host mode) or a umkim-thin-config ConfigMap (cluster mode). The CLI and API read the same keys. Console-specific settings include:
UMKIM_THIN_CONSOLE_IMAGE=localhost/umkim-thin:devUMKIM_THIN_CONSOLE_LOCAL_USER=localadminUMKIM_THIN_BOOTSTRAP_IMAGE=docker.io/umkim-thin/servarr-bootstrapUMKIM_THIN_BUILDER_IMAGE=gcr.io/kaniko-project/executor:v1.23.2-debug@sha256:...UMKIM_THIN_BUILD_NAMESPACE=umkim-thin-buildUMKIM_THIN_BOOTSTRAP_NODE=<first server's hostname>UMKIM_THIN_STORAGE_ACCESS_MODES=class=RWX+RWO,... # optional overrideUMKIM_THIN_BACKUP_DIR=/data/backupsUMKIM_THIN_BACKUP_KEEP=7UMKIM_THIN_BACKUP_INTERVAL=24hUMKIM_THIN_BACKUP_SNAPSHOTS=trueUMKIM_THIN_UPDATE_CHECK=trueUpdate check
Section titled “Update check”The catalog and the version are baked into the console image, so a running console cannot know on its own that a newer release exists. GET /api/version answers that: the running version, the newest published release, whether it is newer, and the release page. When it is, the header shows an update X.Y.Z chip linking to the release notes.
The check is read-only — it never downloads or installs anything; the upgrade stays sudo ./install.sh … --reuse-k3s. It runs in the background, is cached for six hours (including across pod restarts), and a failure simply leaves the chip absent. A locally built image reports dev and the check stays off. UMKIM_THIN_UPDATE_CHECK=false disables it for air-gapped installs.
Media stack setup
Section titled “Media stack setup”The Servarr stack has one chart-provided post-install job. Applications → Setup (or POST /api/apps/servarr/setup):
- ensures the Secret, generating app passwords once and copying chart API keys;
- restarts qBittorrent so its WebUI password matches the Secret;
- probes the pinned node for the bootstrap image (
imagePullPolicy: Never); - if missing, builds the fixed context in
umkim-thin-buildand imports the archive into that node’s containerd; - upgrades the release with
bootstrap.enabled=trueand a node selector for the pinned node; - waits for the job and reports its log on failure.
A failed build or bootstrap never fails the install: the app stays installed, the Applications view shows failed, and setup can be retried. A successful run records the image tag, so running setup again with the same image is a no-op.
Indexers stay a user choice. Add them in Prowlarr, or use the console’s Indexers dialog, which searches Prowlarr’s own indexer definitions and writes the credentials to that app’s Prowlarr — the console does not store them. Then Settings → Apps → Sync App Indexers. The bootstrap creates the FlareSolverr proxy and the qBittorrent download client, not an indexer.
Security
Section titled “Security”- Both Authelia and the console’s own login guard the console. The session cookie is
HttpOnly,Secure,SameSite=Lax. - Values enter the cluster through
kubectl apply -f -on stdin, never as command arguments. - Secrets are write-only through the API. Audit lines carry the actor and action, never values.
- The builder (
umkim-thin-build) is the only privileged workload: its own namespace, no ServiceAccount token, nohostPID/hostNetwork, a digest-pinned kaniko image, and only the read-only k3s paths plus the containerd socket. - The single-node storage agent is a root host systemd service, not a pod, and listens on a host-only Unix socket. It exposes a fixed disk/RAID/NFS operation set; it is the only component that formats disks.
- Known residual: the console’s ServiceAccount can create pods cluster-wide, so it is already node-root-equivalent. See
docs/security-plan.md.
For the full behavior and API semantics, see docs/console.md in the source repository.