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
| Tier | What runs there | Where |
|---|---|---|
| Control plane | The 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 files | The 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 workers | One worker-micro process per region, compiled for the region's provider | In the data centre of the region, with access to the Redis queue and to that region's provider API |
| Compute nodes | Bare-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 engines | Your racks, on the in-band and out-of-band networks described below |
| Integrated systems | Foreman, 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
| System | Protocol | Who connects to whom | Credential held by |
|---|---|---|---|
| Foreman | Foreman REST API over HTTPS, basic authentication | Bare-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 hosts | The region worker |
| Juniper switches | The switch's XML management API | Bare-metal region worker to the switches, to enable and disable host ports | The region worker |
| Proxmox VE | Proxmox VE API over HTTPS, API token | Region worker to the Proxmox cluster | The region worker |
| OpenStack | OpenStack APIs (identity, compute, block storage) over HTTPS | Region worker to the OpenStack control plane | The region worker |
| Slurm | slurmrestd REST API with a JWT; no SSH | API 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 listening | The API hosts (secret reference) |
| Zabbix | JSON-RPC 2.0 API over HTTPS, API token | API 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 itself | The API hosts (secret reference) |
| Ceph | Manager dashboard REST API over HTTPS, username and password exchanged for a token | API 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 pool | The API hosts (secret reference); the CephFS client key on every mounting host |
| Harbor | Harbor REST API v2 over HTTPS, robot account | API to Harbor for projects, quotas, robots and usage. Compute nodes and hypervisors pull and push images from the same host name over TLS | The API hosts (secret reference) |
| OpenID Connect provider | Authorisation code with PKCE, discovery document, JWKS-signed ID tokens; the platform is a confidential client | Browser to the provider for sign-in; API to the provider for the token exchange | The API hosts (secret reference) |
| SMTP relay | SMTP | API to the relay for every platform e-mail; the Zabbix server to the relay for alerts | The API hosts; the Zabbix media type |
| Hugging Face Hub, or a mirror | HTTPS | Model fetcher to the model source; one operator token per deployment if the source requires one | The 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.
| Network | Who is on it | What crosses it |
|---|---|---|
| Out-of-band management | The management controllers of the servers (IPMI, Redfish) and the management interfaces of the switches; the Zabbix server or a Zabbix proxy | Hardware 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 |
| Provisioning | New bare-metal hosts and the Foreman server | PXE boot, DHCP, TFTP and discovery, owned by Foreman; no other DHCP server may run here |
| In-band management | Compute nodes, hypervisors, the control plane, the integrated systems | Agent 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 cluster | CephFS and RBD data |
| User-facing | Users' browsers and clients, the portal, the console, the API, the session proxy, the inference gateway, the WebSocket server | HTTPS 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:
| From | To | Why |
|---|---|---|
| API hosts | Each registered back end's API URL | Registration, health probes and every operation |
| Region worker | Redis; the region's provider API; for bare metal also Foreman and the switches | Command execution |
| Compute nodes | The API's URL as the nodes see it | Session and inference callbacks; a node that cannot reach the API leaves sessions and endpoints in a starting state |
| Session proxy | The compute node and port of a session | Interactive sessions; connections can stay open for hours |
| Inference gateway host | Every compute node by the hostname the scheduler reports | Request forwarding; a name that does not resolve fails only at first traffic, not at deployment |
| Compute nodes and hypervisors | Harbor | Image pulls and pushes |
| Zabbix server or proxy | Nodes (agent and exporter), management controllers, switches | Telemetry collection |
| Zabbix server and the API | The SMTP relay | Alert and platform e-mail |
| Model fetcher host | The model source | Caching 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.
Related pages
- What is delivered: the component list
- Requirements and compatibility: versions and what you provide
- Deployment and integration: the bring-up order
- Monitoring and alerting, Jobs and scheduling, Project storage, Container registry, Single sign-on and 2FA, Model catalogue, Inference endpoints: the numbers and limits of each integration