Skip to content
Conditions and reasons

Conditions and reasons

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

KindConditionsNotable reasons
TailnetApiReachable, ApiKeyValid, HeadscaleCompatible, PolicyMode, SplitDNS, UsersUnique, PolicyRendered, PolicyApplied, SpokesReady (only with policy.spokes[])Reachable / Unreachable / Unhealthy (database down); Valid / Rejected / Error; Compatible / Incompatible / CannotVerify / ProbeFailed; Database / File; Configured / Missing / Mismatch (split zone read back from an agent’s netmap and compared with the gateway LoadBalancer IP) / CannotVerify (no bound gateway or no online agent); Unique / Duplicate (two Headscale users share a name — every policy write is rejected until one is destroyed; status.userConflicts counts them) / CannotVerify; Rendered, BaseMissing, BaseInvalid, PolicyEmpty (refused: would lock everyone out), FragmentMissing / FragmentInvalid (a listed spoke fragment is absent, carries a non-additive block or steps outside the hub’s limits — owners, approvers, allowlist, tcp ports, reserved networks; render fails closed, nothing written); DryRun, InSync, Applied, HubMerged / HubPending (spoke: the live policy carries all / not yet all of its exported entries; status.policy.appliedHash is set only when merged), Export (spoke: fragment rendered, control server not readable), PolicyModeFile (write skipped), PolicyRejected (Headscale refused; old policy stays), ApplyFailed, NoAPIKey; AllMerged / SpokeUnreachable / SpokeFragmentInvalid / ApprovalPending / NothingApproved (worst spoke wins; the per-spoke verdicts are in status.spokes[].conditions)
TailnetEgressTagKnown, Registered, RoutesGranted, TargetsReachable, Exposed (only with spec.expose), ServiceConflict, ReadyKnown / Unknown / PolicyPending (tag not in live policy yet); Registered / NotRegistered / WorkloadBlocked (agent pod refused by admission — LimitRange/quota/PodSecurity; message carries the admission text); RoutesMissing, Unreachable, ProbeFailed (agent not scraped — NetworkPolicy or pod down; nothing is known about routes/dials); Exposed: AddressAssigned / PendingAddress (a target Service has no LoadBalancer address yet) / Denied (an allowFrom prefix is outside the Tailnet’s exposeSourceAllowlist; rendered without the expose); Conflict (target name taken by a foreign Service); Ready false with NoTailnet, NoAPIKey, TagUnknown, otherwise with the reason of the first blocking condition (NotRegistered, RoutesMissing, ProbeFailed, Unreachable, PendingAddress, Denied); per target status.targets[].reason ∈ NotAdvertised, NotApproved (re-approved by the operator on the next policy reconcile), NoGrant, ProbeFailed — empty for a MagicDNS-named target, which has no route (route empty, present true)
TailnetSiteRouteConflict, UnmanagedOverlap, Advertised, Approved, ReadyOverlapsReserved / OverlapsSite (blocked, nothing rendered; the older site is untouched); Unmanaged (a node without an advertiser tag advertises an overlapping route — report only); NotAdvertised / NotApproved (exact-prefix match on advertiser nodes); NotObserved (control server not queried); Ready false carries the first blocking reason in the order RouteConflict, Advertised, Approved
TailnetGatewayRegistered, RoutesInSync, DNSReady, StaleNodes, ClusterDNSForward, WorkloadCurrent, ServiceReady, ReadySuspended; Provisioning / FreshBlocked / IdentityChanged / FreshRuntimeReady (Ready); Approved / NotApproved (routes); PodCurrent / PodTemplateStale / WorkloadUpdateBlocked; LoadBalancerAssigned / LBPending; ExternallyManaged (DNS forward, stale nodes)
TailnetIngressTagKnown, PolicyGranted, Registered, BackendsReachable, TLSReady, Readyas egress, plus Granted / PolicyDenied (allowFrom outside the allowlist), InvalidDNSName, DNSNameConflict (an older CR already claims a name/alias), and for mode: http the TLS* reasons (Terminate TLS on the agent ); Ready false carries the first blocking reason in the order Registered, PolicyGranted, TLSReady, BackendsReachable

Tailnet.status.spokes[] (hub with policy.spokes[]) = {name, fetchedHash, fetchedAt, approvedHash, approvedAt, pendingHash, pendingSince, pendingDelta{tagsAdded,…,routesRemoved}, conditions} with SpokeReachable (Reachable / Unreachable — network, or the operator’s own NetworkPolicy without networkPolicy.spokePeers/spokeCIDRs / Forbidden / KubeconfigMissing / KubeconfigInvalid), SpokeFragmentValid (Valid / FragmentInvalid / FragmentMissing / Unknown — nothing fetched) and SpokeFragmentApproved (Auto, Approved, ApprovalPending — a newer valid fetch waits for the annotation, ApprovalStale — the annotation names a hash that is no longer the pending one, NothingApproved — Manual spoke whose first fetch was never approved). Events SpokeFragmentAdopted (Auto) and SpokeFragmentApproved (Manual) name the hash that went live. Tailnet.status.policy = {renderedHash, appliedHash, appliedAt, generated{tags,grants,routes}}; TailnetIngress.status.dnsName is the ingress-level DNS name; HTTP names and aliases appear in status.exposes[].dnsName and .dnsAliases. All are published as A records with the node’s IPv4 address; status.tag is the effective tag. kubectl get tailnet includes COMPAT and DNS reason columns. Preflight uses the API response shape, not a reported server version: database policy mode and a successful non-mutating policy/check probe are required for Compatible. Missing or failed observations stay Unknown. See preflight details . Event PolicyDriftOverwritten fires when the live policy was changed behind the operator’s back and rewritten. Event ConfigMapNotOwned fires when a hosts or rendered/fragment ConfigMap of the configured name is controlled by another resource (an ownerRef-less one carrying the operator’s tsunaro.io/role label is re-adopted instead).

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