Skip to content

Code map ​

Use this page to go from a topic to its code. Each row names the handbook page, the specification (SPEC.md) that owns the details, and the place to start in the code. Read the specification before a structural change.

Atlas app (Python, Frappe) ​

Tests sit beside the code as test_*.py.

AreaHandbookSpecificationStart in code
Tenant API and authSigning keys, Tenant APIAtlas appRouter, authentication
PlacementPlacementVM modulePlacement package
VM create, change, deleteVM recordsVM moduleVM service
Guest SSH keysChange SSH keysVM moduleMetal key API, guest key command
Calls to MetalHow a VM request worksVM moduleMetal client
Migration and resizeVM migrationVM moduleMigration, resize
ImagesImagesVM moduleImage transfer
Hosts and providersHosts and providersMetal Server moduleProvisioning, providers
Host syncHost syncMetal Server moduleUsage job
Public IPsPublic IPsMetal Server modulePublic IP service
Service VM lifecycleService VMsService moduleService records
Proxy setupProvision a proxyService moduleProxy provisioner
Cargo setup and bucketCargo serviceService moduleCargo provisioner, bucket job
IPv6 router setupIPv6 routerService moduleRouter provisioner
Settings and TLSConfigurationSettings and providersAtlas Settings
Browser consoleConsole accessVM moduleRealtime handlers
Scheduled jobsAtlas troubleshootingAtlas appHooks

Metal (Go, metald) ​

AreaHandbookSpecificationStart in code
Daemon startup and configDaemon and APImetaldDaemon entry
HTTP APIDaemon and APIAPIRoutes
VM records and reconcileReconciliationVMManager, reconciler
Firecracker and systemdVM runtimeFirecrackerMachine
Disks, images, snapshotsStorageStorageStorage package
VM networkingNetworkingNetworkLinux allocator
MigrationMetal migrationMigrationMigration package
Host syncHost syncHostHost service
Package mapMetal overviewInternal packagesInternal packages

Tests sit next to the code as *_test.go. Host integration tests need a Linux host. See integration testing.

Network services ​

ServiceHandbookSpecificationStart in code
WG MeshNetwork design, developmentWG MeshBPF rules, CLI
HTTP proxyHTTP proxyHTTP proxyControl daemon, OpenResty
IPv6 routerIPv6 routerIPv6 routerBPF rules

The repository map lists every component and its CI job.

AGPL-3.0