Skip to content

Infrastructure ​

How Nanokit provisions and operates the substrate your services run on.

Pages ​

PageWhat it covers
Fleet ProvisioningDeclaring instances, roles and scaling in infra.instances
KubernetesLive cluster deploys (infra.target: kubernetes) vs. the offline export k8s / export helm escape hatches
Persistent Storage & VolumesNamed volumes locally, EFS on AWS, block storage on DigitalOcean
Mail & SMTPSelf-hosted mail vs. managed providers (SES, ACS, plain SMTP)
  • Providers — the capability matrix: Docker, AWS, Azure, GCP, DigitalOcean (plus Cloudflare for DNS only).
  • infra configuration — the nanokit.yml block.
  • nkapp infra — apply, inspect live resources, destroy, unlock.
  • Edge Networking — the Caddy gateway, TLS and DNS sync.

Keeping a host healthy ​

Infrastructure that is never cleaned up eventually fails a deploy. Detection is automatic in nkapp doctor (Container Hygiene and Image Space); removal is explicit and guarded: