Skip to content

Templates

ainfra embeds its built-in templates in the release binary. Their reviewed source remains under templates/; each directory contains an ainfra-template.yaml manifest and a template-specific README.

TemplateSourcePurposeStatus
hetzner-kubernetes-baselinetemplates/hetzner-kubernetes-baselinePrivate-networked, hardened Debian 13 hosts prepared for a later Kubernetes installationInitial validated template

The binary does not currently use an external registry or download templates at runtime. Clone the repository only when you want to inspect or adapt source.

Inspect locally

find templates -mindepth 2 -maxdepth 2 -name ainfra-template.yaml -print
ainfra validate hetzner-kubernetes-baseline \
  --input templates/hetzner-kubernetes-baseline/inputs/example.input.yaml

The identifier supplied to the CLI is the directory name, not a filesystem path:

ainfra plan hetzner-kubernetes-baseline \
  --input /path/to/environment.input.yaml

For selection and extension guidance, see the template strategy and template authoring guide.

Last updated on