Changelog
What changed in each release. Read Breaking and Deprecated before you upgrade; the install page covers the upgrade itself. The source is CHANGELOG.md.
Added
spec.rollout.progressDeadlineSecondson a LynqForm now takes effect:status.rollout.phasebecomesFailedwhen an updated LynqNode is failed, or has not become Ready for its new template generation within the deadline, the message names the stalled nodes, andRolloutFailed/RolloutRecoveredevents are emitted. Before, no controller read the field. (#43)- New
LynqFormRolloutFailedalert (lynqform_rollout_phase == 2for 5m, warning) inconfig/prometheus/alerts.yaml. (#43) - The LynqHub records
lynq.sh/rollout-completed-generationon each LynqNode once it is Ready for its current template generation, so a restart or leader change keeps the rollout verdict; LynqNodes without the annotation count as completed. (#43)
Changed
Degraded=Trueon a LynqNode now means something needs an operator: failed or conflicted resources, or template, variable or dependency errors. A node that is only not ready isReady=False(NotAllResourcesReady) withDegraded=False, and theResourcesNotReadyreason is no longer emitted. (#42)- LynqHub
status.failedandhub_failedcount only failed LynqNodes (failed or conflicted resources, orDegraded=True); a node rolling out or recovering lost pods is counted in neitherreadynorfailed, so a spot drain no longer firesHubManyNodesFailure. (#43) - A completed LynqForm rollout stays
Complete, with the samecompletionTime, while an updated node recovers from a lost pod; such nodes are named in the message as recovering and are excluded fromupdatingNodes, theUpdatingprint column andlynqform_rollout_updating_nodes. (#43)
Fixed
- A resource that was Ready and later drops out of readiness (lost pod, node drain, external
kubectl rollout restart) is no longer marked failed on sight because its months-oldlynq.sh/apply-start-timeexceededtimeoutSeconds; it is treated as not ready, does not block or skip its dependents, and fails only on the workload's ownProgressDeadlineExceeded. (#42) - A metadata-only LynqForm change (labels, annotations) applied during an external rollout restart no longer re-times that restart and raises a false
ReadinessTimeout; only an apply that changes the live.specstarts a new readiness clock. (#42) lynqnode_degraded_statusresets every other reason series to 0 on each update, so a change of degraded reason no longer leaves a stale series at 1. (#42)- A transient LynqNode list error no longer flips a
Failedrollout toIdle, and a deleted LynqForm drops its rollout metric series. (#43)
Fixed
maxSkewis now enforced against API-server state instead of the informer cache: a stale cache could let a second LynqNode start updating undermaxSkew=1, or free a slot whose Deployment was still rolling. A failed read now refuses admission rather than admitting. (#41)lynq.sh/rollout-update-startis written with sub-second precision, so the post-update safety margin before a slot is released is the full 2 seconds instead of 1 to 2. (#41)- Each LynqHub datasource query now has a deadline derived from
syncInterval(clamped to 10s–2m), so an unreachable database surfaces as a failed sync instead of hanging while the hub keeps reporting Ready. (#39)
Performance
- The LynqHub keeps one datasource connection per hub across syncs instead of reconnecting every sync, which removes the intermittent DNS and connect timeouts seen on per-sync connection setup; a change to host, port, user, password, database or pool sizing rebuilds the connection on the next sync. (#39)
- MySQL pool defaults lowered to 3 open / 2 idle connections, matching actual use of one connection per hub. (#39)
Fixed
- An idle, fully Ready cluster no longer rewrites most LynqNodes every minute:
status.appliedResourcesandstatus.skippedResourceIdsare published in a stable order, and the status manager skips writes when no value changed. The reorder-write-reconcile loop had kept the manager at several times its CPU request. (#38)
Performance
- With
maxSkewset, the LynqHub counts updating nodes once per LynqForm per sync instead of once per desired node, and the template engine is shared instead of rebuilt per LynqNode create or update. (#38)
- An idle, fully Ready cluster no longer rewrites most LynqNodes every minute:
Added
- Periodic force-reapply: every 10 minutes the LynqNode controller re-applies every child resource, correcting external edits that kept the
lynq.sh/applied-hashannotation. The baseline is recorded in the newstatus.lastFullReconcileAtfield. (#36) - Dashboard: radial topology view, a resources mode that shows each LynqNode's managed resources, and conflicted resources in the node drawer.
Changed
- Whether to apply a child resource is decided only by the
lynq.sh/applied-hashannotation on the live object, written in the same request as the spec. After upgrading, existing child resources are re-applied once to stamp the annotation. Drift that leaves the annotation intact is corrected on the next force-reapply (up to ~10 minutes) rather than within ~30 seconds. (#36)
Fixed
- The readiness timeout is measured from
lynq.sh/apply-start-timeinstead ofcreationTimestamp, so updating a resource older thantimeoutSecondsno longer marks it failed at once. Combined withmaxSkew, those false failures had filled every update slot and stalled the rollout. (#36) - A controller restart no longer re-applies every unchanged resource. (#36)
patchStrategy: replaceno longer loops on re-updates when unrelated writes bump a resource'sresourceVersion. (#36)- The Helm chart's CRDs were missing fields added since 1.1.14 (
skipOnDependencyFailure,status.skippedResources,status.skippedResourceIds, rollout print columns); they now match the generated CRDs, so a chart install no longer strips those fields.
- Periodic force-reapply: every 10 minutes the LynqNode controller re-applies every child resource, correcting external edits that kept the
Added
--enable-pprofflag starts a profiling server on:6060(off by default). (#33)
Changed
- The LynqHub no longer reconciles on LynqNode status-only changes, so hub
status.ready/status.failedcan lag until the nextsyncInterval. (#33)
Fixed
- A LynqNode deleted and recreated under the same name no longer reuses rendered resources from its previous incarnation.
- A previously orphaned resource re-added to the LynqForm is always re-applied, so its owner reference and tracking labels are restored.
Performance
- Rendered resources are cached per LynqNode, strings without template markers skip rendering, and unchanged resources skip the apply request. (#33)
Fixed
- LynqHub and LynqForm no longer write unchanged status on every reconcile, and condition
lastTransitionTimeonly moves when the status changes; the extra writes had re-triggered reconciles. (#32)
Performance
- Lower controller CPU: parsed templates are cached, orphan detection and readiness checks no longer render full resources, the post-apply read was removed, and the LynqHub no longer fetches the LynqForm once per node. (#32)
- LynqHub and LynqForm no longer write unchanged status on every reconcile, and condition
Added
- Lynq Dashboard: a web UI with a Hub → Form → Node topology view, a problem mode that highlights failed nodes, overview and detail pages (conditions, managed resources, events, YAML), search, and English/Korean. Ships as
ghcr.io/k8s-lynq/lynq-dashboardand as an optional Helm component (dashboard.enabled, off by default). (#30)
- Lynq Dashboard: a web UI with a Hub → Form → Node topology view, a problem mode that highlights failed nodes, overview and detail pages (conditions, managed resources, events, YAML), search, and English/Korean. Ships as
Added
spec.rollout.maxSkewon a LynqForm limits how many LynqNodes update at once when the template changes;0(default) keeps updating all at once.status.rolloutreports phase and progress,kubectl get lynqformsshowsROLLOUTandUPDATINGcolumns, and new metricslynqform_rollout_updating_nodes,lynqform_rollout_phaseandlynqform_rollout_progressare exported. (#27)- Configurable log level via
--zap-log-levelor Helmmanager.logLevel(defaultinfo). (#27)
Changed
- The manager runs in production logging mode by default; per-apply and cleanup detail moved to debug level. (#27)
Fixed
- Deployments, StatefulSets and DaemonSets are Ready only after every replica runs the new spec and passes readiness, instead of during a rolling update while old pods are still available. (#27)
Added
- Typed template functions
toInt,toFloatandtoBoolemit real numbers and booleans in rendered resources, for fields such asreplicasandcontainerPortthat the API server rejects as strings. Templates that do not use them are unchanged. (#26)
Changed
- Grafana dashboard queries updated. (#26)
- Typed template functions
Added
skipOnDependencyFailureon each resource (defaulttrue): when a dependency fails or times out, the resource is skipped with aDependencySkippedevent, or created anyway withDependencyFailedButProceedingwhenfalse. Skips are tracked instatus.skippedResources,status.skippedResourceIdsand aSkippedprint column. (#24)- Role binding that lets Prometheus read the metrics endpoint. (#24)
Changed
- Templates render with
missingkey=error: a reference to a variable that does not exist now fails rendering instead of producing an empty value. (#24) - A dependency that is still starting up blocks its dependents silently, without an event or skip count; only failed dependencies trigger skip handling. (#24)
Fixed
Changed
- Steady-state reconciles log at debug level, and
ValidationPassed/NodeUpdatedevents fire only when something changed, cutting log and event volume when nothing happens. (#23)
Fixed
- LynqNode
observedGenerationis updated after a spec reconcile, which stops repeated full reconciles; a Degraded node or one with failed resources still gets a full reconcile so conflicts can recover. (#23) - The LynqHub compares each LynqNode against the LynqForm it actually references when deciding whether to update it. (#23)
- Steady-state reconciles log at debug level, and
Breaking
- Hub metrics renamed
registry_desired,registry_ready,registry_failed→hub_desired,hub_ready,hub_failed, with labelregistry→hub; the bundled alerts and Grafana dashboard are updated, custom queries need the new names. (#17)
Changed
- Event messages and structured log keys say
Hub/hubinstead ofRegistry/registry.
- Hub metrics renamed
Deprecated
valueMappings.hostOrUrland the.hostOrUrl/.hosttemplate variables are deprecated in 1.1.11 and will be removed in 1.3.0. Map the column throughextraValueMappingsand usetoHost()in templates instead; the webhook warns when the deprecated field is used. (#16)
Changed
- Prometheus alert descriptions show ratios as humanized percentages. (#15)
Breaking
- The project is renamed from tenant-operator to lynq. CRDs
TenantRegistry→LynqHub,TenantTemplate→LynqForm,Tenant→LynqNode, and API groupoperator.kubernetes-tenants.org→operator.lynq.sh. (#14) - LynqForm
spec.registryId→spec.hubId. (#14) - Labels, annotations and finalizers move from the
kubernetes-tenants.org/prefix tolynq.sh/(for examplekubernetes-tenants.org/tenant→lynq.sh/node,kubernetes-tenants.org/registry→lynq.sh/hub), and the SSA field managertenant-operator→lynq-operator. (#14) - Controller flags
--registry-concurrency,--template-concurrency,--tenant-concurrency→--hub-concurrency,--form-concurrency,--node-concurrency. (#14) - Image
ghcr.io/kubernetes-tenants/tenant-operator→ghcr.io/k8s-lynq/lynq, repositorykubernetes-tenants/tenant-operator→k8s-lynq/lynq, default namespacetenant-operator-system→lynq-system, and docsdocs.kubernetes-tenants.org→lynq.sh. (#14) - Node metrics renamed
tenant_*→lynqnode_*(for exampletenant_degraded_status→lynqnode_degraded_status), with labeltenant→lynqnode. (#13)
- The project is renamed from tenant-operator to lynq. CRDs
Added
namespacesresource list on the LynqForm for creating a Namespace per node; Namespaces are tracked by labels. (#12)
Added
daemonSetsresource list on the LynqForm. (#11)
Fixed
- The defaulting webhook now sets defaults on
podDisruptionBudgets,networkPoliciesandhorizontalPodAutoscalersentries. (#11)
Changed
- Prometheus alert
runbook_urls point to a single runbook page with anchors. (#10)
Fixed
- Metrics are scraped only through the ServiceMonitor with a bearer token; the Pod scrape annotations, which failed against the authenticated
:8443/metricsendpoint, were removed. (#10)
- Prometheus alert
Added
podDisruptionBudgets,networkPoliciesandhorizontalPodAutoscalersresource lists on the LynqForm, with HPA readiness checks and the RBAC they need. (#9)
Fixed
Added
Changed
Fixed
- Node status for conflict scenarios and condition transitions. (#7)
Added
- Controller concurrency flags for the three controllers (now
--hub-concurrency,--form-concurrency,--node-concurrency). (#6)
Changed
- Controller concurrency flags for the three controllers (now
Added
- The LynqForm's hub reference is immutable (CEL validation, requires Kubernetes 1.25+), and every resource list is a map keyed by
id, so tools such as Terraform update individual resources in place instead of recreating the LynqForm. (#5) - A retained orphan that is added back to the LynqForm is re-adopted automatically: its orphan label and annotations are removed on the next apply. (#5)
Fixed
deletionPolicy: Retainis honored at creation: such resources get tracking labels instead of an owner reference, so the garbage collector no longer deletes them with the LynqNode. Orphan cleanup reads the policy stored on the resource, so it stays correct after the LynqForm changes. (#5)
- The LynqForm's hub reference is immutable (CEL validation, requires Kubernetes 1.25+), and every resource list is a map keyed by
Fixed
- Datasource rows with NULL in the uid, host or activate column no longer fail the sync; NULL is read as an empty string. (#4)
Added
targetNamespaceon a resource creates it in another namespace; cross-namespace resources are tracked by labels instead of owner references. (#3)- Resources removed from a LynqForm are cleaned up according to their
deletionPolicy, using the newstatus.appliedResourceslist; retained resources get anorphanedlabel plusorphaned-atandorphaned-reasonannotations. (#3) - Official Helm chart, published through GitHub Releases. (#3)