Skip to content

Limitations ​

What nkt deliberately doesn't do or can't do yet.

Platform ​

  • Linux only (amd64, arm64, 32-bit ARM). On Windows and macOS only the fixtures snapshot mode works.
  • OS package upgrades, new host preparation by the hub, vulnerabilities inside guests — Debian/Ubuntu only (apt-get, dpkg).

One host — one database ​

Each nkt manages one host: its own map, configs and database. Several hosts — only through the hub, which proxies to each of them, not through a shared data model.

Network and firewall ​

  • ufw and firewalld rules are written; editing iptables directly is deliberately not supported. iptables/ip6tables, ufw and firewalld are read — pure nftables (without the iptables-nft layer) isn't parsed.
  • The declared-not-listening rule needs ss. It stays silent if the socket table confirms none of the declared ports (a different network namespace is being read). Published container ports aren't checked by this rule: with userland-proxy: false Docker forwards them via DNAT, there is no listener on the host.

Web servers and runtimes ​

  • nginx, haproxy and Caddy are supported. Traefik and Envoy would need a new parser in internal/parse.
  • Classic LXC (lxc-ls/lxc-info) isn't supported — LXD only. Podman Quadlet isn't parsed — only the list of running containers is visible.
  • The SPICE screen — only a plain (not TLS-only) port; a machine's serial console doesn't pass the window size, the guest assumes 80×24.
  • A libvirt guest password is set through qemu-guest-agent, and the user must already exist; for LXD a missing user is created.

Certificates ​

  • The "what does the socket actually serve" check is one TLS connection per certificate, to its first known address. Several certificates by SNI on one port — the first one is checked. Not done in fixtures.
  • A self-signed certificate doesn't remove the browser warning. TLS directives are added to the config by hand through the editor (with the same validation and automatic rollback).
  • Let's Encrypt issuance is --standalone: no wildcards, nginx/haproxy stop during issuance and renewal.

Vulnerabilities ​

  • Vulnerabilities inside guests — Debian/Ubuntu packages only. LXD VM packages are read through lxd-agent, libvirt machine packages through qemu-guest-agent; a guest without the agent is skipped with a warning.
  • A machine node on the resource map shows the host's own latest scan; a scan made by the hub is not reflected there.

fixtures mode ​

Config validation in fixtures always "passes" — the failure path is tested on the test stand or a real host. Probes and metrics are simulated.

Hub ​

  • The hub is the single point of access to all hosts; treat it like a machine with production access.
  • One replica: the registry is SQLite. No horizontal scaling and no failover pair — there is export/import.
  • Kubernetes clusters from the hub are experimental: no rollback, start with a dry run. Three control planes work for kubeadm too — with a shared address (endpoint); on that address the hub puts a Traffic Fly listener, but only where the address points: your own VIP or someone else's balancer is left alone, and with no gateway on the hub the shared address has to be served outside it.
  • A Traffic Fly route bound to a cluster takes its targets from the cluster's nodes. A target drained by hand is not counted as drift — but the first real rewrite clears the drain, so a machine cannot be kept “drained” that way for long. The watch wakes the job for a cluster no more than once every 10 minutes (the button has no such restraint). The shared address listener is not rewritten by the automation: it carries control planes only.
  • Scripts are experimental: no rollback, and the language deliberately has no arbitrary shell commands.
  • The registry mirror caches public images only.
  • The cache does not serve helm OCI repositories (oci://…): helm goes there with its own registry client, and through the cache address such a request is only tunnelled — it does not settle in the cache and is not replaced by the /v2/ mirror. What comes over http(s) does: the helm archive, the chart tarball, the index of an ordinary repository (it changes, so it passes through the proxy but is not cached).

Deployments ​

  • No image building — that's CI's job or yours.
  • Polling and registry watching start after the first deployment with the button.

Automation and bots ​

  • Only the hub has API tokens; a standalone nkt on a host does not accept them.
  • A scoped token cannot reach cluster or hub script pipelines, only compose stacks whose hosts are all in its scope.
  • Through nkt-edge only signed token requests pass (Bearer does not).
  • The Telegram bot polls Telegram by itself: one bot token means one hub (a second hub with the same token would take the first one's updates).
  • Slack does not work without a way into the hub: it needs an nkt-edge with the callbacks role or a hub reachable from the internet.
  • The n8n node is not published to npm: it is installed from the release archive or built from the repository.