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.

  1. v1.1.23

    · Release on GitHub

    Added

    • spec.rollout.progressDeadlineSeconds on a LynqForm now takes effect: status.rollout.phase becomes Failed when an updated LynqNode is failed, or has not become Ready for its new template generation within the deadline, the message names the stalled nodes, and RolloutFailed / RolloutRecovered events are emitted. Before, no controller read the field. (#43)
    • New LynqFormRolloutFailed alert (lynqform_rollout_phase == 2 for 5m, warning) in config/prometheus/alerts.yaml. (#43)
    • The LynqHub records lynq.sh/rollout-completed-generation on 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=True on 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 is Ready=False (NotAllResourcesReady) with Degraded=False, and the ResourcesNotReady reason is no longer emitted. (#42)
    • LynqHub status.failed and hub_failed count only failed LynqNodes (failed or conflicted resources, or Degraded=True); a node rolling out or recovering lost pods is counted in neither ready nor failed, so a spot drain no longer fires HubManyNodesFailure. (#43)
    • A completed LynqForm rollout stays Complete, with the same completionTime, while an updated node recovers from a lost pod; such nodes are named in the message as recovering and are excluded from updatingNodes, the Updating print column and lynqform_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-old lynq.sh/apply-start-time exceeded timeoutSeconds; it is treated as not ready, does not block or skip its dependents, and fails only on the workload's own ProgressDeadlineExceeded. (#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 .spec starts a new readiness clock. (#42)
    • lynqnode_degraded_status resets 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 Failed rollout to Idle, and a deleted LynqForm drops its rollout metric series. (#43)
  2. v1.1.22

    · Release on GitHub

    Fixed

    • maxSkew is now enforced against API-server state instead of the informer cache: a stale cache could let a second LynqNode start updating under maxSkew=1, or free a slot whose Deployment was still rolling. A failed read now refuses admission rather than admitting. (#41)
    • lynq.sh/rollout-update-start is 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)
  3. v1.1.21

    · Release on GitHub

    Fixed

    • An idle, fully Ready cluster no longer rewrites most LynqNodes every minute: status.appliedResources and status.skippedResourceIds are 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 maxSkew set, 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)
  4. v1.1.20

    · Release on GitHub

    Added

    • Periodic force-reapply: every 10 minutes the LynqNode controller re-applies every child resource, correcting external edits that kept the lynq.sh/applied-hash annotation. The baseline is recorded in the new status.lastFullReconcileAt field. (#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-hash annotation 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-time instead of creationTimestamp, so updating a resource older than timeoutSeconds no longer marks it failed at once. Combined with maxSkew, 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: replace no longer loops on re-updates when unrelated writes bump a resource's resourceVersion. (#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.
  5. v1.1.19

    · Release on GitHub

    Added

    • --enable-pprof flag 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.failed can lag until the next syncInterval. (#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)
  6. v1.1.18

    · Release on GitHub

    Fixed

    • LynqHub and LynqForm no longer write unchanged status on every reconcile, and condition lastTransitionTime only 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)
  7. v1.1.17

    · Release on GitHub

    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-dashboard and as an optional Helm component (dashboard.enabled, off by default). (#30)
  8. v1.1.16

    · Release on GitHub

    Added

    • spec.rollout.maxSkew on a LynqForm limits how many LynqNodes update at once when the template changes; 0 (default) keeps updating all at once. status.rollout reports phase and progress, kubectl get lynqforms shows ROLLOUT and UPDATING columns, and new metrics lynqform_rollout_updating_nodes, lynqform_rollout_phase and lynqform_rollout_progress are exported. (#27)
    • Configurable log level via --zap-log-level or Helm manager.logLevel (default info). (#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)
  9. v1.1.15

    · Release on GitHub

    Added

    • Typed template functions toInt, toFloat and toBool emit real numbers and booleans in rendered resources, for fields such as replicas and containerPort that the API server rejects as strings. Templates that do not use them are unchanged. (#26)

    Changed

    • Grafana dashboard queries updated. (#26)
  10. v1.1.14

    · Release on GitHub

    Added

    • skipOnDependencyFailure on each resource (default true): when a dependency fails or times out, the resource is skipped with a DependencySkipped event, or created anyway with DependencyFailedButProceeding when false. Skips are tracked in status.skippedResources, status.skippedResourceIds and a Skipped print 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

    • ignoreFields keeps the existing value of an ignored field instead of dropping it from the apply. (#24)
    • LynqForm webhook validation accepts templates that use .hubId and .templateRef. (#24)
  11. v1.1.13

    · Release on GitHub

    Changed

    • Steady-state reconciles log at debug level, and ValidationPassed / NodeUpdated events fire only when something changed, cutting log and event volume when nothing happens. (#23)

    Fixed

    • LynqNode observedGeneration is 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)
  12. v1.1.12

    · Release on GitHub

    Breaking

    • Hub metrics renamed registry_desired, registry_ready, registry_failed → hub_desired, hub_ready, hub_failed, with label registry → 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 / hub instead of Registry / registry.
  13. v1.1.11

    · Release on GitHub

    Deprecated

    • valueMappings.hostOrUrl and the .hostOrUrl / .host template variables are deprecated in 1.1.11 and will be removed in 1.3.0. Map the column through extraValueMappings and use toHost() in templates instead; the webhook warns when the deprecated field is used. (#16)
  14. v1.1.10

    · Release on GitHub

    Changed

    • Prometheus alert descriptions show ratios as humanized percentages. (#15)
  15. v1.1.9

    · Release on GitHub

    Breaking

    • The project is renamed from tenant-operator to lynq. CRDs TenantRegistry → LynqHub, TenantTemplate → LynqForm, Tenant → LynqNode, and API group operator.kubernetes-tenants.org → operator.lynq.sh. (#14)
    • LynqForm spec.registryId → spec.hubId. (#14)
    • Labels, annotations and finalizers move from the kubernetes-tenants.org/ prefix to lynq.sh/ (for example kubernetes-tenants.org/tenant → lynq.sh/node, kubernetes-tenants.org/registry → lynq.sh/hub), and the SSA field manager tenant-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, repository kubernetes-tenants/tenant-operator → k8s-lynq/lynq, default namespace tenant-operator-system → lynq-system, and docs docs.kubernetes-tenants.org → lynq.sh. (#14)
    • Node metrics renamed tenant_* → lynqnode_* (for example tenant_degraded_status → lynqnode_degraded_status), with label tenant → lynqnode. (#13)
  16. v1.1.8

    · Release on GitHub

    Added

    • namespaces resource list on the LynqForm for creating a Namespace per node; Namespaces are tracked by labels. (#12)
  17. v1.1.7

    · Release on GitHub

    Added

    • daemonSets resource list on the LynqForm. (#11)

    Fixed

    • The defaulting webhook now sets defaults on podDisruptionBudgets, networkPolicies and horizontalPodAutoscalers entries. (#11)
  18. v1.1.6

    · Release on GitHub

    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/metrics endpoint, were removed. (#10)
  19. v1.1.5

    · Release on GitHub

    Added

    • podDisruptionBudgets, networkPolicies and horizontalPodAutoscalers resource lists on the LynqForm, with HPA readiness checks and the RBAC they need. (#9)

    Fixed

    • The degraded metric clears when a node recovers instead of staying at 1 (regression in 1.1.4); ResourcesNotReady and VariablesBuildError reasons are now reported. (#9)
    • The degraded alert and Grafana query aggregate by reason, so one node no longer fires duplicate alerts. (#9)
  20. v1.1.4

    · Release on GitHub

    Added

    • ignoreFields on a resource excludes the listed field paths (for example $.spec.replicas) from reconciliation. (#7)
    • The LynqNode Ready condition reports why it is false: ResourcesConflicted, ResourcesFailedAndConflicted, ResourcesFailed or NotAllResourcesReady. (#7)

    Changed

    • LynqNodes requeue every 30 seconds to pick up child resource status, and child watches trigger only on generation or annotation changes. (#7)
    • Grafana dashboard shows node status, conflicts, failures and resource counts. (#7)

    Fixed

    • Node status for conflict scenarios and condition transitions. (#7)
  21. v1.1.3

    · Release on GitHub

    Added

    • Controller concurrency flags for the three controllers (now --hub-concurrency, --form-concurrency, --node-concurrency). (#6)

    Changed

    • Prometheus alert rules carry runbook links and fuller annotations. (#6)
    • MySQL datasource retry and error handling adjusted. (#6)
  22. v1.1.2

    · Release on GitHub

    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: Retain is 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)
  23. v1.1.1

    · Release on GitHub

    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)
  24. v1.1.0

    · Release on GitHub

    Added

    • targetNamespace on 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 new status.appliedResources list; retained resources get an orphaned label plus orphaned-at and orphaned-reason annotations. (#3)
    • Official Helm chart, published through GitHub Releases. (#3)