Skip to content

Compatibility

This page documents Tsunaro v0.26.1, an archived release. Current documentation.

Versions and verified platforms live here; the functional boundaries (TCP-only agents, SNI/Host routing, one policy writer, IPv4 gateway) are collected in Limitations .

Supported platforms

ComponentSupportedNotes
Kubernetes≥ 1.31CRD admission uses the CEL IP library; tested against 1.31 and 1.36
Headscale0.29.xREST API for nodes, keys and policy; POST /api/v1/policy/check is required for operator-owned policy
Headscale 0.28.xdetected, not supportedPreflight reports HeadscaleCompatible=False/Incompatible; L4 egress/ingress with a hand-maintained policy still works
Headscale policy modedatabase for operator-owned policy; file for read-only operationIn file mode the operator renders but never writes (PolicyApplied=False/PolicyModeFile)
cert-managerany release serving cert-manager.io/v1Only needed for TailnetIngress.spec.tls.issuerRef; Issuer and ClusterIssuer
CNINetworkPolicy supportconsumerNamespaces isolation is a NetworkPolicy; ICMP handling is CNI-specific
Helm3 or 4Chart has no CRD dependencies by default; monitoring objects are opt-in
Architectureslinux/amd64, linux/arm64One multi-arch image carries operator, agent and gateway; the pinned tailscale/coredns gateway digests are multi-arch indexes

Route diagnosis and sites on a spoke (v0.26.1)

Controller-only; the CRDs change in one description text (reservedNetworks), no field or validation changes, and the agent image is unchanged — with a pinned agentImage no agent rolls. Two status changes can appear after the upgrade:

  • TailnetEgress: a default route no longer covers a target. A target that only an exit node’s 0.0.0.0/0 or ::/0 reaches reports NotAdvertised — also when that default route is in the agent’s netmap, where the target used to count as routed. Such an egress newly reports RoutesGranted=False and Ready=False; the agent keeps forwarding as before. Before the upgrade, check that every egress target lies inside an approved site route.
  • TailnetSite on an Export tailnet reports its observed state instead of a standing Unknown/NotObserved: Ready=False/NotApproved until the hub has merged the fragment and approved the route, then Ready.

Status clarity: reasons, columns, events (v0.26.0)

Additive and status-only; no CRD field changes and no image behaviour change, so no resource rolls.

  • kubectl get columns changed. The READY column now prints the Ready reason instead of True/False (so a not-ready resource reads e.g. SourceTagUnknown at a glance); TailnetEgress gains an ADDRESS column and TailnetGateway an AGE column (both wide-output, -o wide). Applying the v0.26.0 CRDs (task crd-upgrade) refreshes the columns; scripts that parsed the old READY=True/False text must read .status.conditions[?(@.type=="Ready")].status instead.
  • New status reasons. TailnetIngress may report PolicyGranted=False/SourceTagUnknown (an allowFrom tag: source is not yet declared in the policy — the other sources stay granted) and, for mode: http, TLSReady=False/TLSChainInvalid. The chain check only runs when the TLS Secret carries a ca.crt; an ingress whose leaf does not verify against that ca.crt newly reports TLSReady=False after the upgrade — this is a report, not a regression: the agent keeps serving the same leaf. TailnetEgress may report TargetsReachable=False/NameUnresolved for a target name that does not resolve.
  • Ready-change events. TailnetIngress and TailnetEgress now emit a ReadyChanged event on every Ready-reason transition (kubectl describe), so a flap is visible without log scraping.

Bridge names on HTTP ingresses (v0.25.0)

CRD extension, additive: TailnetIngress.spec.exposes[].bridgeNames, status.exposes[].bridgeNames and Tailnet.spec.bridgeNameAllowlist need the v0.25.0 CRDs (task crd-upgrade); without them the fields are pruned at admission and the ingress behaves as before. Controller v0.25.0 adds the names to the certificate and to the agent’s per-target dnsAliases, which every v0.6.0+ agent already serves; the agent image is unchanged in behaviour. Existing ingresses without bridgeNames render byte-identical targets and do not roll.

