better/compute

Modules

What each module registers in a full deployment: API groups, migrations, and the jobs the runtime runs.

The built-ins (the node controllers, inventory, capacity) are always registered; the rest are passed as betterCompute({ modules }).

ModuleAPI groupsMigrations
node-controllers
site-boot
inventoryinventory
capacitycapacity, pools, quotas, reservationscapacity/0001_device_links, capacity/0002_lease_health, capacity/0003_device_counts, capacity/0004_mig_layouts, capacity/0005_extend_holds
tenancytenancy/0001_tenant_states, tenancy/0002_teardown_attempts
confirmationsconfirmations/0001_bindings
quorumcommandBatchesquorum/0001_batches, quorum/0002_payload_digest, quorum/0003_trust_bundle_state, quorum/0004_trust_bundle_approver_set, quorum/0005_batch_request, quorum/0006_trust_bundle_history, quorum/0007_leaf_payload, quorum/0008_batch_agent
pkipki/0001_sealed_secrets
tunnelsnodes, sandboxes, tunnels
provisionimages, profiles, workflowsprovision/0001_workflows, provision/0002_images, provision/0003_workflow_owner, provision/0004_gated_mig_layout, provision/0005_image_pins, provision/0006_workflow_batch
metalmetalmetal/0001_nodes, metal/0002_addresses, metal/0003_tenant_root, metal/0004_bmc_credentials, metal/0005_batch, metal/0006_bmc_driver_options, metal/0007_discovered, metal/0008_mac_source
vpsflavors, instances, providerAccounts, sandboxSnapshots, sandboxTemplates, sandboxVolumes, sandboxesvps/0001_instances, vps/0002_sealed_user_data, vps/0003_provider_bootstraps, vps/0004_sandboxes, vps/0005_sandbox_snapshots, vps/0006_warm_claims, vps/0007_template_env, vps/0008_template_network, vps/0009_snapshot_fixes, vps/0010_sandbox_metric_indexes, vps/0011_host_certificates, vps/0012_host_cert_validity, vps/0013_sandbox_expiring, vps/0014_sandbox_extending, vps/0015_snapshot_agent, vps/0016_warm_secret_versions, vps/0017_identity_rebind, vps/0018_placement, vps/0019_ip_pool_dns, vps/0020_volumes, vps/0021_volume_resize_hold, vps/0022_volume_storage
eventswebhooksevents/0001_webhooks, events/0002_delivery_retention, events/0003_webhooks_by_tenant
fleetfleetfleet/0001_names, fleet/0002_applied
rolloutreleases, rolloutsrollout/0001_rollouts
auditaudit/0001_checkpoints, audit/0002_archives

Jobs

Each is one reconciler or runtime loop; compute.jobs[name].tick() runs one pass.

  • audit.checkpoint
  • capacity.hosts
  • capacity.mig
  • capacity.reservations
  • capacity.rollup
  • capacity.usage
  • command-sweeper
  • drain
  • event-subscribers
  • events.deliver
  • events.fanout
  • events.prune
  • fleet.drift
  • health
  • inventory
  • inventory.hygiene
  • liveness
  • metal
  • node
  • nodespec
  • outbox-dispatch
  • provision.site-cache
  • quorum.batches
  • rollout
  • site-boot
  • tenancy
  • tenancy.resync
  • tunnels.ssh-certificates-gc
  • tunnels.ssh-certificates-reauthorize
  • vps.bootstraps
  • vps.hosts
  • vps.instances
  • vps.sandboxes
  • vps.usage
  • vps.volumes
  • workflow

Was this page helpful?

Better Compute is created by Sean Filimon

Last updated

On this page