photoncloud-monorepo/README.md
centra 795b8ad70c
Some checks failed
Nix CI / filter (push) Successful in 7s
Nix CI / gate () (push) Failing after 1s
Nix CI / gate (shared crates) (push) Has been skipped
Nix CI / build () (push) Has been skipped
Nix CI / ci-status (push) Failing after 1s
Add prebuilt system closure support for host rollouts
2026-03-30 13:54:14 +09:00

2.8 KiB

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.