Title here
Summary here
These are annotated cloud-config documents for the common types of node. Each one is a complete, working document. Copy it, change the addresses and keys, and boot.
The files are in
docs/examples/ in the repository. Each file has
comments that explain what a field does and why it is there. The links below
open the files on GitHub.
Before you boot anything, validate the document:
corium-agent validate node.yamlValidation works offline and reports all problems at the same time.
| Example | What it builds |
|---|---|
single-node.yaml | The smallest useful node: a complete single-node cluster in a few lines |
worker.yaml | A worker that joins an existing cluster with a token |
controller.yaml | A control-plane node |
| Example | What it builds |
|---|---|
ha-controller-first.yaml | The first of three controllers. It creates the token that the other controllers need |
ha-controller-join.yaml | The second and third controllers. They wait for that token |
See HA cluster for the procedure that uses these files.
| Example | What it builds |
|---|---|
custom-cni.yaml | cni: custom, with the CNI installed as an add-on. See
Cilium |
wireguard-overlay.yaml | A node whose cluster traffic runs over an encrypted host overlay. See WireGuard overlay |
stretched-controller-calico-wireguard.yaml | A controller in a cluster split across two sites |
stretched-worker.yaml | A worker on the other site of that cluster |
raid.yaml | A node that mirrors its two spare disks and puts the Kubernetes state on the array. See Software RAID |
kubernetes-version.yaml | A node pinned to a Kubernetes version that is not the floor of its image, pulled from an internal mirror. See ADR 10 |
| Example | What it builds |
|---|---|
backup.yaml | A controller that makes a snapshot of its own control plane every night on an NFS mount, and keeps two weeks of snapshots. See reference §3.18 |
| Example | What it builds |
|---|---|
manifests.yaml | MetalLB, installed as a chart and configured with plain Kubernetes YAML in the same document, through manifests[] |
| Example | What it builds |
|---|---|
managed-node.yaml | A worker that you can reach with cctl. It shows each way that an operator CA can arrive |
awaiting-config.yaml | A node that boots and waits for someone to tell it what it is. One identical document for a whole fleet, with no secrets |
See cctl for the commands that control these nodes.
| Example | What it builds |
|---|---|
escape-hatch.yaml | k0s.patch, write_files and runcmd next to the corium: block, for everything that the schema does not model |
standalone.yaml | The schema alone, with no cloud-config wrapper. Use it for /etc/corium/config.yaml, a kernel command line, or an image default |