How the layers fit
The Kubernetes API is the only contract between the two layers. Talos keeps it healthy and secure; the Ankra Agent uses it for everything Ankra deploys and observes.What Talos gives you
- Immutable and minimal. A read-only root filesystem, no package manager, no shell and no SSH, so there is very little on a node to patch or attack.
- API-managed. Every node is configured from a machine config through the
talosctlAPI, authenticated with mutual TLS. - A declarative node lifecycle. Bootstrapping, joining nodes, OS upgrades and Kubernetes upgrades all go through the same API.
- Secure defaults. Hardened kernel and services, KubeSpan for encrypted node-to-node networking, and disk encryption.
- Runs anywhere. Bare metal, VMs, Proxmox and the major clouds, often managed at scale with Sidero Omni.
What Ankra adds that Talos leaves out
Each row is something a Talos team otherwise has to build and run itself.
Talos secures and runs the machine; Ankra runs what the machine is for.
Connect a Talos cluster
1
Build the cluster with Talos
Create it as you normally would -
talosctl gen config, talosctl apply-config and talosctl bootstrap, or a cluster in Omni - and confirm the Kubernetes API is healthy.2
Import it into Ankra
A new organisation needs a payment method saved before it can import a cluster; the free playground runs without one. Go to Clusters, import a cluster (Connect a cluster in the new portal), and run the
helm command Ankra shows against the Talos cluster. Import an existing cluster walks through it. ankra cluster agent token prints the cluster’s agent token again if you need it.3
Check the connection
4
Declare the platform in Git
Write an Check it, stage it for review, then apply it:
ImportCluster file that points at your GitOps repository and declares your first Stack:5
Add the rest as Stacks
Monitoring, cert-manager, storage, policy and your applications each go in their own small Stack, with every chart version pinned.
Who owns what on day 2
Each recurring task has exactly one owner, so the two never fight over the same object.
Keep the talosconfig with a small infrastructure group and give everyone else access through Ankra, so developers and on-call engineers never need cluster-admin credentials.
Things to know
- Pod Security admission. Talos enforces the
baselinePod Security level in every namespace exceptkube-system. A workload that needs host access needs its namespace labelledpod-security.kubernetes.io/enforce: privileged. That covers the node agents of monitoring, log shipping and backup stacks, such as node-exporter, Promtail and Velero’s node agent, which mount host paths or use the host’s network, and a CNI or storage driver installed outsidekube-system. Ankra does not add the label for you. Until those namespaces allow privileged pods, the node agents behind the metrics, logs and backups rows above are refused. In a Stack you write, put the label on the namespace manifest, so it is in Git with everything else. Ankra’s backup stack owns itsveleronamespace, so exemptvelerothrough Talos’s Pod Security configuration (exemptions.namespaces) instead. - The CNI. Talos ships Flannel by default. To run Cilium instead, install it while you build the cluster, before you import it into Ankra: set
cluster.network.cni.name: nonein the machine config and install Cilium as Talos documents it, for example as an inline manifest in the machine config or withhelm installright aftertalosctl bootstrap. Ankra cannot install the first CNI: until one runs, the nodes stayNotReadyand the Ankra agent cannot be scheduled. Upgrade Cilium the way that method documents; an inline manifest, for example, changes through the machine config andtalosctl upgrade-k8s. - No second GitOps controller. Ankra’s engine syncs your Stacks from Git, so you do not need to run another one beside it.
- Omni works alongside Ankra. Omni manages Talos machines and clusters; Ankra manages what runs inside them. They sit on different layers.