Infrastructure as Data
Define a template once. Lynq creates, updates and removes each customer’s stack as their database row changes.


- acme-webDeploymentService
- gamma-webDeploymentService
Rows without a LynqNode: 1
The table and cluster are simulated. Lynq renders each object. A live LynqHub syncs every 30s.Run on a real cluster →
Run it on your cluster
Kubernetes 1.28+ with cert-manager.
helm repo add lynq https://k8s-lynq.github.io/lynqhelm install lynq lynq/lynq -n lynq-system --create-namespace --set namespace.create=falseHow it works
Change a row. The cluster follows.
Follow one row from insert to cleanup.
- 01Insert a row
INSERT INTO customers … active = TRUEThe LynqHub reads it on the next sync (every 30s by default).Read more: Insert a row → - 02Apply resources
LynqNode acme-web → Deployment, ServiceLynq uses Server-Side Apply in dependIds order.Read more: Apply resources → - 03Wait for readiness
Ready=True on the LynqNodeLynq checks readiness by resource kind, with a timeout.Read more: Wait for readiness → - 04Correct drift
kubectl edit deployment acme-webWatches and periodic reapply restore the template’s values.Read more: Correct drift → - 05Deactivate the row
UPDATE customers SET active = FALSELynq deletes the LynqNode and cleans up its resources. Use deletionPolicy: Retain to keep a resource.Read more: Deactivate the row →
Why Lynq
Why not a script, Helm, or your own operator?
Scripts and CI jobs
A script or CI job acts once. Lynq keeps reconciling, reversing drift and cleaning up resources when rows are deleted.
Helm per customer
Helm gives you one release per row to install, upgrade and delete. With Lynq the row drives that lifecycle, and maxSkew paces template changes.
Your own operator
You maintain the controller, CRDs, RBAC and upgrades. Lynq ships with lifecycle policies, metrics and runbooks.
Lynq is not the right tool for everything. See when to use Lynq.
Safe at scale
Roll out template changes gradually.
maxSkew limits how many LynqNodes can update at once. Each LynqNode holds its slot until it is Ready.
Operate it
See what failed and how to fix it.
Every failure state has a metric, an alert and a runbook. The Lynq Dashboard shows every Hub, Form and Node and highlights what needs attention.




Examples
What people build with it.
- Blue-Green DeploymentsSwitch traffic per node without downtime using one SQL UPDATE. Revert it with another.
- Custom Domain ProvisioningSet a domain per node in a database column. ExternalDNS and cert-manager handle DNS and TLS.
- Database per Node with CrossplaneProvision a dedicated cloud database (RDS, Cloud SQL) per node using Lynq and Crossplane, driven by a database row.
- Developer SandboxesGive each developer an isolated Kubernetes sandbox. Lynq creates, updates and removes it as the account changes.
- Feature FlagsFlip a database flag to provision or remove Kubernetes resources per node.
- Multi-Tier Application StackUse one database row per node to provision a web, API, worker and database stack in dependency order.
Start with one table.
Install Lynq with Helm, connect a LynqHub to a table, and apply a LynqForm. The Local Quick Start takes about 10 minutes.
helm repo add lynq https://k8s-lynq.github.io/lynqhelm install lynq lynq/lynq -n lynq-system --create-namespace --set namespace.create=false