PhotonCloud monorepo
Find a file
2026-04-01 02:07:55 +09:00
.cargo Tighten cluster builds and add record-set DNS publication 2026-03-31 10:03:40 +09:00
.github/workflows Tighten cluster builds and add record-set DNS publication 2026-03-31 10:03:40 +09:00
apigateway Implement host lifecycle orchestration and distributed storage restructuring 2026-03-27 12:14:12 +09:00
baremetal Wire bootstrap installers to explicit targets and reboot-aware rollout 2026-03-21 16:43:00 +09:00
bin WIP snapshot: preserve dirty worktree 2026-03-20 16:25:11 +09:00
chainfire fix cluster resiliency gaps across VM watch, runtime health, and FlareDB routing 2026-03-31 14:09:45 +09:00
client-common ci: unify workspace inventory and harden tier0 gating 2026-03-28 00:09:22 +09:00
coronafs ci: unify workspace inventory and harden tier0 gating 2026-03-28 00:09:22 +09:00
crates WIP snapshot: preserve dirty worktree 2026-03-20 16:25:11 +09:00
creditservice Implement host lifecycle orchestration and distributed storage restructuring 2026-03-27 12:14:12 +09:00
deployer fix cluster resiliency gaps across VM watch, runtime health, and FlareDB routing 2026-03-31 14:09:45 +09:00
docs Add prebuilt system closure support for host rollouts 2026-03-30 13:54:14 +09:00
fiberlb Implement FlareDB SQL routing and service CRUD 2026-04-01 02:07:55 +09:00
flaredb Implement FlareDB SQL routing and service CRUD 2026-04-01 02:07:55 +09:00
flashdns Simplify DNS publication state and FlashDNS storage 2026-03-31 11:14:18 +09:00
iam Tighten cluster builds and add record-set DNS publication 2026-03-31 10:03:40 +09:00
k8shost Implement k8shost deployment REST API 2026-04-01 00:14:40 +09:00
lightningstor Implement FlareDB SQL routing and service CRUD 2026-04-01 02:07:55 +09:00
mtls-agent ci: unify workspace inventory and harden tier0 gating 2026-03-28 00:09:22 +09:00
nightlight nightlight: trim test-only helpers 2026-03-31 22:00:56 +09:00
nix Implement FlareDB SQL routing and service CRUD 2026-04-01 02:07:55 +09:00
nix-nos Tighten cluster builds and add record-set DNS publication 2026-03-31 10:03:40 +09:00
plans WIP snapshot: preserve dirty worktree 2026-03-20 16:25:11 +09:00
plasmavmc fix cluster resiliency gaps across VM watch, runtime health, and FlareDB routing 2026-03-31 14:09:45 +09:00
prismnet Implement host lifecycle orchestration and distributed storage restructuring 2026-03-27 12:14:12 +09:00
scripts Tighten cluster builds and add record-set DNS publication 2026-03-31 10:03:40 +09:00
.gitignore WIP snapshot: preserve dirty worktree 2026-03-20 16:25:11 +09:00
CONTRIBUTING.md WIP snapshot: preserve dirty worktree 2026-03-20 16:25:11 +09:00
flake.lock Implement host lifecycle orchestration and distributed storage restructuring 2026-03-27 12:14:12 +09:00
flake.nix Tighten cluster builds and add record-set DNS publication 2026-03-31 10:03:40 +09:00
LICENSE WIP snapshot: preserve dirty worktree 2026-03-20 16:25:11 +09:00
Makefile Tighten cluster builds and add record-set DNS publication 2026-03-31 10:03:40 +09:00
README.md Add prebuilt system closure support for host rollouts 2026-03-30 13:54:14 +09:00
SECURITY.md WIP snapshot: preserve dirty worktree 2026-03-20 16:25:11 +09:00
shell.nix T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00

PhotonCloud

PhotonCloud is a Nix-first cloud platform workspace that assembles a small control plane, network services, VM hosting, shared storage, object storage, and gateway services into one reproducible repository.

The canonical local proof path is the six-node VM cluster under nix/test-cluster. It builds all guest images on the host, boots them as hardware-like QEMU nodes, and validates real multi-node behavior.

Components

  • chainfire: replicated coordination store
  • flaredb: replicated KV and metadata store
  • iam: identity, token issuance, and authorization
  • prismnet: tenant networking control plane
  • flashdns: authoritative DNS service
  • fiberlb: load balancer control plane and dataplane
  • plasmavmc: VM control plane and worker agents
  • coronafs: shared filesystem for mutable VM volumes
  • lightningstor: object storage and VM image backing
  • k8shost: Kubernetes-style hosting control plane
  • apigateway: external API and proxy surface
  • nightlight: metrics ingestion and query service
  • creditservice: minimal reference quota/credit service
  • deployer: bootstrap and phone-home deployment service
  • fleet-scheduler: non-Kubernetes service scheduler for bare-metal cluster services

Quick Start

nix develop
nix run ./nix/test-cluster#cluster -- fresh-smoke

Main Entrypoints

Repository Guide

Scope

PhotonCloud is centered on reproducible infrastructure behavior rather than polished end-user product surfaces. Some services, such as creditservice, are intentionally minimal reference implementations that prove integration points rather than full products.

Host-level NixOS rollout validation is also expected to stay reproducible: the deployer-vm-smoke VM test now proves that nix-agent can activate a prebuilt target system closure directly, without recompiling the stack inside the guest.