This page is generated from the config’s JSON Schema, schema/anastro.config.schema.json. To regenerate it after changing a config type, run just codegen, then pnpm gen:config in sites/docs.
A cluster’s config repo holds one anastro.toml for the whole cluster and one nodes/<name>.toml per node. Each node runs the two merged, the node file winning on conflicts. To check the repo and see what a node gets:
Terminal window
anastroctlclustervalidate
anastroctlclusterconfigrender-n<node>
Keys that hold credentials take a secret reference, "secret:<path>", never the value: values go in the encrypted secrets bundle, secrets.age, with anastroctl cluster bundle set <path>. Keys with neither a default nor “required” are optional. Unknown keys are rejected.
Public keys (hex, as anastroctl cluster key operator prints them) whose signatures nodes accept on new configs. Checked against the config a node runs, so a config can rotate them.
deploy_keys
array of string
[]
Public keys CI applies configs with: nodes accept a config one signs only if it changes nothing outside the built-in deploy allowlist (apply::deploy_may_change). They can’t change these lists.
plan_keys
array of string
[]
Public keys that may read nodes’ running configs and status, for plans on pull requests. They can’t sign anything.
Cloudflare Tunnel: a locally managed tunnel whose ingress machined renders, so it carries only the hooks hostname and each control-plane node’s relay hostname, never the API or the UI.
Accepted, but nothing reads this table yet.
Key
Type
Default
Description
enabled
boolean
false
tunnel_id
string
The tunnel’s UUID, as cloudflared tunnel create prints it.
credentials
secret reference
The tunnel’s credentials JSON (~/.cloudflared/<tunnel_id>.json).
hooks_hostname
string
Where GitHub’s webhooks, redirects and /.well-known/anastro are served, e.g. hooks.example.com.
healthz_watchdog
boolean
true
Stop cloudflared on a node whose hooks listener fails /healthz.
Extra relays not run by control-plane nodes, e.g. fallback hosts with roles = ["relay"].
run_relay
boolean
false
Every control-plane node runs anastrod relay, reachable at its node.iroh.relay_url.
control_plane_relays
table of string
Each control-plane node’s node.iroh.relay_url. Filled in from the node files when rendering a node’s config, like network.private.members: a worker’s host agent reaches the control plane through them.
Each control-plane node’s private address. Filled in from the node files when rendering a node’s config: a node receives only its own config, but etcd, Patroni and apid need to reach every member.
A named object store, referenced by backup.store, filesystem.store and pidurable.payload_store.
Key
Type
Default
Description
provider
string
required
account_id
string
r2: the Cloudflare account the bucket is in.
bucket
string
r2, s3.
prefix
string
r2, s3: every object goes under it, e.g. pg/. Ends with /.
endpoint
string
s3: the service endpoint, e.g. https://s3.us-east-1.amazonaws.com (default: AWS’s for region).
region
string
s3: the bucket’s region (default us-east-1).
path_style
boolean
s3: address the bucket in the path (<endpoint>/<bucket>/…) rather than the host name. Default true, which Garage, SeaweedFS and MinIO need; AWS takes either.
sts_role_arn
string
s3: the role runners’ read-only credentials are minted from, with STS AssumeRole and a session policy. Required for the workspaces store.
path
string
Directory for provider = "local".
access_key_id
secret reference
secret_access_key
secret reference
replication
integer
garage: copies of every object, each in another storage node’s zone. Default 3.
org_quota_bytes
integer
garage: stored bytes each organization may own. Default 100 GiB.
read_only
boolean
Nothing writes to it: what anastroctl cluster storage migrate leaves of the store it copied from. No feature may use it.
Every node with the storage role. Filled in from the node files when rendering a node’s config, like network.private.members: Garage’s nodes find each other, and every node that uses a garage store finds its gateways, through them.
A node with the storage role, as other nodes see it.
Key
Type
Default
Description
address
string
Its private address, the first of its first interface’s.
Where host agents fetch machines’ Nix environments from. Hosts build nothing: an environment must be in one of these caches, signed by one of these keys.
The package firewall (docs/package-firewall.md): on Linux workers, machines’ web connections go through each host’s egress proxy, which decrypts and checks those to the public npm, PyPI, crates.io, Go, RubyGems and Maven Central registries. Versions OSV reports as malware are left out of metadata and refused as downloads, and versions newer than cooldown are left out of metadata. enabled is the only way to turn it off: machines can’t opt out.
Key
Type
Default
Description
enabled
boolean
true
cooldown
string
"1d"
Versions published less than this long ago are left out of metadata, so installs pick the release before. 0s: no cooldown.
cooldown_exempt
array of string
[]
Package names the cooldown doesn’t hold back. A trailing * matches any rest: @myorg/*.
fail_open
boolean
false
When OSV can’t be reached: allow what can’t be checked, and log it, rather than refuse it (503).
Where the firewall fetches from: the public registries, or a commercial or self-hosted firewall in front of them (Socket, Endor, JFrog, Nexus,…). Each is an http(s) URL ending in /. The firewall’s own checks still run in front of it.
Let MCP servers, and the authorization servers they name, be at loopback, link-local, private and CGNAT addresses and the cluster’s own networks, which apid otherwise refuses. For dev clusters.
Resource limits for downloading and staging an OS release.
All byte and time limits must be finite. Validation rejects values above the hard caps below. Redirects stay on the release URL’s scheme, host and port; max_redirects = 0 disables them. Downloads ignore ambient proxies and compressed content encodings.
Key
Type
Default
Description
max_artifact_bytes
integer
17179869184
Maximum bytes in one UKI or raw partition image. Hard cap: 64 GiB.
max_release_bytes
integer
34359738368
Maximum bytes read across the manifest, signature, and all artifacts. Hard cap: 128 GiB.
max_manifest_bytes
integer
1048576
Maximum bytes in SHA256SUMS, its signature, or signed-image metadata. Hard cap: 8 MiB.
min_free_bytes
integer
1073741824
Free space kept on the staging filesystem while downloading. Hard cap: 1 TiB.
connect_timeout
string
"10s"
Maximum time to establish a connection. Hard cap: 60s.
first_byte_timeout
string
"30s"
Maximum time from a request until its response headers arrive. Hard cap: 2m.
idle_timeout
string
"30s"
Maximum time between reads from a response body. Hard cap: 5m.
total_timeout
string
"1h"
Maximum time for the complete release download and verification. Hard cap: 4h.
max_redirects
integer
3
Maximum same-origin redirects per artifact. Hard cap: 5.
max_concurrent
integer
2
Maximum artifact downloads in flight at once. Hard cap: 4.
max_headers
integer
64
Maximum response header count. Hard cap: 128.
max_header_bytes
integer
32768
Maximum combined response header bytes. Hard cap: 65536.
This node’s home relay: the only relay its endpoint registers with, so its address is static (node ID + this URL) and needs no discovery. With iroh.run_relay it is this node’s own relay; otherwise one of iroh.relays.