Egress bridge and DNS-named targets (v0.24.0)

CRD extension, additive: TailnetEgress.spec.expose and Tailnet.spec.exposeSourceAllowlist need the v0.24.0 CRDs (task crd-upgrade); without them the fields are pruned at admission. Controller v0.24.0 renders exposed target Services as LoadBalancers and reports the Exposed condition; the agent image is unchanged, no agent rolls. Behavioural change for existing DNS-named egress targets: they no longer wait for a /32 route (status.targets[].route empty, present true) and can become Ready; previously they stayed RoutesGranted=False/RoutesMissing.

Persistent ingress identity and spoke status (v0.23.1)

Operator and agent images must move together to v0.23.1 (v0.23.0 was not accepted by the release audit): the controller renders a ServiceAccount and a state Secret per TailnetIngress and sets TS_STATE_SECRET, which an older agent ignores (it would keep registering ephemeral nodes while the operator already stops deleting them as duplicates). Each existing ingress rolls once and comes back as a new, now persistent node; from then on Pod restarts keep node ID and tailnet IP. The chart’s tailnet-operator-workloads ClusterRole gains get/create/patch on serviceaccounts, roles and rolebindings. Spokes (policy.mode: Export) report PolicyApplied=True/HubMerged or False/HubPending instead of a standing False/Export.

HTTP extension compatibility (v0.5.0)

Existing L4 and HTTP CRs retain their behavior when the new fields are absent. Backend TLS and HTTP timeouts require v0.5.0 CRDs, controller and agent images. Check Tailnet.spec.proxy.image and TailnetIngress.spec.image overrides during upgrade.

ConfigurationAgent envelopePod protocol annotation
Existing L4Legacy arrayNone
Existing HTTP without extensionsVersion 1http-v1
Any backend TLS or timeout settingsVersion 2http-v2
Multiple HTTP exposes, a dnsLabel, or an aliasVersion 3http-v3

Virtual hosts and aliases (v0.6.0)

Several mode: http exposes per ingress, per-expose dnsLabel, and the optional short alias require v0.6.0 CRDs, controller and agent images. The version-3 agent envelope adds a certificateDNSNames policy and per-target dnsAliases; an old agent rejects it outright rather than serving a subset. DNS names (including egress aliases) are arbitrated oldest-owner-wins across one Tailnet; the losing CR reports DNSNameConflict and is withdrawn — replacing the previous purely lexical hosts-file de-duplication. ingressAliasTemplate must share the zone of ingressNameTemplate.

Old agents reject the new envelope rather than silently ignoring security settings. The Recreate strategy and changed tsunaro.io/agent-config-protocol annotation retire the old process on a protocol transition. HTTP ingresses also carry a static tsunaro.io/agent-http-config digest of expose configuration and TLS/Tailnet references. A separate marker tracks the resolved TLS source, including a Tailnet-default issuer. On upgrade to v0.6.0, every existing HTTP ingress retires its agent once, including single-expose v1 and v2 ingresses, because this source marker is absent. A missing or changed marker first scales the owned Deployment to zero and waits for its Pods to disappear, before checking Headscale dependencies. This also protects a timeout-only v2 ingress when backend TLS is added. Missing dependencies cannot restore the plaintext predecessor. Recovery installs the new configuration before restoring replicas. All exposes on that ingress are interrupted during retirement. Failed Kubernetes writes or stuck terminating Pods delay the transition; the operator does not force-delete Pods.

CA content changes do not restart the Pod. New requests use the projected bundle; old idle connections close and established streams finish. Kubernetes projection delay and existing streams mean CA removal is not immediate connection revocation.

Before downgrading below v0.5.0, move extended ingresses to a verified legacy gateway path. Do not remove backend TLS to make old agents accept the configuration. The two timeout fields do not reproduce Envoy connection-idle or stream-idle policies; review those separately before migrating applications.

