Repository navigation
Releases
Releases · hyperlight-dev/lampyr
Lampyr preview
Preview built from edd96bb.
Canonical images use preview- tags:
- ghcr.io/hyperlight-dev/lampyr/fiberd:preview-edd96bb755ee5c310ae250b2a9ef39acab46326b
- ghcr.io/hyperlight-dev/lampyr/fiber-router:preview-edd96bb755ee5c310ae250b2a9ef39acab46326b
- ghcr.io/hyperlight-dev/lampyr/hluk-helper:preview-edd96bb755ee5c310ae250b2a9ef39acab46326b
- ghcr.io/hyperlight-dev/lampyr/azure-node-setup:preview-edd96bb755ee5c310ae250b2a9ef39acab46326b
- ghcr.io/hyperlight-dev/lampyr/eventgrid-controller:preview-edd96bb755ee5c310ae250b2a9ef39acab46326b
- ghcr.io/hyperlight-dev/lampyr/eventgrid-adapter:preview-edd96bb755ee5c310ae250b2a9ef39acab46326b
The :preview tags are post-release convenience aliases.
Lampyr v0.1.1
Lampyr 0.1.1 built from 492ff2c.
Install with scripts/install-ly.sh v0.1.1.
Images:
- ghcr.io/hyperlight-dev/lampyr/fiberd:0.1.1@sha256:6bcb1427e90820ed7ea514c903f14fcc838538b2d7a7b61b4515eebed4b08ee8
- ghcr.io/hyperlight-dev/lampyr/fiber-router:0.1.1@sha256:16da3b01bfe06da1efb26c78d7588c9b6278c75600429c1eb1b04db9d8f62499
- ghcr.io/hyperlight-dev/lampyr/hluk-helper:0.1.1@sha256:eec1939c4eed3a98a6dd3b3c178bf22c0375910716082fc94b5a9556f69117af
- ghcr.io/hyperlight-dev/lampyr/azure-node-setup:0.1.1@sha256:46b2531d910fa984a23aba708ebb9283ba22b1459a340dc942429b04d7093a60
- ghcr.io/hyperlight-dev/lampyr/eventgrid-controller:0.1.1@sha256:42efbefc64754343c35ee06a291936680990759981891fb2a862e18a0fa2078c
- ghcr.io/hyperlight-dev/lampyr/eventgrid-adapter:0.1.1@sha256:6d24939efd8978116f7566f0977f00250d9c6e60535f8ed0fac1b9959b3e6336
- ghcr.io/hyperlight-dev/lampyr/upstream-fiberd:0.1.1@sha256:d2539de1b08275df6ebb3d6d82c7bb9671895b835155dd899d2a4fcfab7a31b6
- ghcr.io/hyperlight-dev/lampyr/fiberd-k8s-controller:0.1.1@sha256:c7471ba6d893f7ac8bcc26c141f8196b6c82fe265cc48aef5a3db085c1852d19
Fixed
ly doctorchecks for Docker Buildx, whichly buildandly devneed and Ubuntu'sdocker.iopackage leaves out, instead of reporting Ready and leaving them to fail withunknown flag: --builder.ly --version(and-V) prints the version and build commit, asly doctordoes, instead of failing withunexpected argument.- A provider whose published snapshot index has no variant for this host, such as an Intel host when the release published only AMD KVM snapshots, warns once that it is cold-booting (and so slower), naming the host's architecture, hypervisor and CPU vendor, instead of cold-booting silently.
Lampyr v0.1.0
Lampyr 0.1.0 built from bdadca5.
Install with scripts/install-ly.sh v0.1.0.
Images:
- ghcr.io/hyperlight-dev/lampyr/fiberd:0.1.0@sha256:6d611a590a0b6a0e0279bdf9c2eb2f141788b4c5c37507c35fb27b7d51c3f2e2
- ghcr.io/hyperlight-dev/lampyr/fiber-router:0.1.0@sha256:46e6f1c7f4c3209f23914055d50616af43f988308e8fe53bb15af8af71288605
- ghcr.io/hyperlight-dev/lampyr/hluk-helper:0.1.0@sha256:7aa3d7c8fc244008e921daf5f29a5c0092b74e8757b8993676493e365313e935
- ghcr.io/hyperlight-dev/lampyr/azure-node-setup:0.1.0@sha256:faf195746f5dea6790dcadb03684ed20b51bc3ab126f18cea9c5a710c686e9d9
- ghcr.io/hyperlight-dev/lampyr/eventgrid-controller:0.1.0@sha256:d1139e5488a51e7d6f016dc15d0820491130d3b3eda403452d9fa6a6b14c972d
- ghcr.io/hyperlight-dev/lampyr/eventgrid-adapter:0.1.0@sha256:4ef1b3f3db79fa13019f4f0bc08ebfa06d5d032e16fd7b11a0276eb907e0e8e9
- ghcr.io/hyperlight-dev/lampyr/upstream-fiberd:0.1.0@sha256:4eb2d7fe1fd151ee35116e932d1b76831ed7fa447a81da255115175fffb4fdfb
- ghcr.io/hyperlight-dev/lampyr/fiberd-k8s-controller:0.1.0@sha256:bd60d3ff348dc1f83119330c9feab2b0ce47e5b704f3ded5cd6a9a375bdcc111
Added
- fiber-router takes
-acquire-timeout(default 3s): how long a request waits for its grant's home, and then, separately, for that home's clone, so a request can wait about twice the flag before a 503. A grant already atfibers.maxis answered with 503 andRetry-Afterrather than sent to another home. A home's clone rate limit (stock fiberd's, up to 200 clones a second after a burst of 200, covering starts and attaches) is backpressure, not a shed: the request waits about itsRetry-After, jittered, and tries again within the same deadline, and gets 503 withRetry-Afteronly if the deadline would pass first. So is a grant Pod's helper refusing a Clone while it restores too many Fibers to start one more in time (see Fixed): the request waits 250ms to 1s and tries again, and the home is not passed over. A Clone that reached no home, as when a rollout has replaced the grant's Pod, asks for the grant's homes again and tries again within that deadline, and a home's IP that doesn't accept a connection within a second fails such a Clone rather than holding it; a home that accepts has 3 seconds to finish its TLS handshake. Large bursts of cold requests on a small node may need more. - fiber-router serves Prometheus metrics on port 9090 (
lampyr_router_fibers_busy,lampyr_router_fiber_acquire_seconds,lampyr_router_request_duration_seconds,lampyr_router_shed_total,lampyr_router_clone_retries_total). The platform NetworkPolicy does not admit scrapers by default. - Versioned
vX.Y.Zreleases published from tags through the preview release gates, with committed version checks. - Releases publish the stock fiberd image grant Pods run (
ghcr.io/hyperlight-dev/lampyr/upstream-fiberd) and fiberd-k8s-controller's image (ghcr.io/hyperlight-dev/lampyr/fiberd-k8s-controller), built from the commits pinned inupstream/pins.envuntil those projects publish their own: Azure/fiberd's and Azure/fiberd-k8s-controller's. The platform package carries the controller's install manifest, running that image by digest, andly cluster installtakescontrollerManifest,grantImageandhelperImagefrom it, pinned to the published upstream-fiberd andhluk-helperdigests, for an install not given them. An install records only the inputs it was given, so a reinstall from an upgraded platform takes the upgraded defaults. - Standalone Applications:
ly scaffold service NAME --standalonecreates a customer-owned server (Express, FastAPI, Gin, Axum or ASP.NET Core) that Lampyr builds, snapshots and runs as Fibers like a Handler Application. - macOS ARM64 provider support: releases publish a
lampyr-platform-darwin-arm64setup bundle plus digest-pinned KVM/HVF provider snapshot indexes for Kind, k3d and Azure, with local ARM cold-boot fallback. Release archives carry each provider's pinned index digest and repository but not the snapshots, whichlypulls for the host on a provider's first start. ly buildrecords the helper's facts when the platform has the helper (build/hluk-helper), soly deploycan seal a fiberd template: it runs the platform'slampyr-hluk-helper --versionwhere the snapshot is made (the KVM builder Pod or the local KVM host), checks the facts against the snapshot and records them in the artifact. Without the helper it builds as before and notes that the artifact can't be deployed to a cluster; a helper that fails--versionis an error. The Linux and macOS platform packages carry what it andly deployneed: the Linux/amd64 helper, andzygotectlandgrant-issuer, which seal and push templates and make the fleet key, built from the pinned fiberd for the package's own platform. On macOS, build with--contextso the helper runs in the cluster's builder Pod.ly deployof an artifact built with the helper seals its template to the cluster's fleet key, pushes it to the installation's one template repository,lampyr/fiberd-templatesin its registry, tagged with the Revision's name, and records it on the new Revision by digest aslampyr.dev/fiberd-template. An existing Revision keeps the template it was created with.- Deployed services get the service bindings their projects declare: a grant Pod's
lampyr-hluk-helpergives each FiberLAMPYR_BINDING_NAMEURLs for the bound Services in cluster DNS,LAMPYR_FIBER_ID, and the Pod's nameservers withndots:1, leaving out link-local ones, which Hyperlight-Unikraft drops (a Pod with only those, as with AKS LocalDNS or NodeLocal DNSCache, fails the warm). A Fiber with bindings may connect to the addresses their names resolve to, on any port, and send DNS questions for those names over UDP to the Pod's nameservers and the well-known public resolvers (8.8.8.8, 8.8.4.4, 1.1.1.1 and 1.0.0.1); Lampyr Services share the cluster's internal ingress, so any binding reaches every Knative Service through it. A Fiber without bindings still has no egress. A resumed park keeps the variables it was cloned with, so itsLAMPYR_FIBER_IDnames its first incarnation;/run/fiberd/incarnationhas the current fence.
Changed
- Workspaces declare
ingress.servicesinstead ofingress.service. Native dev generates<service>.default.localhostroutes and exposes only listed services. Missing lists expose nothing and warn locally. Deployment uses the same list for Knative visibility; unlisted services and services deployed outside a workspace default to cluster-local. Redeploy affected services after changing exposure. ly devalways uses snapshot-based Fiber execution for services and workspaces. The cold-run path and--experimentalflag are removed. Runtime templates honorLAMPYR_LISTEN_HOST; upgrade existing Handler adapters before local development.- Breaking: manifests (Node.js, Python, Go, Rust, .NET) must declare
application: {type: handler}orapplication: {type: standalone, command: ...}; top-levelcommandandprotocolsare rejected, so native gRPC is unavailable for now. Wasm support is removed until a handler contract is defined. - Hyperlight-Unikraft is now v0.21.0 from crates.io and its release assets (previously a fork of v0.19.1 for providers and v0.19.0 for services), with hyperlight-host 0.19.0. v0.21.0 refuses snapshots saved by earlier releases, v0.20.1's included. A cluster from before this release ran snapshots in its
fiberdImagehome; the reinstall this release requires replaces that home with grant Pods running the helper image (helperImage), whoselampyr-hluk-helperlinks v0.21.0, so every service must be rebuilt and redeployed. To upgrade, install the newlyand reinstall the platform (or rebuild custom provider artifacts) first, becausely cluster installrefuses provider artifacts built for an older runtime. Then runly cluster installagain with ahelperImagein--provider-config, or with none to take the updated platform's, and, for an installation created with--provider,--provider-artifactset to the new provider artifact (for example~/.lampyr/platforms/VERSION/providers/PROVIDER/artifact), because such an installation keeps using the provider artifact it first approved. Finally runly buildandly deployfor every service. - Breaking: a Service's home is now a grant Pod of fiberd-k8s-controller, which makes the Pod's memory limit its request too, so the scheduler places a home only where its whole memory limit is free. Its 10 GiB ephemeral-storage limit becomes its request the same way, where the old home requested 1 GiB, so each home reserves 10 GiB of its node's allocatable ephemeral storage and a node fits at most that storage divided by 10 GiB homes, about nine on a node with 100 GB allocatable; one that fits no node stays Pending with
Insufficient ephemeral-storage. Its CPU stays a request with no limit, as before: 10m up to 100 Fibers, then a millicore per allowed Fiber, at most two CPUs, so a home is never throttled while it restores Fibers. Operator args on the home, such as-max-restores, are no longer kept; the helper bounds restores in their place (see Fixed). - Breaking:
ly deployrefuses to create a new Revision from an artifact without a fiberd template, since grant Pods run only fiberd templates; rebuild withly buildwhere the platform has the helper. - Breaking:
ly cluster installinstalls cert-manager and its csi-driver unless the cluster has them, and fiberd-k8s-controller in place of Lampyr's grant issuer. It now requires the installation inputscontrollerManifest(the controller's manifest, which has no release yet),grantImage(the fiberd image grant Pods run),helperImage(thelampyr-hluk-helperimage) andzygoteRegistries(the repositories grant Pods pull templates from); a reinstall keeps the ones the last install was given. A release's platform package supplies the first three (see Added)...