Skip to content

Concept

Talos rendering

You do not write Talos machine configs. You write a TalosCluster for the shared part and a TalosNode for each machine. The operator renders the config of each node into a Secret.

TalosCluster, TalosNode and the secrets bundle go into the renderer. The result is a Secret named after the node and the digest of the config.TalosClusterversions, endpoint, patchesTalosNoderole, disk, networkSecrets bundleCAs and tokensRenderfor status.renderedForSecretmachineconfig-<node>-<digest>
Like a shared kickstart part and a per-host part, but rendered for the Talos version that the node runs.
Machine config
The full configuration of one Talos node. It holds the keys of the cluster.
Patch
A part of a Talos config that you add on the TalosCluster or the TalosNode, for example ResolverConfig.
schematic
The kernel arguments and system extensions of the installer image. The image factory builds the image from it.
Rendered for
The Talos version that the operator renders a config for. Usually this is the version of the cluster. A node that runs an older version that the renderer supports keeps that version until a TalosUpgrade moves it.
  1. Each config is a new Secret, named by its digest. The operator never changes a Secret in place. See Drift.
  2. A running node does not get a new config by itself. A Config rollout applies it, see Rollouts.
  3. If the Talos and Kubernetes versions cannot go together, Rendered is False with UnsupportedVersionPair. The last good config stays.
  4. The operator refuses a TalosNode without an install disk selector.
  5. The patches of the TalosCluster apply to each node. A document that Talos allows on control planes only, for example KubeAuditPolicyConfig, goes to the control planes only. In the patches of a worker TalosNode, such a document stops the render.