Gateway API scope

The TailnetGateway CRD is fresh-only and defaults to suspend: true. Explicit false activates fresh-only IPv4 creation; existing gateways are never adopted or replaced. The operator/chart require this fourth CRD, gateway read/status authorization and operator-namespace get/create/delete for StatefulSets, PDBs, ServiceAccounts, Roles and RoleBindings plus patch on tailnetgateways for the teardown finalizer. StatefulSets additionally get update, used only to follow image/dns.image and the planned routes in the Pod template (OnDelete: no Pod restart; WorkloadCurrent reports staleness); the LoadBalancer Service gets update for service.poolLabels. Suspension freezes reconciliation, not the running Pod. The completion receipt is format 3 and pins identity fields only: deletionPolicy, suspend, static records, routes, pool labels and unrelated Tailnet fields no longer block a running gateway, and a changed identity field reports IdentityChanged. Gateways created by 0.9.0 or earlier carry a format-1 or format-2 receipt; delete them with deletionPolicy: Delete and recreate. CR deletion retains resources unless deletionPolicy: Delete explicitly consents to the UID-preconditioned teardown. Partial creation remains blocked without automatic remint or rollback. The derived -coredns ConfigMap is reconciled live from the Tailnet hosts source via a CAS writer; the DNSReady condition reports the writer verdict. Gateways rendered by versions before this slice carry no DNS CAS annotations and permanently report DNSReady=False/DNSUpdateBlocked; delete and recreate with deletionPolicy: Delete to migrate. Do not treat CR acceptance or observed generation as runtime, DNS or identity evidence. See the gateway reference .

The legacy tailnet.this-is-fine.io → tsunaro.io ownership-inventory helper supports exactly the original three kinds. Discovery of TailnetGateway deliberately blocks that helper, even with no gateway instances. Complete the legacy handover using the reviewed three-kind API set before installing the gateway CRD. Do not invent a legacy gateway kind, omit discovered resources, or delete a CRD to bypass this guard. A broader migration contract requires separate review.

Preflight matrix

The Tailnet controller derives these conditions from the API response shape, not from a version string:

HeadscalePolicy modeHeadscaleCompatiblePolicyMode
0.29.xdatabaseTrue/CompatibleTrue/Database
0.29.xfileFalse/IncompatibleFalse/File
0.28.xdatabaseFalse/Incompatible (no policy/check)True/Database
0.28.xfileFalse/IncompatibleFalse/File

SplitDNS is independent of the Headscale version: it is read back from the netmap of a running agent (True/Configured, False/Missing, False/Mismatch) and Unknown/CannotVerify only while no gateway or no online agent binds the Tailnet. See preflight for the condition semantics.

Test coverage

SuiteCommandWhat it exercises
Unit and chart contractstask test, task chartPolicy rendering, key rotation, port assignment, route diagnosis, Helm rendering, alert rules
Admissiontask test-validationEvery CRD validation rule against a disposable API server (envtest), including the negative fixtures in deploy/examples/invalid/
Headscale integrationtask e2eThe production manager against envtest plus real Headscale 0.28.0 and 0.29.6 binaries: preflight, policy lifecycle, retry/backoff, key rotation, approval replay, DNS hosts rendering, credential redaction
Clustertask e2e-kindRootless kind: Helm installation, two-replica leader failover, agent-to-peer HTTPS, Headscale over HTTPS, HTTP ingress with cert-manager issuance and renewal

task e2e-full chains all of the above, in the order CI runs the first three, and then every kind selection. All suites run without a kube-context and never touch an existing cluster; task e2e downloads checksum-pinned Headscale and envtest assets into ~/.cache/tailnet-operator-e2e. See CONTRIBUTING for prerequisites.

Source: docs/reference/compatibility.md at v0.26.1 — found a mistake? Tell us.