Skip to content

feat: deploy milo-os.com to Datum Cloud compute as a Unikraft unikernel#151

Open
scotwells wants to merge 1 commit into
mainfrom
feat/datum-compute-deploy
Open

feat: deploy milo-os.com to Datum Cloud compute as a Unikraft unikernel#151
scotwells wants to merge 1 commit into
mainfrom
feat/datum-compute-deploy

Conversation

@scotwells

@scotwells scotwells commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the ability to deploy milo-os.com to Datum Cloud's compute platform, running the site as a Unikraft unikernel. The Astro server is packaged into a bootable unikernel image and deployed as a compute.datumapis.com/v1alpha Workload.

What's included

  • Unikernel buildthe unikernel Dockerfile and Kraftfile package the Astro SSR server into a bootable Unikraft unikernel image (esbuild-bundled entrypoint + Node binary on a minimal scratch rootfs).
  • Deploy program — a Kustomize program (base + staging overlay) that deploys the Workload, pinning the image tag and per-environment SITE_URL.
  • App changes — bundled-asset path detection in the server entrypoint so the Astro server runs inside the unikernel layout, plus esbuild as a build-time devDependency.

Secrets

GitHub App credentials are referenced by name only (secretKeyRefmilo-os-com-secrets) and are not included in this PR. The Secret is expected to already exist in the target project's default namespace; an example Secret template is provided with placeholder values only.

Deploy

kustomize build deploy/datum/overlays/staging | datumctl compute deploy -f - -y
# or, declaratively: datumctl apply -k deploy/datum/overlays/staging

See the deploy guide for details.

🤖 Generated with Claude Code

@scotwells scotwells force-pushed the feat/datum-compute-deploy branch 3 times, most recently from d3f063c to 4699886 Compare June 9, 2026 20:29
Package the Astro site as a Unikraft unikernel image and deploy it as a
compute.datumapis.com/v1alpha Workload via a Kustomize program under
deploy/datum/. GitHub App credentials are referenced by name only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@scotwells scotwells force-pushed the feat/datum-compute-deploy branch from 53b47cd to d5f9efc Compare June 9, 2026 21:18

@drewr drewr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to keep things moving, but 👀 @AriaEdo @ronggur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants