Skip to main content

Architecture

Version
since 2.x, describes 2.52.14
Feature flag
none
For
Platform operator

A licensed on-prem deployment has three tiers: a control plane that runs the platform's own services and its database, one region worker per region that executes provisioning commands against that region's virtualisation or bare-metal platform, and the compute nodes where instances, jobs and sessions run. Around them sit the systems the platform integrates with but does not replace: the scheduler controller, the monitoring core, the storage cluster, the registry, the provisioning and virtualisation platforms, your identity provider and your mail relay. This page describes the pieces, the protocol of every connection and the networks they need. It uses generic names only; the addressing plan of a deployment is captured in the integration questionnaire, not here.

Tiers and where the pieces run​

TierWhat runs thereWhere
Control planeThe API, the user portal, the operator console, the WebSocket server, the session proxy, the inference gateway, the model fetcher, PostgreSQL, Redis, an S3-compatible object store for uploaded filesThe control-plane hosts: virtual machines or a Kubernetes cluster, as the deployment decides. The model fetcher must run where the CephFS model cache and the project shares are mounted; the inference gateway must run where it can resolve and reach the compute nodes
Region workersOne worker-micro process per region, compiled for the region's providerIn the data centre of the region, with access to the Redis queue and to that region's provider API
Compute nodesBare-metal servers provisioned by Foreman, or virtual machines on Proxmox VE or OpenStack. GPU nodes additionally run the scheduler daemon, the NVIDIA stack, the monitoring agent and exporter, the CephFS mounts and the inference enginesYour racks, on the in-band and out-of-band networks described below
Integrated systemsForeman, Proxmox VE, OpenStack, Juniper switches, the Slurm controller, the Ceph cluster, Harbor, the Zabbix stack (server, web front end and its MySQL database), your OpenID Connect provider, your SMTP relay, the model source (Hugging Face Hub or a mirror)Your existing systems, or components installed for the deployment; who installs which is listed on the Requirements page

The control plane​

  • The API is one process that serves the REST API for the portal, the console, the CLI and the callbacks from compute nodes. It also runs the platform's periodic jobs: health probes of the registered back ends, the scheduler reconciliation, the host status checks that feed the region queues, and the monthly report e-mail.
  • PostgreSQL is the single source of truth: users, workspaces, projects, instances, regions, flags, branding, registered endpoints, jobs, volumes, registry projects, reports. The API applies the release's migrations when it starts. The inference gateway and the model fetcher read and write their own rows in the same database; the region workers report back to the API through the queue.
  • Redis carries caches and queues: user sessions, the feature-flag and branding snapshots, the monitoring hostname cache, the placement mappings that the session proxy and the inference gateway read, and one command queue per region that the region worker consumes. The reference installation runs separate Redis instances for cache and queue.
  • The portal and the console are static web applications. They read the effective feature flags and the active branding once per page load from the public bootstrap route and talk to the API from the browser.
  • The WebSocket server pushes events to open browser sessions and uses Redis to scale across instances.
  • The session proxy holds no state: it verifies the signature of a session URL minted by the API and reads one Redis key to find the node and port of the Jupyter process, then proxies HTTP and WebSocket traffic there.
  • The inference gateway sits on the request path of OpenAI-compatible clients: it looks the inference token up in PostgreSQL, reads the endpoint's placement from Redis, streams the request to the engine on the compute node and writes usage events back to PostgreSQL.
  • The model fetcher claims work from PostgreSQL rows and writes model weights to the CephFS model cache and to project shares; it needs kernel mounts of both.
  • Connectors. The scheduler, monitoring, storage and registry capabilities each have a neutral connector interface with exactly one implementation in 2.48.6 (Slurm, Zabbix, Ceph, Harbor). Exactly one cluster or endpoint per capability is active per deployment. The registration stores the API URL and a secret reference: the name under which the credential is configured on the API hosts. The credential value is never stored in the database and never returned by the API. The API probes each active back end periodically and records healthy or unreachable; the numbers are on each capability's page.

Region workers and providers​

  • A region is bound to one provider: Proxmox, OpenStack or Foreman (bare metal), set on the region in the console (Manage, then Regions). A data centre that offers both bare metal and virtual machines is modelled as two regions.
  • The API enqueues provisioning and status commands on the region's queue; the region's worker, compiled for that provider, consumes them. Because the region declares its platform, a worker only ever sees commands it implements. A region whose platform is unset receives the commands of every provider; that is the compatibility behaviour of older deployments.
  • Before executing a command, a worker compares its version with the API's and stops if they differ, so a stale worker never runs a new command.
  • For bare-metal regions the worker also drives Foreman for provisioning and inventory and the Juniper switches for the host ports. Block-volume attachments are executed by the worker against Proxmox VE or Cinder.

Integrations and protocols​

