Skip to Content
Lynq

LynqNode condition reasons

Every reason a LynqNode reports on its Degraded and Ready conditions, what caused it, and what to do — generated from the controller's code.

A LynqNode reports trouble on two conditions. Degraded=True means something needs you: a resource failed or conflicts, or the node's template could not be used. Ready=False without Degraded means resources are still on their way, and usually needs nothing.

Read a node's conditions with:

kubectl get lynqnode <name> -o jsonpath='{range .status.conditions[*]}{.type}={.status} {.reason}{"\n"}{end}'

The events on the node name the resource behind a failure: kubectl describe lynqnode <name>.

Reasons

ReasonOnWhat it meansWhat to do
ResourceFailuresDegraded=TrueAt least one resource failed: its template did not render (TemplateRenderError), the API server rejected the apply (ApplyFailed), or it did not become Ready within timeoutSeconds of Lynq applying it (ReadinessTimeout). Resources that depend on it are skipped (DependencySkipped).kubectl describe lynqnode <name>: the Warning events name the resource ID and the error. Fix the LynqForm or the row; the node retries on its next reconcile, within 30 seconds.
ResourceFailuresAndConflictsDegraded=TrueA resource Lynq would create already exists and another field manager owns fields Lynq sets. With conflictPolicy: Stuck (the default) Lynq leaves it alone and records ResourceConflict. A conflicting resource also counts as failed, so a conflict is reported with this reason even when nothing else failed.Decide who owns the object. Delete or rename the existing one, change the nameTemplate, or set conflictPolicy: Force to take its fields over (conflict policy). Handle any other failed resources as for ResourceFailures.
ResourceConflictsDegraded=TrueDefined for a node whose only problems are conflicts. Because a conflicting resource also counts as failed, Lynq reports conflicts as ResourceFailuresAndConflicts instead.See ResourceFailuresAndConflicts.
VariablesBuildErrorDegraded=TrueThe node's template variables could not be read from its annotations, for example extra values that are not valid JSON. The LynqHub writes these annotations; they break when the LynqNode is edited by hand.Do not edit LynqNodes. The condition message has the parse error; the next hub sync rewrites the annotations from the row.
DependencyCycleDegraded=TrueThe resources' dependIds form a cycle, so there is no order to apply them in. Nothing is applied.Fix dependIds in the LynqForm. The message names the cycle.
ResourcesNotReadynot emittedDegraded=TrueReported by earlier versions for a node that was only not ready. A not-ready node is now Ready=False with NotAllResourcesReady and is not degraded.None. If an alert still matches it, it is matching an old series.
TemplateRenderErrornot emittedDegraded=TrueReported by earlier versions. A template that does not render now fails its resource, so the node reports ResourceFailures and a TemplateRenderError event.See ResourceFailures.
NotAllResourcesReadyReady=FalseNo resource failed or conflicts; some are still rolling out or recovering, for example a Deployment waiting for pods. The node is not degraded.Usually nothing: it turns Ready by itself. If it lasts, look at the workload (kubectl rollout status). A change Lynq applied that never becomes Ready fails after timeoutSeconds; a resource that was Ready and dropped out is left to its own controller.
ResourcesFailedReady=FalseThe Ready side of ResourceFailures.See ResourceFailures.
ResourcesConflictedReady=FalseThe Ready side of ResourceConflicts; conflicts are reported as ResourcesFailedAndConflicted instead.See ResourceFailuresAndConflicts.
ResourcesFailedAndConflictedReady=FalseThe Ready side of ResourceFailuresAndConflicts.See ResourceFailuresAndConflicts.
DependencyErrorReady=FalseThe Ready side of DependencyCycle: the dependency graph could not be built.See DependencyCycle.
SortErrorReady=FalseThe Ready side of DependencyCycle: the resources could not be put in order.See DependencyCycle.

Reasons from internal/status/manager.go

Events behind a failure

A failed resource always has a Warning event on its LynqNode that names it. The ones you will see most:

EventMeans
TemplateRenderErrorThe resource's template did not render, for example a variable the hub does not map
ApplyFailedThe API server rejected the object
ReadinessTimeoutThe object was applied but did not become Ready within timeoutSeconds
ResourceConflictThe object exists and another field manager owns fields Lynq sets
DependencySkippedNot applied because a resource in its dependIds failed

Every event Lynq records is listed in Monitoring.

Alerts

lynqnode_degraded_status is 1 for the node's current reason, and the LynqNodeDegraded alert fires on it. Each alert has a runbook in Alert runbooks.

On this page