Features
Everything nkt can do, by UI section — one line, one feature. How to install it — in the guide; what changed from version to version — in WHATSNEW.md.
General
- One static binary: web UI, API, terminal UI and hub.
- Three modes:
local(a real host),fixtures(a host snapshot for development, works on Windows too),hub. - Russian and English UI: the language follows the browser, switches at the bottom of the menu, and every server message arrives in the UI language.
- Light, dark and system theme; the sidebar collapses to icons (by button or automatically on narrow screens), the state is remembered.
- Narrow window and phone: whatever does not fit in the button row above a list (hosts, hosts map, fail2ban, "Monitoring", Traffic Fly) goes into the "☰" menu, the main controls stay outside, a dot on "☰" means a hidden filter is on; card header buttons move under the title; a narrow pipelines table keeps "Deploy" and "⋯".
- Privacy mode (“hide sensitive data”) for screen sharing and screenshots: addresses, host names, users, keys and domains are blurred across all sections — from hosts and logs to deployments, nkt-edge and the Traffic Fly map, diffs and error messages.
- Accounts with
adminandviewerroles, argon2id passwords, sessions, brute-force protection, login with a host system account (PAM). - Security policy (
.github/SECURITY.md): report vulnerabilities privately via GitHub "Report a vulnerability"; acknowledgement within 7 days, assessment within 30. - Read-only mode (
NKT_ALLOW_MUTATIONS=false) that disables every change. - Audit log: every change is recorded with the user, the outcome and the command output.
- Runs under systemd in a sandbox (
ProtectSystem=strict) with a controlled escape for commands that need system access. - "Allow writing" button opens a directory to the unit (a
ReadWritePathsdrop-in) and restarts the service when a config lives outside the allowed paths. - Sandbox diagnostics: why the terminal or the sandbox escape does not work, with commands to fix it.
- Background jobs with a log, steps, cancellation and resumption after a service restart; the "Jobs" section.
- Long operations — installing packages and engines, the system upgrade, creating LXD instances and Podman containers, stopping and restarting LXD instances, their snapshots and restores, saving Docker images, downloading images, backups, changing guest passwords, removing Kubernetes from a node, snap/flatpak, extracting an archive in the file browser, generating locales, deleting a user with the home directory, issuing and renewing a certbot certificate, scanning for vulnerabilities; on the hub — updating and rolling back the hub itself, "Update all", starting and stopping nkt on all hosts, applying a manifest to several clusters, deleting a host with cleanup, updating the vulnerability and ClamAV databases, collecting monitoring, scanning a host for vulnerabilities; long host calls from hub jobs — as host jobs with their log in the hub job; uploading files from the computer (image archives, own machine images — the job exists before the first byte, the host writes the percentage) — run as jobs: the log window opens right away with percentages, closing it stops nothing; on the host and through the hub.
- Background operations indicator in the bottom right corner of any section: what is running now — on a host its jobs, on the hub the jobs of the hub and of every online host — with the step and percentage; a click opens the log.
- UI windows resize with a corner and maximize to the full screen; the size of log, job, editor, terminal and machine screen windows is remembered.
- Scheduler for background checks and metric collection (
NKT_SCHEDULER_ENABLED). - Host self-update through the hub or with a manually uploaded binary.
- Own TLS for the web UI (
NKT_TLS_*) with an automatic self-signed certificate. - JSON API to everything visible in the UI, with the same authentication.
State
Overview
- Host summary: OS, kernel, uptime, load, memory, disks, network.
- What changed since the last visit: new and gone problems, services, containers, certificates.
- Finding counters by severity linking into "Findings".
- Rescan button.
- List of known helper packages (htop, ncdu, jq…) with an "installed" mark and one-click install.
Findings
- Analysis of nginx, haproxy, caddy, docker compose, firewall and certificate configs, cross-checked against the host's real state.
- Every finding: severity, explanation, file and line, a concrete fix, documentation links.
- Action buttons on a finding: "Open at line N" (the line highlighted in "Configs"), "Go to certificate", "Go to service", "Go to container", "Logs" and "Restart"/"Start" for a container, "Firewall", "Port N in Firewall" and "On the resource map" for an undeclared listener (the port's rules and socket highlighted, the map node opened), "Go to malware" with the card highlighted, "Open in files"; the same buttons in "What's broken" on the overview, and a resource map node links to its service, config or container.
- Network and firewall rules: port conflicts, declared-but-not-listening, listening-but-not-declared, no default deny, public port blocked by the firewall, Docker bypassing the firewall, stale rules, sensitive services on all interfaces.
- TLS rules: weak protocols, missing HSTS, certificate not set, expired, expiring, not yet valid, unreadable, name mismatch, not renewed automatically, orphan certbot lineage, self-signed, weak key or signature, service did not reload the certificate, public plaintext proxy.
- Pool and container rules: undefined or orphan upstream, backend down, all backends disabled, single backend, no health check, container restarting, not running, undeclared, no restart policy, haproxy stats panel without a password.
- Kubernetes pod image vulnerabilities (containerd of the node or the registry), with the pods using each image.
- Kubernetes rules (on a control plane): pod in CrashLoopBackOff/ImagePullBackOff, a pod restarted within the last hour, long Pending, NotReady node, Deployment/StatefulSet missing replicas, stuck PVC, expiring API server certificate, privileged/hostNetwork pods, NodePort/LoadBalancer bypassing the firewall, containers without limits, images without a version, cluster-admin bindings, namespaces without a NetworkPolicy.
- Host drift from an applied profile — as a finding.
- Search and filters by severity, service and text; findings that appeared since the last review are tagged “new”, with an “only new” filter.
Vulnerabilities
- Scan of installed OS packages for CVEs with trivy (the database downloads automatically or comes from the hub).
- Scan of Docker/Podman container images on the host.
- Packages inside guests: LXD instances (via lxd-agent for LXD VMs) and libvirt machines (via qemu-guest-agent) — locally and on the hub; a finding's origin is "LXD name" or "VM name".
- trivy is installed automatically on the first scan.
- Vulnerability list with severity, package, fixed version and links; filters.
- "By danger" order: first what is reachable from the network (the package's service listens beyond loopback, a container publishes a port; with the ports), then severity, then whether a fix exists; "only reachable from the network" and "only with a fix" filters.
- Scan progress in real time.
- The “Malware” tab: a heuristic check for miners and signs of a break-in with no third-party tools — processes named like miners, pool connections, binaries deleted from disk or started from /tmp, long CPU load by a process not from any package, /etc/ld.so.preload, cron with “curl | sh”, units from temporary directories, foreign SUID files, blocks in /etc/hosts; on every scan, results go to Findings and hub alerts.
- ClamAV: package install, signature database updates, scans of chosen host directories and container images (one, selected or all) — as host jobs, one at a time, in the standard job log window, with a cancel that also stops clamscan itself; quarantine of infected files with restore and purge; hits link to the file browser row, "Configs" or the container.
- Every vulnerability links to where it is fixed: "To package" (the cell highlighted in "Packages") or "To containers" (the rows of containers running that image).
Resource map
- Graph "external network → service → listener → pool → backend → container or machine → network" built from configs and the real state.
- libvirt machines and LXD instances are linked to their networks and to backends pointing at their address; forwarded LXD ports are an entry from the host into the instance.
- A machine node shows its address, ping, current CPU and memory and the vulnerabilities of its packages; no ping reply turns it red, critical vulnerabilities yellow.
- Kubernetes: Ingress → Service → pods → cluster node → the host machine it runs on.
- Node status from live listeners, containers and findings.
- Stable column layout, zoom and drag with the mouse at any zoom without selecting text, node details on hover.
- Ports of one service above a threshold (set above the map, 4 by default) fold into one node "service · N ports"; its window lists the ports, each with a link to where it is configured, and "Expand on the map".
- Opening a node by a link from a finding.
Monitoring
Availability
- Web server listeners and backends, published Docker and Podman ports and forwarded LXD ports are checked on a schedule: a TCP connection or an HTTP request with the right Host header.
- Running LXD instances and libvirt machines are checked by ping at their address.
- "Hour of week × downtime" heatmap, availability and latency charts, outage list.
- On a Kubernetes control plane, cluster targets: Ingresses, NodePort and LoadBalancer services, nodes (ping).
- Your own targets with "+ target": ping, TCP, HTTP or HTTPS to any address; deleted from the list, scans never touch them.
Load
- Load charts from iptables counters and nginx/haproxy access logs for a chosen period, a rating of the busiest resources, a load schedule by hour.
- CPU, memory and network of containers and machines with a source picker: Docker, Podman, LXD, Libvirt (
virsh domstats), Kubernetes and "Whole host"; CPU and the first source with data open by default. - Live
btopin a terminal window, installed if missing, with key hints. - Kubernetes: pods and cluster nodes (workers included) as separate sources; node and namespace filters; an object picker on the chart instead of an anonymous “Other”.
- Charts from hourly summaries kept as samples are written: the page does not hold the host's database; per-minute samples for three days, summaries for at least 90 days.
Logs
- journald logs by unit of installed services and files from
/var/log, including archived and compressed ones. - Live log following over WebSocket with a filter, highlighting, case sensitivity and autoscroll.
- Detach the log into a separate browser window.
Jobs
- List of the host's background jobs: kind, step, status, author, duration.
- Filters by state and kind, a text search across all jobs, pages of 20/50/100 and date order, like the alert journal; the hub's "Jobs" work the same way.
- Job log in real time, cancellation (also right from the log window); jobs interrupted by a restart resume or get marked.
Audit log
- Every change made through the UI and API: who, what, when, with what outcome and command output; filters by action and outcome; the action kinds come from the log itself, so new sections appear in the filter automatically.
- State of the scheduler's background tasks: interval, last run, processed, errors.
Host
Services
- systemd units with state, autostart, description and ports.
- Actions: start, stop, restart, reload, enable/disable autostart, unit log.
- Service configuration check (
nginx -t,haproxy -c, …) before an action. - "Other services": processes started by hand or from a container, with their sockets and exposure; terminate with SIGTERM/SIGKILL.
- The table shows every installed service, running and stopped (with "start"); services that aren't installed are installed via Packages.
- Open port probe: TCP, HTTP/HTTPS, TLS handshake, arbitrary
curl— with body, headers, rendering of the received page and response download.
Containers & VMs
- Deleting in bulk by checkboxes (containers, instances, snapshots, machines, images, disk files, LXD networks, Kubernetes objects); long deletions run as a job with the row locked until done and related tables rebuilt afterwards.
- Docker: containers (state, image, ports, networks), start/stop/restart/remove, logs, a console inside, container creation, compose stack scanning; container backup and restore (a compose stack as a whole).
- Docker → images: list with size, date and usage, removal, saving to a tar on the host, pruning dangling layers.
- Image archives for Docker, Podman and LXD: save or export to an archive on the host, download to your computer, upload from it (with progress, via the hub too) or by link (Docker and Podman: the host downloads it as a job with resume and an sha256 check), load into the engine (with a checkbox — right after the download) or import into LXD, as background jobs; machine images get "Download to computer"; installing Docker and libvirt/KVM with a button right in the tab.
- Docker → stacks: the host's compose files,
up/down/restart, compose editing through the config editor, a new stack from a template. - Docker installation from the official docker.com repository (or the get.docker.com script) with a live log; when only the client is missing (Debian 13: docker.io without docker-cli) — just docker-cli and the compose plugin are installed, with a finding pointing it out.
- Podman: containers over its own socket, the same lifecycle, console, backup; creation as a background job.
- LXD: containers and virtual machines — creation as a background job with an image picker (
images:,ubuntu:, local) and an optional login password, start/stop/pause, resources and limits, autostart, logs, console, the VM screen over SPICE. - LXD → snapshots and backup: take/restore/delete a snapshot, backup via
lxc exportand restore as a copy or over the original. - LXD → configuration:
lxc config editin a window with limit fields, a diff and version history; port forwarding (proxy devices) through the same edit; the configuration with profiles for reference. - LXD → host resources: networks (create a bridge, delete), images on the host (delete, download in advance), storage pools.
- Libvirt (KVM virtual machines): domain list, start/shutdown/force-off/reboot, autostart, removal with or without disks, machine addresses, backup with disks without stopping the machine.
- The machine screen in the browser: VNC (noVNC) or SPICE (spice-html5), Ctrl+Alt+Del; a SPICE-only machine gets an "Add VNC" button — an XML edit with a diff. The serial console (
virsh console); on connect nkt presses Enter itself. - Guest login and password: a "Login" line in console and screen windows, "show" (to an administrator, audited), "set password" as a job (LXD —
chpasswd, libvirt — qemu-guest-agent); the password is stored in nkt encrypted. - Machine creation from a cloud image by the “+ New” button (the “From image” tab by default; empty-disk and raw-XML tabs there for special cases) or from the “Images” section: name, cores, memory, disk, network (a libvirt network, a bridge, or a host device directly — macvtap, picked from the devices that are up, with their addresses), user, SSH key and an optional password (cloud-init gets only a bcrypt hash); missing tools are installed automatically, and the guest agent, if it was asked for, is started in that same first boot (a package does not start its own service); machine templates for repeat creation; the job prepares the disk from the image, applies cloud-init, defines the domain and starts the machine — the private key is shown once. The image name and checksum are resolved from the mirror's checksum file at download time (mirror renames do not break downloads); host downloads go through the hub cache while its port is open, with a source label and an explicit bypass; the “Image” row of the “New VM” window includes the files of the libvirt disk directory.
- Cloud image catalog (Ubuntu, Debian, …) and own images: download with checksum verification, upload of an own file, move into the disk directory.
- libvirt networks: list, NAT network creation with DHCP and autostart, subnet overlap check against host networks and interfaces, bridge onto a host interface.
- Kubernetes: a tab on a cluster node — flavor, role, version, nodes (roles, Ready, IP), kubeconfig, node removal; cluster objects by section (workloads with HPA, pods, network with NetworkPolicy, configuration, storage, access — RBAC with the roles bound to each ServiceAccount, nodes, namespaces, events, Custom Resources) with a shared namespace filter, secret values for an administrator with audit; actions — describe, pod logs and
kubectl execconsole, scale, rollout restart, rollout history and rollback, CronJob run now/suspend, a pod or service opened in the browser via port-forward, cordon/uncordon, drain as a job, namespace create/delete, deletion — all audited; object YAML with a text diff andkubectl diffbeforekubectl apply, version history with rollback, "new object" from templates; block mode in the YAML editors (objects, containers, ports, rules, keys); Helm — releases, history and rollback, values editing with a diff and upgrade, uninstall, chart install from a repository or oci://, helm installation — all as jobs; node upgrade (k3s binary, kubeadm upgrade) as a job; k3s/kubeadm role installation as a host job. - Domain XML editing in a window (text and blocks) with a diff, version history,
virt-xml-validateandvirsh defineon apply. - Profiles: the host's desired state in YAML — packages, services, files, firewall rules, accounts, system settings, compose stacks.
- Apply plan with risky items marked, application as a job with a log, scheduled drift check.
- Profile export and import, profile versions, a format guide in both languages right in the UI; an editing window as for scripts — “Check” (an error with a line or what the profile sets), “Save” after the check, “Ready-made profiles ▾”, a “?” to the “Profile format” page of the docs site (built from code, with a sync test), a “Reference” tab on the profile — the site or the help built into nkt.
Packages
- apt package search ranked by match, installation of several packages in one transaction.
- Installed packages as a grid with search and removal.
- Available updates and
apt-get upgradein a live terminal window (no-y, with confirmation). - snap and flatpak packages: list, update, removal.
- Package description on hover.
Configs
- Every discovered config of nginx, haproxy, caddy, docker compose, systemd, cron, sshd, netplan, libvirt — by category, with jump-to-line from a finding.
- Editor with line numbers; the written config is checked by the service itself right away; on failure the file is restored automatically and the service does not reload it.
- Version history of every file: view, diff, rollback to any version, a note per change.
- Apply after writing: service
reload/restart,docker compose up,virsh define,netplan— with a check. - Block editor: a tree of nginx/haproxy blocks (
server,location,frontend,backend), add, edit and remove a block without breaking its neighbours. - sshd guard: before writing it checks whether a way back to the host remains if sshd does not come up; after writing, that sshd accepts connections — otherwise rollback.
- New file in a category's directory, browsing only down from the root.
- Writing into directories outside the sandbox with an "Allow writing" offer.
- Compose stack directories are configured on the host:
NKT_COMPOSE_ROOTS, comma-separated (/homeand/srv/composeby default); the profile stack directory stays allowed whatever the list says, and a "path is outside the allowed directories" refusal names the directories you may write to.
Disks
- File systems with usage, pseudo file systems hidden by default.
- "What takes space": subdirectory sizes on click, one level at a time.
- Swap, physical disks and partitions with expansion.
- Files: a browser over allowed roots (
/home,/srv,/opt,/var/www,/tmp; configurable) — folders, rename, delete, download. - Upload of files and whole folders via the dialog or drag-and-drop, with an overall progress bar; the folder tree is recreated on the host.
- zip/tar archive extraction in place with protection against escaping paths.
git cloneas a job with a log, private repositories included: a token over HTTPS or the host's deploy key over SSH.- File editor with line numbers, renaming, mode preservation and protection against overwriting someone else's edit.
- Uploads with a plan (new / changed with a diff / identical / protected, a checkbox per file), a folder's protected files, upload history with rollback as a job, version history of any file; history storage with limits, manual cleanup and an alert at 80%.
- File edits as in Configs: an edit comment, a diff before writing, version history with a diff against the current file and rollback; a file that is a service config is written with the service's check, sharing the history with Configs.
Hardware
- Machine, CPU, memory, batteries, temperatures (lm-sensors), PCI and USB devices.
System settings
- Host reboot from "System settings" and the "reboot required" bar: a window with a count of what is running and a list of what will not come back by itself (containers without a restart policy, machines and LXD without autostart, disabled services), with a required checkbox.
- Machine name, time zone (with search), NTP flag, state of automatic security updates.
- Locales: everything the system knows as cells with search, generation of the selected ones, choosing the default.
- Time synchronization: which service is installed (systemd-timesyncd, chrony, ntpsec), what it syncs with, stratum and offset; NTP servers from a list or your own; "synchronize now"; service installation if none is present.
- NetworkManager: connections, devices, Wi-Fi networks, connecting with a password.
Terminal
- A full interactive shell on the host in the browser (
NKT_TERMINAL_ENABLED), tmux sessions, detaching into a separate window. - Toolbar: copy, clear, font size, search.
- Installation of tmux and dbus helpers if missing.
Network
Network interfaces
- Interfaces with addresses, state, counters and errors; interface kind (bridge, veth, WireGuard, tunnel, libvirt) and the containers attached to it.
- Listening sockets with processes; ports open on
0.0.0.0get a one-click port probe.
Firewall
- ufw: state, numbered rules, adding and removing rules (port/protocol/source/comment), enabling with port 22 protection.
- firewalld: zones, services, ports, adding and removing temporarily and permanently,
reload. - Installation of ufw or firewalld as a package with a live log when the host has neither.
- iptables view as is (no editing).
fail2ban
- A section right below Firewall: state and version, running jails (log files or journald, rules, failures and bans now/total, a missing log highlighted), banned addresses with ban times, unbanning per row, with checkboxes or all at once, a manual ban into the
nkt-manualjail with a chosen time. - Editing a jail in a window with a form (enabled, maxretry, findtime, bantime, bantime.increment, backend, logpath, ignoreip) and the text: the nkt file
jail.d/nkt-<jail>.local, a diff before writing, afail2ban-client -tcheck with rollback, reload, version history; enabling and disabling a jail the same way. - Exceptions (ignoreip): the common
[DEFAULT]list edited with a diff of every file and version history, the hub address pinned, the effective list of every jail (common or own); edits of fail2ban files in Configs rebuild the hub protection file. - Event log for 1/3/7 days from
fail2ban.logand its rotations (including.gz) or journald: search, filters by jail and event. - Templates: sshd, nginx-http-auth, nginx-botsearch, nginx-limit-req, haproxy-http-auth, postfix, dovecot, recidive, offered when the program is on the host; custom templates with a jail, a filter, a
fail2ban-regextest against a host log and version history, stored on the hub; applying through a diff of every file. - Installation as a package in the standard job window and setup: the hub's address in
[DEFAULT] ignoreip, the manual bans jail, sshd via journald where there is no log file. - Lock-out protection: the hub passes the host its external address as the host sees it (
SSH_CONNECTION), the host keeps it inignoreip; banning the hub's address or your own is refused. - Findings: SSH exposed without fail2ban, fail2ban not running, no sshd jail, a jail without logs, the hub not in
ignoreip.
Certificates
- Every certificate from nginx, haproxy, caddy configs and
/etc/letsencrypt: expiry, names, issuer, algorithm, key, self-signed or not. - haproxy
crtdirectories expand by SNI, derived copies are found by fingerprint. - Check against the real TLS socket: the service serves the same certificate that lies on disk.
- Auto-renewal state: whether certbot knows it, whether the timer or cron is active.
- certbot lineage renewal via
--standalone, stopping and restoring the services and processes holding 80/443 (including manually started ones), with their relaunch. - Issuing a new Let's Encrypt certificate; certbot check and installation if missing; before running certbot the name is checked: does it resolve and point at this host (a foreign address is refused unless “host behind NAT or a proxy” is ticked; one that does not answer ping is always refused).
- Assembling a haproxy PEM from a certbot lineage with a haproxy reload.
- Self-signed certificate: RSA 2048/3072/4096, several names, wildcard, Unicode domains.
- nginx, haproxy and caddy config snippets for the issued certificate with copy to clipboard.
- Scheduled auto-renewal (
NKT_AUTO_RENEW_CERTS).
Access
Users
- nkt accounts: creation, role, disabling, password change, session reset.
Host accounts
- System users with shell, home, groups and sudo.
- Creation and editing in one window with a diff: shell, passwordless sudo (nkt rule), groups as checkboxes (
docker,sudo/wheel,admand other common ones first, then all with search;dockercomes with a warning), keys (add, remove a single one). - Deletion (
userdel, optionally with the home directory); root and the hub user cannot be deleted, and cutting off the hub's key or sudo needs a confirmation.
Hub
- One hub manages many hosts: a host connects over SSH (password or key), nkt is installed on it automatically for the right architecture.
- Hosts are grouped; each has a status, nkt version, problems, reachability, sudo and fallback channel; one line per host, with the same column widths in every group.
- Open any host in the same UI — every section above works through the hub.
- The "localhost" row — the hub's own machine without SSH.
- An empty hub (no hosts besides localhost) shows a "Where to start" card: add a host or import from another hub, open the hub's machine, try a deployment on an example, help on a demo without servers.
- Install, update, reinstall, stop and start nkt on a host; "update all" for hosts that lag behind.
- A host whose version differs from the hub's (older or newer) is brought to the hub's version when opened.
- Fallback channel (a reverse TLS tunnel with certificate pinning) for when SSH is unavailable.
- Narrow sudo: after the first installation the hub may only run
nkt hub-sudowithout a password: operations from a fixed list signed by the hub's key (installing and updating nkt against signed hashes, the service, its journal, the admin password, the apt proxy); a replayed request is rejected. Hosts installed earlier get "narrow sudo" and a "what the hub may do" window (operations and the rule) that checks the host live when opened: the mark corrects itself if sudoers was edited by hand; other lines granting passwordless full sudo are shown (file:line), and a separate line about just this user can be disabled with a visudo check. - New hosts without stored passwords: the SSH password lives only in the hub's memory until the first installation, which switches the host to the hub key and always turns sshd password login off; a choice of sudo after installation (narrow by default or full); password sudo — a one-time sudo password (the SSH one by default) checked before installing, a temporary full rule and the previous one restored on failure; a sudo password for the preparation's new user; in Manual mode the key is placed with a one-time SSH password, no manual commands.
- Revoking passwordless sudo, address diagnostics, complete nkt removal from a host (restoring password login).
- Installing nkt on selected hosts as a hub job (three at a time, with a log) in "About" next to removing nkt from all hosts; after an import the hub finds hosts without nkt by itself and offers installation; moving narrow-sudo hosts to a new hub, with the previous hub's signing key from a full export and a host key change (
hub-sudo rekey). - Machines inside a host: creating a virtual machine on a host from the hub, automatic nkt installation into it, profile application; discovery of existing machines and adding them to the list; start/shutdown through the parent host; removal together with disks.
- Kubernetes clusters on a host's virtual machines: “new cluster” — k3s or kubeadm, topology (one machine; 1 control plane + N workers; 3 control planes + N workers, kubeadm with a shared control plane address (endpoint), which the hub serves itself through a Traffic Fly listener when the address points at its gateway (picking a gateway in the form fills the “Shared address” with its address; the “internal path” checkbox routes node traffic to the shared address through the nodes' tunnels to the gateway, keeping it off the external network — the gateway plan subnet joins the allow list by itself), or a built-in load balancer — a single HAProxy machine whose real address from the placement subnet becomes the endpoint), sizes, image, network, Cilium (default, with kube-proxy replacement by a checkbox) or flannel, forwarding of host ports (API/HTTP/HTTPS configurable); the job creates machines with nkt, installs roles, joins nodes, waits for Ready, fetches the kubeconfig; the plan of actions is a checklist: “Create cluster” opens a second form step listing every action per node (machines, the shared address listener, the first control plane, joins, Ready, addons), and “try again” / “continue” open the same window with the completed steps unticked — the operator edits what to repeat, dependency conflicts are highlighted on the spot, and re-ticking a completed destructive step (the first control plane, a node join) runs it with a forced node reset (kubeadm reset / k3s removal); the clusters card — nodes, kubeconfig, “+ worker”, deletion with disks, a “Kubernetes” button opening the full object view of the host Kubernetes tab (pods, workloads, network, configuration, secrets, Custom Resources, Helm, port-forward, YAML with diff) through the hub proxy onto the cluster control plane; the “Clusters” section: placement across several hosts (machines or the host itself as a node, roles, sizes) with a network between hosts (NAT / bridge / macvtap — the machine plugged straight into a host device, the device picked in the placement row / a WireGuard tunnel with a separate machine network per host); a “dry run” — a checklist of host checks and the machine plan without changes, with preparation (image and packages into caches); manifests — one YAML into several clusters with a text diff and
kubectl diffper cluster beforekubectl apply, a per-cluster outcome and a revision history on the hub; cluster upgrade node by node with drain, Ready wait and uncordon; Kubernetes findings across all clusters; a Helm release into several clusters as a hub job; picking clusters by host group; Traffic Fly routes bound to a cluster take their targets from its nodes, and the automation re-pools them when the membership changes (the creation and deletion jobs, the minute watch, the “Traffic Fly targets” button on the card); a step-by-step guide from creating a kubeadm cluster on two hosts to a test pod reachable from outside through Cilium Ingress and Traffic Fly. - A cluster node in a NAT network (a node in a libvirt network) gets its address pinned by a DHCP reservation, by MAC in the libvirt network, once its machine exists — so it does not move after a reboot and drift away from Traffic Fly routes, port forwards and the kubeconfig; if pinning fails the log carries a warning and node creation is not cancelled.
- A cluster node on macvtap gets its address pinned by the network administrator (a reservation by MAC or a static address on the node): there is no libvirt network with its DHCP and reservations here, the guest agent reports the address, and the hub says so in its own job-log line; installing the agent package does not start its service, so the host also drops a script into that same first boot that enables it (the machine's address is known right away, no reboot needed), and a silent agent is named as a silent agent both in the log and in the host window — looking for a DHCP lease in macvtap would be pointless; the hub also hands that address to kubeadm as
--node-ipand the advertise addresses, so a peer is never left with an address it cannot route to. A host cannot talk to its own macvtap machines, so port forwarding from it into them is not offered, and a listener for the shared address through a gateway on such a host is skipped with a log line. In that mode the listener builds its targets as "the host itself", from the machines' records (a host is unreachable by network, its own record in the gateway's tunnel is alive), and the log says which addresses the hub puts on the allow list: a macvtap machine arrives at the gateway from its site's own address rather than the parent host's, and if it differs, a person adds it under "who else". The gateway probes a target from itself, so "the target is alive" does not mean "the node is allowed in": dead targets, drained ones and a route with no connection at all get their own log lines, and before the steps that could spoil everything (cluster addons) the hub waits until at least one target serves through the listener. - Deployments from Git: pipelines (manifest into clusters, Helm with values from Git, hub script, a compose stack deployed host by host with waiting, a dry run and a docker check on the hosts (installed with a button), including from a link to a compose file on GitHub, GitLab or Codeberg) triggered by a button, a signed webhook (GitHub, Gitea, GitLab, CI), repository polling or registry tags; encrypted repository/registry access, revision history, per-deployment jobs and rollback; "Sites": a domain on a host with DNS and port checks from outside, an nginx/HAProxy/Caddy proxy, a Let's Encrypt certificate and a link to a compose stack service, in the wizard or with a site: block right in the pipeline; the HTTPS check runs against the root, or against the site's own path for an interface that does not live there (
check: /ui; 2xx, 3xx and 401/403 mean the path opened, a 404 — “the site answers, but the path did not open”), and certificate expiry alerts walk the same path; “Stop” and “Start” a compose deployment on all its hosts (stopping without removal with two confirmations, starting the same version with the pipeline registry key for missing images, a “stopped” tag, Traffic Fly alerts marked;deploy PIPELINE stop|startin a script, API, MCP, n8n). - Compose stack deployment: pipeline examples (httpbin, Uptime Kuma, umami, n8n, Forgejo, WordPress, Plausible, Authorizer, a test nkt hub in Docker next to the production one, Technitium DNS Server — your own name server with a secondary through a catalog zone, a move from an installation that already runs via its backup (
IMPORT_BACKUP), DNS-01 for cert-manager, failover records, DoH and a hub plugin (zones of several domains with site and mail templates, records as a table and as text with a diff, a delegation check, DNSSEC and DS,dns …in scripts, MCP tools; records for the hub — Traffic Fly route names at the gateways with Failover, pipeline site domainssite.dns, host autonames, a check every 10 minutes), Garage — your own S3 storage with an admin panel, LiteLLM — a model gateway with virtual keys, docker-mailserver mail (SMTP, IMAP, Rspamd, DKIM, fail2ban, the first mailbox from.env), a Forgejo Actions runner with Docker-in-Docker for building images — with a webhook or registry polling and a build of the nkt hub image) from a drop-down (from the plugin and example catalog — new ones without an nkt release), with a# WARNINGabout third-party code;# WARNINGlines in descriptions and configs are red and bold; the stack.envright in the description as anenv:block — moved into the pipeline's encrypted secrets on save (@secretstays in the description),generate:lets the hub create passwords and keys, replacing a set value asks first;configs:— service config files from the description or the repository with${NAME}filled in from.envon the host, read-only, with mode and owner, the service recreated on change, a dry-run diff with secrets masked; stack ports are published on 127.0.0.1 only (bind,portsoverrides); secrets live in the pipeline's.envwith version history and anenv_keyscheck; YAML errors in the description come with the line number and an explanation; deleting a pipeline removes the stack from the hosts as a job; for a site, certbot and the firewall rule are set up automatically, and the proxy's request body limit ismax_body("0"— no limit, streamed). - A compose stack dry run with selectable checks (the boxes are remembered on the pipeline): docker and its daemon,
compose config, variables without a value, images in the registry and their architecture, busy ports, memory and disk, healthcheck, a foreign stack on the host, the site's DNS and ports from outside, who holds 80/443, the certificate and nginx, the nkt version on the host, a container name taken by another project, one host port published twice on overlapping addresses (0.0.0.0 and 127.0.0.1), .env variables that reach no container, what happens to the old stack on a move or rename; problems and warnings are colour-coded in the log. - Changing the host or the stack name in the description: the hub remembers where the stack is deployed; a renamed stack is replaced on the same host (the old one stopped while the new one starts, restarted on failure), the stack is removed from the previous host after success, an unreachable previous host gets a “stack left” mark with Remove and Forget; the Hosts and Stack fields in the editor edit the description right away; host names are case-insensitive, with similar names suggested.
- Docker container “Inspect”: environment variables with their source (container, over image, image), values hidden and revealed by an administrator with an audit entry; the image (and whether it is outdated), state, restarts, command, limits, ports, volumes, networks, labels, the full JSON.
- A changed .env recreates containers on deployment (--force-recreate for docker and podman).
- Pipeline "Secrets" in tabs: repository keys — the main one and others by address prefix (submodules are fetched automatically when .gitmodules exists, each with its own key); a list of registry keys (address, login, token, own CA) with a login check — each image is pulled with its own registry's key, in Docker and Podman, without docker login on the host, the CA goes into the engine's certs.d; the stack .env with history.
- Stack images on deployment: names from variables are expanded with the pipeline
.env(the registry key is picked by them),compose.imagessetspull_policy: always; the dry run catcheshttp(s)://and an empty address in an image name, apull_policythat would deploy the old image, a build without source on the host and a registry key that matches no image. - An OS icon before the name of a host, machine and container — everywhere, on the web and in the app: host —
/etc/os-release, container — os-release of the running one (cached by ID), LXD —image.os, libvirt machine — the guest agent, the libosinfo tag or a guess from Hyper-V flags (Windows); a Windows guest gets “Screen” instead of a console. - UPS via NUT: “Find UPS” (USB/COM, UPSilon 2000 traces), “Connect UPS” as a job — the nut package, driver, upsd on 127.0.0.1 only, rollback on failure, optional host shutdown on low battery; state, history, findings and hub events “power lost”, “power restored”, “battery low”, “no link to UPS” to Telegram, Slack and webhooks.
- App: VNC/SPICE screen zoom 50–150% with finger scrolling, remembered per machine.
- Pipeline deletion by plan: only where this pipeline deployed the stack; a stack shared with another pipeline (the same name on the same host) is left alone; hosts are picked with ticks; “Only remove from selected” keeps the pipeline without those hosts in its description.
- nkt-edge: a separate small webhook receiver for a VPS (Let's Encrypt via certbot standalone, issued during installation with a name ↔ IP check; filters, rate limit) connected to the hub by a tunnel the hub keeps (pinned TLS, token) — webhooks without exposing the hub; installed from the hub as a job with a busy-port check, can run behind an existing nginx/Caddy on the VPS and be removed from the VPS completely.
- Scripts (experimental): a line-based deployment language (group, hosts, nkt install, packages, services, firewall, Docker and compose stacks, machines, profiles, files, user accounts, system settings, certificates, git clone, k8s clusters; several hosts in one command) with run-time parameters, waiting for a port/HTTP/service, a check, a dry run, a reference and execution as a hub job; pipelines, deployments and stack moves in a script (
pipeline,deploy,migrate), an outside address check (wait url), a ready-made "Forgejo behind Traffic Fly: deploy and move" script; a cluster by name — Cilium Ingress, manifests and readiness waits (k8s … ingress|apply|wait), Traffic Fly routes (fly routewith targets on all cluster nodes,fly apply), a ready-made "A Kubernetes cluster: from zero to the first pod" script; an "AI ▾" button in the editor — explain, write from# AI:comments and from a task description, with "Check" and insertion through a diff; a “Script commands” page on the docs site (starting with an overview of every command by group) built from the command descriptions in code (with a sync test), a “?” icon in the editor window and on the script opens it, the “Reference” tab shows the same site page, without access to the site — the help built into nkt;docker stack PATH start|stop(start without the registry, stop without removal), “Check” warnings for pipeline stacks and a hint forunauthorized; the version history of scripts, profiles and service descriptions — a table with the content, the difference with the current or previous revision and a return to the editor. - A "Profiles" section on the hub, each profile has a color; a profile is set on a group at creation: machines created in the group are built from it and their rows are tinted with its color; moving a host into a group applies nothing.
- Model analysis (AI) on the hub: Anthropic or an OpenAI-compatible provider, including local ones (Ollama, vLLM, LM Studio); the model is picked from the provider's list by “Get models” (searchable, release date or size, non-chat models hidden) or typed by hand; a live “Test”, a daily limit, anonymization, editable instructions; “show request” shows the whole request (instruction, message, what was replaced).
- Alerts: unreachable, responding again, serious problems appeared, resolved, job failed, new fail2ban bans, forecast, UPS, Traffic Fly, old stack after a move, deployment (not) succeeded, nkt-edge offline for over two minutes and back, site certificate expiring (sites checked daily, 14, 7, 3 days ahead and expired); bots and webhooks get the same kinds; an AI check with its own instruction for every external IP in an alert, with “Ban on all hosts” in the answer window; an alert journal (the "Journal" tab; settings, webhooks and bots are on the "Settings" tab) with settings for what to record, what to notify about and what to hide, filters by kind (all kinds, from the hub) and host and a text search over the whole journal, collapsing short episodes; each event links straight to the host's section with the item highlighted (new findings, bans, disk, container, availability target); browser notifications.
- Hub "Monitoring" (below "Alerts"): availability and load of all hosts from the hub history (hourly summaries from hosts once an hour; hours for 90 days, days for a year), hosts laid out like the hub's host list (groups, CPU, memory and disk bars by thresholds, Kubernetes “control plane”/“worker” and cluster labels), cluster nodes without a hub host separately, each container, machine, pod (with its node) and Kubernetes node separately with cluster, node and namespace filters, heatmaps by hour of week; trend forecasts (disks filling up, memory and CPU, likely leaks, availability drops, latency growth), hints linking to the host section, the quiet window of the week, workload rebalancing, model analysis; "forecast" alerts with thresholds.
- fail2ban across hosts: where it is installed and how many are banned, banned addresses and where (on how many hosts, in which jails), banning and unbanning on all hosts as a hub job with a per-host log (banning an internal address asks for a separate confirmation; "Undo" for 15 seconds after success), jail templates (standard and custom) applied to selected hosts: a required check as a hub job (per host, a diff and a check of the whole fail2ban configuration with the template, plus the hub ban protection), then a hub job three hosts at a time: the hub protection first, a rollback on the host if the configuration fails or a jail does not start, lifting a ban on the hub; all hub fail2ban jobs run in one queue; an “f2b” column in the host list.
- Hub jobs with a log.
- Hub API tokens for automation (n8n, CI, scripts): a read or admin role, a host and group scope, an address and subnet list and an expiry; Bearer or a signed request (HMAC, a one-time nonce, the secret never crosses the network); hub management, the terminal, files and websockets are closed to tokens; the secret is shown once, a new secret and revocation take effect at once; edits come with a diff, and everything goes to the audit log; a token can also run saved scripts, move stacks, use Traffic Fly (without a host limit) and apply manifests to clusters, a scoped token only on its hosts; n8n has Script, Migration, Traffic Fly and Cluster operations; a “by permission” role — only the chosen actions on the chosen pipelines, scripts, clusters and namespaces, with CPU, memory and disk limits as sums and per host (compose — a limit for services without limits and no reaching outside the stack, machines — count and size, k8s — ResourceQuota and LimitRange in the namespace), actions per hour, an “in use of” ledger with checks and “Release”; a “create pipelines” action — compose only on its hosts, edit and remove only those this token created; MCP shows only the allowed tools, MCP examples in the token window; own limits for the client — GET /hub/tokens/self/usage and MCP my_usage (every usage counter); a token's machines are isolated — created only on hosts within its limits, other machines are hidden from a token by permission, its own stay reachable for a token limited by hosts; a token's machine lives in the token's own NAT network on the host (nftables: to the host only DNS and DHCP, no LAN and no other token networks, only replies inbound; the rules are re-checked at start and every 10 minutes); automatic host choice for a new machine (no host_id: online, KVM, free memory and disk with a margin, the token's scope and limits, the most free memory); network bandwidth and disk limits for token machines (own or the hub's defaults), outbound port 25 closed without “allow mail”, snapshots reserve the machine's disk in the disk limit; a token's own machine: reboot, snapshots (a snapshots-per-machine limit), vCPU, memory and disk within limits, reinstall from a catalog image, own user-data (#cloud-config without account or keys), full deletion — in the API, MCP (vm_snapshot, vm_resize, vm_reinstall, vm_delete…) and scripts (vm snapshot|revert|resize|reboot|delete); LXD instances for a token — like machines (a shared count and limits with KVM, the token's LXD network under the same nftables rules, unprivileged and without nesting, snapshots, limits, deletion; API /hub/hosts/{id}/lxd and MCP lxd_*); a host port pool (administrator, off by default) and a pool port to an own machine (TCP/UDP, the machine's address is pinned by a DHCP reservation, a ports limit); own Traffic Fly routes — HTTPS by name in the token's assigned domain to an own machine or to a shared cluster's ingress for an own namespace (the administrator sets the cluster's client ingress; fly own in scripts) (a routes limit, other routes and the whole map are out of reach); deleting a machine releases its ports and routes; an own namespace in a shared cluster (Cilium and Kubernetes 1.30+ only; admission policies in the cluster: Service only ClusterIP without externalIPs, Ingress and HTTPRoute — names in the token's domain, network policies not changeable by the client; egress without private networks, metadata and port 25 unless allowed; Pod Security restricted, quota and LimitRange, a “same namespace only” NetworkPolicy, a service account with the edit role, the kubeconfig once and reissue, pod logs, helm via render and token checks, a namespaces limit); an own k3s cluster on the token's machines (single or cp1, one host, the token's network, nodes within machine limits, a clusters limit, the API on a pool port, the kubeconfig once, deletion with machines; the same in scripts); a script run by a token is checked with the same permissions, limits and namespaces as the API and stops if the token is deleted or expires.
- External plugins (“About” → “Plugins”): a separate program (a container deployed by a pipeline) on 127.0.0.1 of its host, the hub reaches it over SSH with an HMAC signature (the secret from the pipeline's .env); a manifest — sections (tables, text, buttons with forms and confirmations, moving between sections, editing a document with a diff and a version history on the hub), operations, script commands (
plugin NAME WORD …and the plugin's word on its own, Check and the dry run — by the plugin), MCP tools<name>_<operation>; rights: reading — for everyone, changes — for an administrator or a token by permission with the “plugin NAME” action, the plugin's own rights on the hub — a token by permission with only the confirmed actions; connecting from a pipeline (host, port and secret taken from it) with a preview of what the plugin adds; “Install on a host (no Docker)” — a plugin from the catalog as a systemd service by a job (the file from the verified catalog copy, 0600 settings, a separate user, secrets out of job parameters, auto-connect, update and removal from the host, several instances with their own ports, a “newer version available” mark and Update all, a warning about Docker access; Settings without reinstalling — ordinary values from the host, secrets only “set”/“replace”, a diff, saving as a job with a service restart and an automatic return to the previous settings if the plugin doesn't answer, a version history without secrets, a DNS reconcile after a change, a “needs settings” mark); the audit log, export and import; the protocol and a Python plugin example in the docs; For agents on a plugin page — MCP tools with arguments and access, script commands, Download JSON in the tools/list format; a Cloudflare DNS plugin — Cloudflare account zones from the hub (records as a table and text with a diff, proxy, delegation,cf …, MCP, records for Traffic Fly and sites); a docker-mailserver mail plugin — domains, mailboxes (the password through a masked field, never in the log or in arguments), aliases, the DKIM key,mail …, MCP; a plugin button with DNS records (MX, SPF, DKIM, DMARC) — the hub sets them through the connected DNS plugin in a window with Check and Apply; a LiteLLM plugin — virtual keys (models, budget, limits, expiry; block, delete), models with a provider key, spend,llm …, MCP; secrets from a plugin: shown once only to the browser window (reveal, never to a token or an agent) or straight into a pipeline.env(store: the hub writes it, rights are checked before the plugin is called, the value never reaches the logs). - A plugin and pipeline example catalog (Plugins → Catalog): plugins and examples are not built into nkt — CI builds them from the repository's
examples/, runs each plugin's test against fakes (a failing one is left out), requires a new plugin version when its files change, signs the catalog with an ed25519 key and publishes it next to the site; the hub checks the signature (the public key is built in, a key list allows rotation) and every file's SHA-256 on download, on an archive upload and when reading its copy from disk, keeps its own copy (works without internet), refreshes it every 6 hours and with a button (a job), accepts acatalog.tar.gzarchive for closed networks; plugin cards — version, “tests passed”, where it is installed and whether a newer one exists, the guide (README) and screenshots from the copy through the hub, installing with amin_nktcheck; your own source (a fork or your own server) and your own public keys — in a window with a diff and a history, in the hub export. A guide for AI agents on writing a plugin (examples/AGENTS.en.md, the “Writing a plugin” page), a working template with a test (examples/_template),nkt-catalog lint— the folder, the package, dangerous code (shell=True,os.system,eval, a command string), the live manifest in both languages with the hub's own check, the signature (401), no secret in the log; CI takes only plugins that pass lint and their test into the catalog. A Forgejo (and Gitea) plugin: a summary with findings (failed Actions runs, unsynced mirrors, many admins), repositories (create, archive, sync a mirror, delete), Actions runs, webhooks (e.g. a pipeline deploy webhook), users, a runner registration token — once to the window or into a pipeline.env,forgejo …, MCP. Your own plugin: an administrator uploads an archive of the plugin folder to the Catalog — the hub checks the archive (paths, sizes) and the package with the same static lint, a name not from the catalog, a higher version; the hub never runs the plugin; the whole code or a diff with the previous version, Code reviewed, an audit entry with the SHA-256; marked own, installed and updated like catalog plugins, a 10-version code history, export; theurl-checkexample (address checks, certificate expiry,urlcheck) — an archive on the site. - The rgstr image registry (github.com/piqab/rgstr) in nkt: a pipeline example (rgstr 1.10.1, login on, the token secret and the first administrator password created by the hub, a site with
max_body: "0", Trivy vulnerability scanning on, a Docker Hub cache and S3 backups throughenvvariables) and the catalog pluginrgstr— a summary with findings (login off, HTTP off loopback, a temporary password, the user role with delete, a robot pushing everywhere, low disk, garbage collection off or failed, no retention policy, open/metrics, scanning off or failing, critical vulnerabilities, backups off, failed or late, a cache over HTTP), repositories and tags with delete and vulnerabilities by severity, a tag scan report and “Scan”, projects with quotas, caches of other registries and blocking pulls of vulnerable images, rgstr built-in backups (“Back up now”), robots, retention and immutability policies as text with a diff, garbage collection, webhooks, the audit log;rgstr …commands, MCP toolsrgstr_*. A robot secret goes once to the window, into a pipeline.envor straight in as the pipeline's registry key (storewithenv: "@registry"— new in the plugin protocol); the help article “rgstr and rgstroperator in nkt” — a registry on a host, the operator in a cluster (helm OCI or a manifest), a client'sRegistryin their own namespace under Pod Security restricted and published through Traffic Fly, operator backups (S3, Longhorn, VolumeSnapshot), an rgstr cluster on PostgreSQL and S3, LDAP/OIDC sign-in, script, API and MCP examples (for rgstr 1.10.1 and rgstroperator 0.5.1). The hub refuses a token'sRegistrywithbackup.method: Longhorn: the operator would create theRecurringJoboutside the client namespace. - “Client resources” on a cluster: operator resources (CRDs,
resource.group) that clients create in their namespaces — the ClusterRolenkt-client-crdsaggregated intoedit(Kubernetes, RBAC, admission, networking and Cilium groups are never given), a window with a diff, the API/hub/clusters/{id}/client-crds, goes into the export; the hub checks a token's rgstroperatorRegistrylike a Service and an Ingress (ClusterIP only, ingress within the token's domain). - Cluster add-ons — a registry of eight: Longhorn (volume storage), ingress-nginx (HTTP/HTTPS entry, a NodePort service on the nodes), cert-manager (Let's Encrypt certificates for Ingress, CRDs installed right away), metrics-server (
kubectl topand HPA; built into k3s — the install is rejected), MetalLB (LoadBalancer services on the local network; the IPAddressPool/L2Advertisement pool is created after the install), kube-prometheus-stack (Prometheus, Grafana, Alertmanager), Kyverno (admission policies) and Argo CD (GitOps deployments); checkboxes in the creation form (the default version — pinned by nkt, Longhorn — with a choice), the “Add-ons” window of a ready cluster: the state by helm on the control plane, install, upgrade and uninstall as a job (the removal takes the helm release down and keeps the namespace, CRDs and data volumes — the job log prints the clean-up command); every add-on carries a link to its documentation; versions — from each add-on's repositoryindex.yamlwith thekubeVersionconstraint, the chart tarball is downloaded through the hub cache by the URL from the index (did not arrive — helm takes the chart from the repository through the hub proxy); node preparation — only where needed (Longhorn); upgrades forward only, Longhorn additionally no further than the next minor branch; the registry is served by the API/hub/k8s-addons. - Longhorn in clusters: a checkbox with a chart version at creation (the list — the latest patches from the repository
index.yamlwith thekubeVersionlimit, the default — the nkt version 1.12.1),addon longhorn[=VERSION]ink8s create,addonsin the API and MCP (own token clusters too); open-iscsi and nfs-common come from cloud-init on the machine's first boot (the prepare step installs them only when missing, with short timeouts: outbound TCP can go silent once Cilium replaces kube-proxy), and as the last step every node is prepared (iscsi_tcp, iscsid) and the chart goes onto the first control plane (helm and the chart tarball come through the hub cache when the host has the package port open: a node without internet installs the add-on over the same channel as k3s and Cilium, and a downloaded chart stays on the node and is reused when the add-on is updated; if it does not arrive, the install takeslonghorn/longhornfrom the repository, and with the cache open the repository commands run through the hub proxy), replicas — one per node, at most three, the default StorageClass (k3slocal-pathis no longer the default); the dry run checks the version and node disks; added workers are prepared automatically; the “Add-ons” button of a ready cluster installs or upgrades as a job (forward only, no further than the next minor branch), the API/hub/clusters/{id}/addons, MCPcluster_addons,cluster_addon_install; thelonghorn.iogroup is never given to clients. - The tutorial plugin
rgstr-liteto upload (“Download example” in the “Upload your own plugin” window) and the article “Writing a plugin step by step”: signature and manifest, a summary with findings, a table with a hidden section, a change with confirmation and dry run, a secret to the window or into a pipeline, a script command, a test against a fake, lint, upload and install. - Plugin hosts (Hosts → Add a device): devices without the nkt agent — MikroTik routers (RouterOS 7, the first plugin), then Windows, cloud VMs — in the common host list: groups, token limits, alerts on unreachability and critical findings, Monitoring (a poll every minute — CPU, memory, disk, temperature, interface speed), export with re-encrypted logins; the hub keeps the logins under the master key, the password is never shown nor logged, the device certificate fingerprint is remembered on Check and verified; the device panel — inventory (interfaces, service ports, neighbors, routes, firewall, DHCP), metrics, findings with a fix hint, configuration with versions and a diff (hourly: changes made on the device are visible), actions with a confirmation and a dry run, commands in the device's language, a login change with a check; scripts
on HOST run "…"(and as a block) with Check and a dry run by the plugin; MCPdevice_snapshot,device_findings,device_config,device_action,device_exec; theprovides: hostsprotocol for your own device types; the connector plugin — device types as JSON profiles without code of your own (SSH, HTTP API, SNMP v2c in pure Python): built-in agentless Linux, macOS, FreeBSD, OpenWrt (Wi-Fi and clients, firewall zones, port forwards, opkg/apk packages, findings — wan, an open network, WEP, WPA1, TKIP, WPS, an old release; keys inuci exportas***), Keenetic, an SNMP printer and switch, UPSes over SNMP (UPS-MIB and APC PowerNet) and NUT (on battery, low battery, replace battery, overload, self-test), IP cameras and NVRs over ONVIF (RTSP streams, the clock, Hikvision and Dahua NVR disks, reboot), your own in the Profiles section with a diff and history; the SSH host key is remembered and verified, the password goes through SSH_ASKPASS; a Yandex Cloud plugin — VMs (start, stop, restart, snapshot; VMs — also as nkt hosts with findings: ports open to the whole internet, no snapshot, preemptible), disks and snapshots, security groups, Object Storage buckets (public, size), Cloud DNS (and the hub's DNS functions), PostgreSQL and MySQL, balance; login with a service account key (JWT PS256 via openssl),yc …, MCP; a Windows plugin — via the built-in OpenSSH and PowerShell, no WinRM and no agent: inventory (OS, programs, KB updates, ports and processes, administrators, roles), metrics, findings (updates pending, a reboot, Defender and signatures, the firewall, RDP without NLA, SMBv1, Guest, BitLocker, disks, log errors), configuration with a diff (firewall rules, service start types, administrators), services, background update installation, winget, PowerShell commands (the script goes through standard input, UTF-8 output); a Home Assistant plugin — as one device through the REST API and a long-lived token: version, areas, integrations, automations, findings (entities unavailable for over 30 minutes, batteries below 20 %,update.*updates, no backup for 7 days), the entity and integration configuration with a diff, restart, installing an update, scripts and automations, calling HA services as commands. - A hub MCP server for AI agents (Claude Code, Claude Desktop, Cursor; turned on in “About” → “Experimental features”):
POST /api/mcpwith an API token and thenkt mcpbridge (stdio, address and token from the environment); about 40 tools — hosts, findings, services, containers, alerts, pipelines (and creating them: example descriptions, a dry run of a text, create, edit with a diff, remove with the stack), jobs, scripts, stack moves, Traffic Fly, clusters; every tool is a call to the same API with the same token, so the token's rights and limits apply; a read token only looks, an admin token runs actions right away, without confirmation;waitwaits for a job and returns the outcome with the log; readOnly/destructive hints. - A hub assistant (a menu section, for an admin; turned on in “Experimental features”): a conversation with the model about the fleet — the model reads the hub's data with tools itself (hosts, findings, services, containers, alerts, jobs with logs, pipelines, scripts, moves, clusters, Traffic Fly), read only and with the asker's rights; above the answer — what it looked at; addresses and names hidden behind aliases, secrets cut out; changes come as an nkt script that passes “Check” right away and opens with “Open as a script”, a person runs it; a model without tool calling (or a server that rejects their results) answers from a hub snapshot with the provider's answer next to it; Anthropic and OpenAI-compatible providers; the window is a chat with clearing, “Dry run” and “Run” in a job window (a successful run closes it by itself), names of hosts, containers, services, pipelines and other objects as links with an action menu, favorite questions by section on the right (on the hub per user, exported), object hints while typing (“host”, “container”…, “@”).
- Local and other models for the hub's AI: the “OpenAI-compatible” provider with ready addresses for Ollama, LM Studio, llama.cpp, vLLM and OpenRouter (local ones get a 300 s wait and no aliases); “Check tools” — whether the model calls tools (the assistant needs it), the result per “model + address” in the AI card and on the assistant page, also updated by a question to the assistant.
- Scripts from AI: a script in an assistant answer or a finding analysis passes “Check” on the hub, on errors the model gets one try to fix it, the result under the block; “Open as a script” — a Latin name (ai-…, fix-…), a note on the source, checked right away, an “AI” tag in the list; “Check” in the editor window, “Save” — with a name and after a successful check;
docker stack … upwithout a block starts the file on the host, “Check” catches a misplacedendand compose that isn't YAML. - Running a script from a model answer: under a checked script in an assistant answer and a finding analysis — “Dry run” and “Run” (for an admin); the script is saved by itself, “Run” is a confirmation and one “dry run → run” job (a failed dry run doesn't touch the hosts), progress, log and outcome in the same window, “Ask the assistant about the result”; the API and MCP take
dry_first. - What a script's run answer field is,
paramitself says — not the dialog: thehostflag gives a field autocompleting the hub's host names and addresses (name and address as separate entries, free text accepted too), thesecretflag gives a password field, and with no flag the field is plain; the prompt is required and always quoted (param NAME "…" [secret|host]). Answers that were always secret (password ask,set … ask, git tokens) stay password fields; answers never reach the journal — the step line keeps${NAME}. - Your own services — YAML descriptions (
/etc/netknownsthat/services.d, a hub profile, built-in; the higher overrides,disabledturns off): detection (file, unit, program, container image, process, port), sources — files and globs cached by modification time, the program's HTTP API with interval/timeout and secrets from files on the host, read-only commands without a shell; formats yaml, json, toml, ini, env, properties, “key value” with blocks, xml, regex, text; JSONPath RFC 9535 paths with@key,@fileand transforms (port, host, split, default…),eachwith transforms (parts of a line as separate items); the result — addresses and pools on the map, files in “Configs”, the version and warnings in sources, rule findings in two languages; a file in two descriptions — owner by priority and a conflict finding; a broken description — the last good version keeps working; closed paths (shadow, sudoers, keys, nkt data) are off limits;nkt servicesandnkt services test— the list and the parse log. - Built-in service descriptions: Traefik (entryPoints, dynamic files, services of every provider through the API, version), RabbitMQ (listeners and version through rabbitmq-diagnostics, rabbitmq.conf), Redis, PostgreSQL (every cluster, pg_hba.conf), Mosquitto (listeners with their settings), Envoy (listeners, admin, clusters) — with rules: an unprotected Traefik dashboard, RabbitMQ guest over the network, Redis without a password on all addresses, trust in pg_hba.conf, anonymous Mosquitto login, Envoy admin exposed and more; a found service with a systemd unit appears in “Services” with start, stop, restart and reload.
- Built-in parsers (nginx, HAProxy, Caddy, Docker, Podman, LXD, libvirt, Kubernetes, firewall, fail2ban) are descriptions too (
engine:): a description on the host or in a profile turns them off, changes their paths (the main file, compose files, the libvirt URI, the fail2ban directory) and the priority of their files; a turned-off parser shows in sources with the description; the fixtures host snapshot is pinned by a golden test. - Service descriptions on the hub (“Profiles” → “Services”): a YAML library with edit history and restoring a revision, a parse check on save, built-in ones — viewing and “Override”; a parse log of the draft on a chosen host; a path builder — a file, HTTP answer or command output sample from a host as a tree, a path by click, each/when/field over the sample; “Deliver to hosts” as a job at the “profile” level; hub descriptions in the hub export and import; on a host, descriptions from /etc/netknownsthat/services.d are a “Configs” category with history and a check on write.
- Service description security: command sources run as the nobody user (setpriv, no groups, no new privileges), as root only with an explicit
as_root: true— such descriptions are marked on the hub and written to the audit log; HTTP sources reach only this host: localhost, 127.0.0.0/8, ::1 (the address is checked on connect too, no redirects); secret files can't be closed paths; closed paths are checked by the real path after symlinks. - nkt-edge with roles: deployment webhooks and/or the API, meaning signed API token requests from outside (Bearer, cookies, password login and websockets do not pass, and the token secret never reaches the VPS; the token needs the "through nkt-edge" box); several edges on one hub, on different VPSes and names; roles change by reinstalling. Installing with narrow sudo works with a one-time sudo password (full sudo only for the installation, then the previous rule) or a ready command.
- Traffic Fly (its own menu section): inbound internet traffic through a VPS gateway (nkt-edge in the fly role) over WireGuard tunnels to containers, VMs, LXD and host services with the real client IP; TCP and UDP; 80/443 by name (SNI/Host, PROXY protocol v2), other ports as port-to-pool in the kernel; balancing (least connections, round robin, by client IP), weights, target drain, TCP/HTTP checks; a gateway → route → host → target link map with state and connections, clients as a count (addresses for admins); editing with diff and version history, dry run and apply as a job; events “target down”, “no live targets in pool”, “tunnel down”; keeps working without the hub. A gateway certificate for HTTPS routes: the gateway obtains and renews Let's Encrypt itself, the target gets plain HTTP with X-Forwarded-For/X-Real-IP, http→https. Without the hub: the gateway comes up from its own configuration, hosts rewrite the rule when a container IP changes, WireGuard keys are checked on a timer. Port ranges (coturn relay and the like, ports kept end to end); a
fly:block in compose pipelines — the route is created or only its targets reconciled (new ones after a check, previous ones drained), without overwriting or reissuing the certificate; Apply without changes pushes nothing; MQTT, STUN and coturn examples in the guide. A per-route allowlist of client addresses (enforced by the gateway). Per-client limits (connections and new per second per address), a tunnel ingress filter on hosts, MSS clamped to the tunnel MTU; performance measurements in the guide. Mouse-driven map editing: a container from the panel joins the pool as a reserve, “Switch traffic here” (only to a target that passes its check), drag a target onto another route or into the trash, weight by mouse wheel, a target menu; a draft with “Apply changes (N)” — one revision and one job — or “Apply immediately”; a countdown spinner on targets while a job runs; the last active target cannot be taken away; active targets on top, swapping an active and a reserve target by dragging one onto the other (only to a live target, after a question); on Ubuntu 26.04 with AppArmor the keys live in /etc/wireguard and forwarding and nft rules are set by the nkt-fly-rules@ service after the tunnel. - For a VM target Traffic Fly takes the address from the hub's own record of that machine first, and if the host's machine list does not carry it, or carries no address, the hub rescans the list on the spot instead of waiting for the next inventory run; the refusal tells "the machine is not in the host's list" from "listed, but no IPv4 address", naming the machine's state, where the host looked for the address and when the list was taken.
- Traffic Fly no longer stops applying because of a host that is gone from the inventory: a deleted host is dropped from the applied state — there is nowhere to revoke its configuration, the attempt used to fail the whole apply, and the apply could not clean that state itself because it is only written at the end of a successful run; a host unreachable exactly while its configuration is being revoked is skipped with a journal line and stays in the applied state, so the next apply retries; a refusal with no host name left still names its subject — the route, the target and “#17”.
- Outgoing webhooks: the hub sends events out by itself (n8n, a chat bot, your own system): a host going down and coming back, findings, failed jobs, reboots, bans and deployment outcomes; a choice of events, a host and group scope and a text language; an HMAC signature like on incoming webhooks, delivery retries, "Test", the last delivery outcome and edits with a diff.
- n8n nodes (
integrations/n8n, the n8n-nodes-nkt package): the nkt node for hosts, findings, vulnerabilities, services and containers, deploys and dry runs with waiting for the result, hub jobs, fail2ban, alerts and any token API call; nkt Trigger for the hub's outgoing webhooks with a signature check; alert polling; signed requests (also through nkt-edge); example workflows. - nkt-edge with the "outside checks" role: a hub behind NAT checks sites as the internet sees them (DNS, ports 80/443, HTTPS and the certificate from the VPS); the "Sites" wizard, the site check and the dry run use such an edge by themselves, and "Check from outside" works for any name.
- A Telegram bot: alerts with buttons ("Overview", "Findings", "Log", "Retry") and chat commands: /status, /hosts, /alerts, /pipelines, /deploy and /ban with a confirmation button, /dryrun; the hub polls Telegram by itself, so no way into the hub is needed; chats with a read or admin role and a list of people allowed to act.
- A Slack bot: alerts with buttons in channels and the /nkt command (status, hosts, alerts, pipelines, deploy and ban with confirmation, dryrun); Slack callbacks go through an nkt-edge with the callbacks role or straight to the hub, and every request is checked with the Slack signature; the command core is shared with the Telegram bot.
- Whole-hub export and import: hosts with secrets, groups, machines with parents, clusters, profiles and scripts with history, machine templates, deployment pipelines with history, secrets, webhook address, dry run checks, the .env history and where the stack is deployed, deployment sites, Traffic Fly routes with history and address allocation, container move records (host and gateway numbers remapped by name), fail2ban templates with history, nkt-edge with roles, API tokens, outgoing webhooks and bots, plugins (with secrets; ones installed on a host — with the Settings history without secrets), DNS records through plugins, settings (the Monitoring thresholds, experimental features), the help site address and every AI instruction, web interface accounts by choice; the file is password-encrypted, secrets are re-encrypted with the receiving hub's key; import through a plan with a per-item “skip / replace” choice and a per-section report.
- A centralized trivy vulnerability database for all hosts, refreshed on a schedule and by button.
- A package cache: hosts download .deb files through the hub over a reverse SSH forward (every package comes from the internet once), apt with Proxy-Auto-Detect for http and for https goes direct when the hub is away; a checkbox in the host form, inherited by machines from their host, a card in “About” with a limit and clearing; the same address serves files by URL — the k3s installer and binary with airgap images, the Cilium CLI, the
pkgs.k8s.iokey, machine images, the helm archive and the Longhorn chart tarball. - A copy of the ClamAV signature database on the hub (created by a button in “About”, then refreshed on a schedule, only what changed is downloaded) and its upload to a host as a job — “database from hub” in the “Malware” tab.
- "About": hub version, GitHub release check, update to the latest, rollback to the previous, the new version's notes before installing.
- A "Danger zone" in "About": remove nkt from all (selected) hosts after a required full export, choosing hosts (unticked, "select all / clear all"), a typed-word confirmation, a hub job three hosts at a time; cleaned hosts leave the hub.
- Menu layout in "About": the hub section order by drag and drop; host sections, ordered and hidden for all hosts at once; a diff, version history, reset to default; carried in the hub export.
- Configuration via
hub.env, running as a systemd unit, in Docker Compose or Kubernetes.
Mobile app (Android and iOS)
- A native hub client on Kotlin Multiplatform and Compose Multiplatform: one code base for Android 8+ and iOS 16+, the same API as the web UI, sign-in with a hub account, the session survives restarts; a self-signed hub certificate is pinned on first sign-in.
- Clean Architecture (domain, data, ui), dependency injection with Koin.
- Navigation: hub sections in the bottom bar (at the side on a tablet or a phone on its side), breadcrumbs “Hosts › host › section › object” as the title, Back steps back one level; details (container, config file, job, pipeline) are pages of their own.
- Host list by group: state, problems, Kubernetes role, sudo, an outdated nkt version.
- Hosts map (the Map switch; experimental — turned on in "About" → "Experimental features", clusters too): each host's containers, VMs and LXD as tiles with type, state, image or OS, IP, ports and resources; Traffic Fly routes and deployment pipelines on the left with links in their own colours (reserve dashed, a failing target blinks), link highlighting, wheel zoom at the cursor and panning, "+N more" and "Expand all", filters, up to 5 hosts in one column ("Columns: auto / 1 / 2"); a click opens the section on the host; the whole map exports to PNG with date and legend; moving a Docker container (and its compose stack) to another host by dragging (a step-by-step guide with Forgejo behind Traffic Fly) — a stack is framed together and moves as a whole, a plan with obstacles (including missing external networks), volume and directory data, images, automatic rollback on error, a pipeline's stack together with switching the pipeline and its site to the new host, the old one stays stopped with "Roll back" and "Remove old", a reminder after a week; a move is shown live on the map — a ghost tile on the new host, running data with a percentage, the Traffic Fly route and pipeline lines switching, a site label (GET /hub/migrate/live).
- Host management: adding (password, own key or a hub key with the authorized_keys line), installing, updating and reinstalling nkt as a hub job with a log, the install log, moving to a group, deleting (from the hub only or cleaning the host); groups — create, rename, delete.
- Host sections: overview, problems with jumps to the right section, terminal and btop, logs, services, containers (Docker with “Inspect”, Podman, LXD, VMs, images), vulnerabilities, ClamAV, availability, usage with Kubernetes nodes and a chart, configs with history and rollback, firewall, certificates, interfaces, a touch resource map, users, jobs, fail2ban, audit log; reboot with a preview of what will not come back by itself.
- Hub sections: alerts with a jump to the host, hub jobs, monitoring, fleet fail2ban, deployments (deploy, dry run, history and rollback, old stacks).
- Phone notifications for hub alerts (polled every 15 minutes; kinds as in the hub's alert settings); tapping one opens the host at the right section.
- Jobs come with a live log and cancel.
- A full-screen terminal: in tmux when the host has it, re-attaching to the session after a dropped connection, with a menu of tmux actions (windows, splits, scroll mode, mouse); without tmux — a plain shell and a tmux install with live output.
- A libvirt machine's screen (VNC or SPICE) and an LXD VM's (SPICE) on Android — the hub's page in an embedded browser signed in as the app, with an Esc/Tab/arrows/Ctrl+Alt+Del bar and the on-screen keyboard.
- The console of a Docker or Podman container (with a choice of user), an LXD instance and a libvirt machine (serial, Enter on connect) — in the same full-screen terminal.
- Charts of “Usage”, an availability target's history and a host in the hub's monitoring (CPU, memory, load, disks); a finger on a chart shows the bucket's time and values, and the readout stays until a tap outside.
- Interface scale 80–115 % or your own from 50 to 100 % (90 % by default): text and spacing together; button rows wrap; rotating the screen does not interrupt the terminal.
- Russian and English interface: follows the phone language or the choice on the sign-in screen and in About; server messages come in the same language.
- A signed APK in every release (
nkt-android-<version>.apk) and separate beta releases of the app; the app version matches the nkt version; the iOS version is built from source (a simulator build in CI, started by hand), not published to the App Store.
Terminal UI (nkt tui)
- The same data in a terminal: overview, findings, resource map as a tree, services, containers, certificates, configs, availability and load.
- Service and container control, certificate renewal, config rollback.
- A config editor with key hints and an unsaved-changes mark; version history in one window (
vorF2from the editor): diff, rollback with or without a service reload; a spinner with seconds for long actions; windows fit the terminal size. - In Russian and English.
Command line
- In-app help: the "?" icon next to a section title opens the documentation section for the current page in a window (detachable into a separate window); the site address — the project site or your own — is set in "About".
nkt serve— start the web UI;nkt scan— a one-off scan to JSON;nkt version.nkt usersandnkt passwd— accounts and passwords without the web UI.nkt hub— start the hub;nkt hub import— restore the registry;nkt hub delete— complete removal of the hub's data with an export offer.