SystemProtocolWho connects to whomCredential held by
ForemanForeman REST API over HTTPS, basic authenticationBare-metal region worker to Foreman. Foreman itself serves PXE, DHCP, TFTP and discovery on the provisioning network and runs the post-install step on new hostsThe region worker
Juniper switchesThe switch's XML management APIBare-metal region worker to the switches, to enable and disable host portsThe region worker
Proxmox VEProxmox VE API over HTTPS, API tokenRegion worker to the Proxmox clusterThe region worker
OpenStackOpenStack APIs (identity, compute, block storage) over HTTPSRegion worker to the OpenStack control planeThe region worker
Slurmslurmrestd REST API with a JWT; no SSHAPI to the controller for accounts, limits, jobs, sessions and health. Compute nodes call the API back over HTTPS when a session or an inference engine is listeningThe API hosts (secret reference)
ZabbixJSON-RPC 2.0 API over HTTPS, API tokenAPI to the Zabbix front end. Zabbix collects from the nodes (agent 2 with pre-shared-key encryption, HTTP scrape of dcgm-exporter), from the management controllers (IPMI, Redfish over HTTPS) and from the switches (SNMP v2c), and sends alert e-mail to the SMTP relay itselfThe API hosts (secret reference)
CephManager dashboard REST API over HTTPS, username and password exchanged for a tokenAPI to the Ceph manager for shares, block images and capacity. Data path: compute nodes mount CephFS with the kernel client; hypervisors and Cinder use the RBD poolThe API hosts (secret reference); the CephFS client key on every mounting host
HarborHarbor REST API v2 over HTTPS, robot accountAPI to Harbor for projects, quotas, robots and usage. Compute nodes and hypervisors pull and push images from the same host name over TLSThe API hosts (secret reference)
OpenID Connect providerAuthorisation code with PKCE, discovery document, JWKS-signed ID tokens; the platform is a confidential clientBrowser to the provider for sign-in; API to the provider for the token exchangeThe API hosts (secret reference)
SMTP relaySMTPAPI to the relay for every platform e-mail; the Zabbix server to the relay for alertsThe API hosts; the Zabbix media type
Hugging Face Hub, or a mirrorHTTPSModel fetcher to the model source; one operator token per deployment if the source requires oneThe model fetcher host

Everything the API stores about a back end is its URL, the secret reference and the status of the last probe. Rotation of a credential is a change on the hosts that hold it, followed by a health check; see Operations.

Networks: in-band and out-of-band​

The sources distinguish two classes of network. Addresses, VLAN identifiers and firewall rules are a per-deployment matter collected in the integration questionnaire.

NetworkWho is on itWhat crosses it
Out-of-band managementThe management controllers of the servers (IPMI, Redfish) and the management interfaces of the switches; the Zabbix server or a Zabbix proxyHardware telemetry (temperatures, fans, power supplies, chassis power) and switch telemetry (interface state, traffic, errors) collected by the monitoring core; power control of bare-metal hosts during provisioning
ProvisioningNew bare-metal hosts and the Foreman serverPXE boot, DHCP, TFTP and discovery, owned by Foreman; no other DHCP server may run here
In-band managementCompute nodes, hypervisors, the control plane, the integrated systemsAgent traffic to the monitoring core and the exporter scrape; the API's calls to every back-end API; the region workers' connection to Redis; callbacks from compute nodes to the API; the gateway's and the session proxy's connections to compute nodes
Storage (Ceph public network)Compute nodes, hypervisors, the model fetcher host, the Ceph clusterCephFS and RBD data
User-facingUsers' browsers and clients, the portal, the console, the API, the session proxy, the inference gateway, the WebSocket serverHTTPS and WebSocket traffic; TLS is terminated in front of the services. Whether these names resolve on the public internet or only on your internal DNS is a questionnaire decision

Reachability that bring-up depends on:

FromToWhy
API hostsEach registered back end's API URLRegistration, health probes and every operation
Region workerRedis; the region's provider API; for bare metal also Foreman and the switchesCommand execution
Compute nodesThe API's URL as the nodes see itSession and inference callbacks; a node that cannot reach the API leaves sessions and endpoints in a starting state
Session proxyThe compute node and port of a sessionInteractive sessions; connections can stay open for hours
Inference gateway hostEvery compute node by the hostname the scheduler reportsRequest forwarding; a name that does not resolve fails only at first traffic, not at deployment
Compute nodes and hypervisorsHarborImage pulls and pushes
Zabbix server or proxyNodes (agent and exporter), management controllers, switchesTelemetry collection
Zabbix server and the APIThe SMTP relayAlert and platform e-mail
Model fetcher hostThe model sourceCaching model weights; an internal mirror is an option where outbound access is restricted

Where state lives​

Each integrated system keeps its own state (the scheduler's accounting database, the monitoring core's history, the storage cluster's data, the registry's images); the platform holds the records that tie them to workspaces and projects. The table of what persists, and what switching a flag off does and does not remove, is on the Operations page.