Onyx on Docker vs Kubernetes vs VMs

Onyx can run on Docker, Kubernetes with its Helm chart or VM-hosted installs. The options differ in failure handling, upgrade effort and the skills your team must keep, so this page shows which model fits which team.

On this page

Which Onyx deployment option fits your team

For a team that must run Onyx inside its own infrastructure, Docker on a VM suits a team that wants one host to operate, Kubernetes suits a team that already runs clusters and wants Helm-managed deployments, and VMs are the host layer under either choice. The Onyx Helm chart is published at version 0.9.17 as of October 16, 2026, so the Kubernetes path has a packaged starting point. VM capacity, OS patching and storage decisions carry over whichever runtime you pick, so your choice depends mostly on who will operate the stack after go-live.

The choice also turns on which Onyx deployment shape you need. Onyx Standard runs vector and keyword indexing, background sync workers, model inference servers, object storage and Redis, while Onyx Lite is a lighter chat and agents deployment without a vector database or background workers. If you need connectors to sync company content with its permissions, the background workers in Standard are the part to plan for. Standard also depends on Postgres, Vespa or OpenSearch for the index, Redis and model servers, and your team must back up and upgrade each of those on whichever runtime you pick.

Existing skills and the availability the business needs should settle the rest. Ask who will patch the hosts, rotate secrets, restore Postgres and the index, and run the upgrade when a new Onyx release ships. A single Docker host is one place where a failure takes Onyx down, so if the business needs more availability, plan redundancy at the VM and storage layer or move to Kubernetes, which adds cluster operations your team must own. Before you buy, confirm the supported deployment path and its requirements in the Onyx deployment docs, and write the chosen path into the implementation scope so the quote matches what you will run.

How Docker and Kubernetes differ for Onyx, factor by factor

This table compares running Onyx as Docker containers on a virtual machine with running it on a Kubernetes cluster installed from the Helm chart. Read each row as a question your platform team will have to answer, and treat the sizing and high availability cells as starting points to confirm with Onyx. The main takeaway is that Docker on a VM is simpler for one team to run, while Kubernetes suits teams that already operate clusters and want cluster-level scheduling and restarts.

FactorDocker on VMKubernetes
How the install is packagedDocker deployment path, with the Onyx services started as containers on one host.Helm chart, version 0.9.17 as of October 16, 2026, deployed into your cluster. Confirm chart values with Onyx.
Where VMs fitThe VM is the unit. It hosts the Docker runtime and all Onyx containers, so its CPU, memory and disk set the ceiling.Cluster nodes are usually VMs in a cloud or hypervisor. Node sizing and pool design sit with the cluster team.
ScalingScale up by resizing the VM. Adding capacity across hosts is a separate design project.Scaling depends on which components the chart exposes for replicas and resources. Confirm supported settings with Onyx.
Failure recoveryContainer restarts depend on Docker restart settings. Host loss means rebuilding on another VM from backups.The scheduler reschedules failed pods, but high availability for Postgres, the index and Redis depends on settings you must confirm with Onyx.
Upgrade mechanicsPull images for the target release, such as v4.9.2 released October 15, 2026. Plan a maintenance window and back up first.Upgrade the chart and values together, then check image tags. Test on a staging cluster and confirm migration steps with Onyx.
BackupBack up Postgres, the document index, Redis and any object storage volumes on the host. Test restores on a second VM.Back up the same stores and Helm values with the cluster team's tooling. Confirm the supported method with Onyx.
Skills requiredLinux administration, Docker, reverse proxy and TLS, plus Postgres and search index operations.Kubernetes, Helm, cluster networking, storage classes, plus Postgres and search index operations.
Who operates itA small platform or IT team, with a named on-call owner for the host and the Onyx services.A platform engineering team that already runs clusters, with Onyx owned as one workload among others.

How the Onyx deployment components fit together

Every Onyx deployment is a set of services that must run, connect and be backed up together. The five cards separate what the Standard and Lite profiles host from the three ways to lay those services out: Docker on one VM, Kubernetes with Helm or Terraform, and a split-VM layout. Read them first to see where each component will live before you compare upgrades, backup and operating effort.

Onyx Standard service set

Onyx Standard hosts the full service set. It runs Postgres for application data, Vespa or OpenSearch for the document index, Redis, model inference servers, object storage and background sync workers. Each one needs its own sizing, backup and upgrade path, so count them before you choose a host layout. Confirm with Onyx which index engine fits your connector mix and expected scale, because that choice changes what your team operates.

Onyx deployment overview

Onyx Lite service set

Onyx Lite is a lighter chat and agents profile without a vector database or background workers. Fewer services means fewer components to patch, back up and monitor, but the deployment gives up the document index and the background sync that connector-based search depends on. Confirm with Onyx which components Lite still requires, and whether any connector or permission feature depends on the sync workers, before you plan around it.

Docker on a single VM

One host runs the whole Docker stack. Onyx documents Docker as a self-hosted option alongside Kubernetes, Helm and Terraform, and its self-contained services can run on a single virtual machine. This gives the smallest operating footprint, but one host is one failure domain, and upgrades and backups touch every service at once. Ask Onyx to confirm host sizing and the restore procedure before you go live.

Onyx README

Kubernetes with Helm or Terraform

Helm or Terraform packages the stack for a cluster. Onyx publishes a Helm chart, and the same deployment can be provisioned with Terraform. This suits teams that already run cluster tooling and want upgrades and rollbacks through existing pipelines. The cost is cluster operations: storage classes, ingress, secrets and node sizing become your responsibility. Confirm which chart version and Terraform approach Onyx supports for your cluster version before you commit.

Onyx releases

Split-VM layout needs confirmation

Treat a split-VM layout as unconfirmed. Ask Onyx whether it supports separating the index, database, model servers and workers across hosts. Also ask which hosts must reach each other, how failover works, and how upgrades and backups run in that layout. Do not plan capacity, network rules or recovery around this layout until Onyx has answered those questions in writing.

Decision path from team skills to deployment model

The path starts with the team's existing skills. If the team already runs Kubernetes clusters, the Helm chart is the natural entry point. Otherwise, Docker on a virtual machine keeps the operating surface smaller. Both routes meet at the edition question: Onyx Lite omits the vector index and background sync workers that Onyx Standard adds, so Standard means more services to run and patch. The last step asks which stateful services need their own high availability, with Postgres and the index in one branch and Redis and object storage in the other. Confirm each answer against your recovery targets and your platform team's experience before you choose.

Decision path from existing skills to edition and high availability questions.

How high availability holds up in each model

A single Docker host or a single virtual machine is one failure domain. If that host loses power, its disk or its network path, every Onyx service on it stops together, including the chat API, the sync workers and the databases. Docker restart policies can bring containers back on the same host, and a VM can be restarted or restored from a snapshot, but neither moves the workload to healthy hardware on its own. Recovery therefore depends on how quickly your team can rebuild the host from configuration and data copies. Until you have run that rebuild, treat both models as having no redundancy.

Kubernetes adds rescheduling. When a node or container fails, the scheduler can start replacements on other nodes, and liveness probes can restart containers that stop responding. That protects the stateless parts of Onyx well, but it does not protect data. The state lives in Postgres, the index (Vespa or OpenSearch), Redis and object storage, and those services survive a node loss only if they are set up for replication or failover, such as a replicated Postgres cluster or a multi-node index. Do not assume which Onyx components support replicas or failover. Confirm it component by component with Onyx before you count Kubernetes as your availability plan.

Before you choose a model for high availability, ask Onyx and your platform team for three things, all written into the fixed scope before work starts. First, a list of every component that holds state, including Postgres, the index, Redis, object storage and any model server that keeps data, with the location and replication design for each. Second, the recovery procedure for each stateful component, covering who runs it, which backup it restores from and what is checked afterward. Third, a restore test on the model you pick, run from a real backup into a clean environment, with the result recorded. The Onyx deployment overview is the starting point for matching these components to your chosen model. Do not accept a high availability claim that has not passed that test.

Upgrades, backups, monitoring and skills for each model

This table compares what each model asks your team to own for upgrades, backups, monitoring, logging and in-house skills when running Onyx Standard. Read each row as work your team carries under that model, and treat the backup and monitoring rows as checklists to confirm before go-live. The main takeaway: Kubernetes adds a second release track through the Helm chart and needs cluster skills, while Docker on a VM has fewer orchestration layers. Backup and monitoring are your responsibility under either model.

AreaDocker on a VMKubernetes
UpgradesPull app release v4.9.2 (released October 15, 2026) and restart the Compose stack after reading its release notes.Track app release v4.9.2 and the Helm chart (version 0.9.17 as of October 16, 2026) as separate upgrades.
Postgres backupPlan a logical dump or volume snapshot on the VM. Confirm the supported method in the deployment docs.Depends on whether Postgres runs in the cluster or as a managed service. Pick the method and confirm it in the docs.
Index and object storageVespa or OpenSearch index data and object storage sit on VM disks. Back them up together so they match the Postgres backup point.Persistent volumes and object storage need snapshots taken at the same point as the Postgres backup.
Restore testingConfirm the restore procedure in the deployment docs, then prove it with your own test restore before go-live.Confirm the restore procedure in the deployment docs, then prove it with your own test restore before go-live.
Monitoring and loggingContainer logs and host metrics from the VM. Choose your own log shipper and metrics agent, and confirm which endpoints Onyx exposes.Cluster logging and metrics stacks apply. Confirm which Onyx services expose metrics before building dashboards and alerts.
Services to operateStandard runs Postgres, Vespa or OpenSearch, Redis, model servers, object storage and background workers.Same services as pods, with manifests supplied through the Helm chart. Onyx Lite drops the vector database and workers.
Skills needed in-houseLinux host administration, Docker Compose, Postgres and disk operations, plus Onyx configuration and upgrades.Kubernetes, Helm, storage classes, ingress and network policy, plus Postgres and Onyx configuration and upgrades.
Main effort driverEffort grows with manual backup scheduling and host patching. Ask any implementer to put both in the written scope.Effort grows with cluster upgrades and storage operations. Ask any implementer to put both in the written scope.

Upgrade steps for Onyx on Docker or Kubernetes

This sequence moves an Onyx deployment to a newer app and chart version while protecting indexed content, connector state and access controls. Each step ends with a written output, so the change record shows what was checked before and after the window. Rollback depends on which components changed, so confirm that path with Onyx before the window opens.

  1. Read app and chart release notes

    The platform team reads the Onyx release notes for the app version (v4.9.2, released October 15, 2026) and the Helm chart version (0.9.17 as of October 16, 2026) as two separate documents. Check whether the chart release changes the app image tag, environment variables, or the Postgres, index, Redis and model server settings you run. Docker Compose users read the app notes alongside the compose file changes they need to make. Done means a written list of every component that changes, each configuration key that is new or renamed, and any migration step Onyx flags for your version path. Send open questions to Onyx before moving on.

  2. Back up Postgres, index and object storage

    The platform team backs up each store before any change: Postgres, the document index (Vespa or OpenSearch, depending on your deployment) and object storage. On Docker, this means the database volume, the index volume and the object store location. On Kubernetes, use the snapshot or dump method your storage class and cluster support, and on VMs use volume or filesystem snapshots taken in a consistent state. Ask Onyx whether Redis holds state you must keep. Record the location, time and checksum of each copy in the change ticket. Done means every backup sits outside the systems being changed and a restore has been attempted on a separate host, or Onyx has confirmed the restore method in writing.

  3. Rehearse the upgrade on staging

    Build a staging copy of the same deployment model: the same Compose file on Docker, the same chart and values on Kubernetes, or the same OS and service layout on VMs. Restore the backups from the previous step into it, then run the exact upgrade commands planned for production. The test should confirm that services become healthy, database migrations finish, the index comes back and a sample of connectors syncs. Done means a staging run log with the commands used, the observed duration, and every manual intervention recorded, so production follows what was tested. A staging environment with a different topology shows little about the production change.

  4. Schedule the change with dependent users

    Identify who depends on the deployment: chat users, teams using agents or API integrations, and the owner of each connector. Agree a change window with them and freeze connector and permission changes for its duration. Before the window opens, get Onyx's written confirmation of the rollback path for the components that will change, then record the fallback decision with a named approver. Done means a published window, notified users, and a rollback plan on file that the on-call engineer can run without reconstructing it from memory.

  5. Apply the pinned upgrade in production

    Apply the upgrade using pinned version tags, and avoid floating tags such as latest. On Docker, update the image tags in the Compose file, then pull and start the stack. On Kubernetes, run the Helm upgrade with the reviewed values file for the confirmed chart version. On VMs, install the confirmed package versions and restart services in the order the release notes specify. Watch migration logs and pod or container health until every service reports ready. Done means all services are healthy, migrations completed without errors, and the change log records each command and its result.

  6. Verify connectors, sync status and permissions

    Check connectors first: each should run, show a recent successful sync and report no new errors. Then spot-check permissions in each source system, because Onyx answers only from documents a user can already see in the source application. Test accounts should receive answers only from documents they are allowed to open, and sync state should match the source. Confirm that chat, agent and API endpoints respond for a test user. Done means a signed checklist covering connector status, last sync times, permission spot checks and sign-in, with any failure either fixed or escalated to Onyx before the window closes.

Which Onyx deployment fits which team

This fits a small IT team with no existing cluster and a limited set of services it can operate. Illustrative situation: the team installs Onyx with Docker on hosts it already controls, using the Standard stack when connector sync and vector search are needed, or Onyx Lite when chat and agents are the only requirement. Lite has no vector database or background sync workers, so it has fewer components to run.

  • Model that fits: Docker on one or a few VMs, with Standard for full indexing or Lite for chat and agents only.
  • Skills to keep in-house: Linux administration, Docker, backup and restore of the Postgres database and file storage, and reading each Onyx release before upgrading.
  • Hand to a partner: the first install, sizing against the connectors you plan to use, SSO setup and a tested restore.
  • When Kubernetes is the better choice: when the team needs several replicas, controlled rolling upgrades or already runs the Helm chart as a platform standard. Confirm high availability support for your version before assuming it.

Before you commit, confirm with the Onyx deployment overview which identity and access features need the Enterprise Edition license.

What drives the cost of each Onyx deployment

Infrastructure is the line most teams price first, and it depends on which Onyx deployment you choose. The Standard deployment runs Postgres, Vespa or OpenSearch for the index, Redis, background sync workers, model inference servers and object storage. Each service can sit on a VM, a cluster node or a managed database, and index and object storage grow with the number of connectors you sync. Onyx Lite drops the vector database and background workers, so it has fewer stateful services to host. If you serve local models through Ollama, LiteLLM or vLLM, hardware for local models is often the largest single item, and it depends on model size and concurrent users. Ask your model owners for those figures before you buy GPUs or nodes.

People costs usually outlast the hardware. A platform engineer owns the Docker, Kubernetes or VM layer and the Helm or Terraform changes that come with it. A database administrator owns Postgres backups, restore tests and tuning, and an operator must keep Vespa or OpenSearch healthy, including recovery after a failed node. In a small team these roles often fall to the same two people, so confirm who is on call before you pick a topology. Licensing adds a separate question. Onyx Community Edition is MIT licensed, but code in ee directories falls under the Onyx Enterprise License, and the Onyx README lists SSO, SCIM and RBAC among enterprise features. Check each feature you need against the Onyx LICENSE file before you assume a Community install covers it.

Services are the third line. A fixed-scope implementation covers install, connector integration, SSO setup and hardening, and it is a one-time cost. Upgrades, patching, backup restore tests, on-call coverage and model updates recur for as long as the system runs, whether your own team or a retainer carries them. Ask every provider for a written quote that separates these items and states the Onyx edition and any ee features in scope, the hosts and node sizes assumed, who provisions and pays for GPU hardware and cloud accounts, the connectors covered and whether permission sync is tested, the upgrade and patch cadence with a named owner, backup and restore test frequency, on-call hours and escalation, handover documents, and what is excluded. Compare quotes only after they share the same assumptions.

How much effort and skill does each Onyx deployment need?

Is running Onyx on Docker less work than running it on Kubernetes?

Docker is usually the smaller operating load for one team, but the gap depends on how many services you run and patch on either path. Onyx Standard runs Postgres, a Vespa or OpenSearch index, Redis, model servers, object storage and background sync workers, and each of these needs sizing, storage and monitoring whichever platform you choose. On a Docker host, your team manages restarts, disk growth and host upgrades directly. Kubernetes, using the Helm chart (version 0.9.17 as of October 16, 2026), gives you cluster scheduling and easier scaling of workers, but it adds cluster operations your team must already know well. Choose Docker for a small team with one or two hosts and a modest user base. Choose Kubernetes when you already run clusters and need to scale sync workers separately. Confirm current chart and container requirements with Onyx before you size either path.

Can a small team run Onyx without outside help?

Yes, a small team can run Onyx alone if one or two people are comfortable with Postgres, Redis, container platforms and search index operations, and they have time for upgrades. The Standard deployment has the most moving parts, while Onyx Lite removes the vector database and background workers, which lowers the load for teams that only need chat and agents. Recurring work includes watching connector sync health, planning index capacity, applying releases such as v4.9.2, and checking that permissions still match the source applications. SSO, SCIM and role-based access control are Enterprise Edition features, so budget for that license if you need them. Outside help usually matters most for the first deployment, identity setup, hardening and the upgrade runbook. List who owns each recurring task before you decide.

What would an implementation partner take over from an in-house team?

A partner can take over planning, implementation, customization, integration, hardening, backup, upgrades, documentation and support, and each of these can be scoped separately. DeployOpen works inside the client's own infrastructure, including cloud accounts, data centers or air-gapped networks, so the systems and data stay in your environment. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Handover items worth writing into the scope include the as-built record, the backup and restore procedure, the upgrade runbook, SSO and admin configuration, and access for your staff. Ongoing support, upgrades and continuous testing are available as retainers, so you can buy the upkeep you need without a permanent hire. Ask for a written list of what the partner will not run, such as your identity provider or network devices.

How long does an Onyx installation take?

There is no fixed install time to quote for Onyx, so the timeline should come from your written scope. The main drivers are the number of connectors you enable, how many sources need permission sync, whether you run Onyx Standard or Onyx Lite, whether models are self-hosted through Ollama, LiteLLM or vLLM, and whether the network is air-gapped. Each connector needs credentials, a test sync and a permission check against the source application, so the connector count adds time of its own. Ask the partner or vendor for a written timeline with milestones for infrastructure, first sync, SSO, security testing and handover. Align those dates with your change windows and with the security and compliance reviews that must sign off before go-live.

Can Onyx run in an air-gapped site using Docker or Helm?

Onyx documents an air-gappable, self-hosted deployment that can be deployed with Docker, Kubernetes, Helm or Terraform, so both the Docker and Helm paths are candidates. What you must confirm is how container images, the Helm chart and model weights reach a network with no internet access. Plan for an internal registry that mirrors every image the chart or Compose file pulls, including the database, search index, Redis and model server images, and confirm the mirror procedure with Onyx before you commit. Self-hosted models need local weights, so Ollama, LiteLLM or vLLM must be fed from an internal source. Connectors also need network paths to your source applications, which a fully disconnected site may not have, so decide early which sources you will sync. Ask Onyx to confirm the offline update process for each new chart version before you depend on it. See the Onyx deployment overview for the components your environment must provide.

Does a single virtual machine layout work for Onyx?

A single VM layout may work for a pilot or a small user group, but you must confirm with Onyx that the chosen stack and its index fit on one host for your data volume and user count. The Onyx deployment docs list Postgres, Vespa or OpenSearch, Redis and model servers, and on one machine these all compete for memory, CPU and disk. Onyx Lite has fewer components and no vector database or background workers, so it is the more likely fit for one VM. Consider how you will back up the database and index, how you will restore after a host failure, and how you will upgrade with acceptable downtime, because a single host has no failover. Those three points usually decide whether a VM-only layout is acceptable for production. Ask Onyx in writing for the supported single-host topology and the minimum resources for your data size.

Does Onyx Lite reduce the operating work compared with Standard?

Yes, Onyx Lite removes the components that add the most ongoing operations, namely the vector database and the background sync workers. Onyx Standard includes vector and keyword indexing, background sync workers, model inference servers, object storage and Redis, so each one needs its own sizing, backups and upgrade checks. Onyx Lite is a lighter chat and agents deployment, so it suits teams that do not need the full indexing stack. Lite has no vector database or background workers, so confirm with Onyx whether connector syncing and indexed search are available before you rely on them. Also ask how a move from Lite to Standard is handled, since it changes the services you must run. Settle the feature split in writing before you pick a deployment, because a capability that looks minor in a demo may depend on the index.

How DeployOpen scopes, delivers and supports an Onyx deployment

Onyx can run on Docker, Kubernetes or virtual machines, and the right host depends on who will operate it and how much infrastructure your team already runs. DeployOpen fixes that choice in a written scope first, then plans, builds, tests, documents and hands over the deployment inside your own infrastructure, with ongoing support available as a retainer.

How we scope

  • The written scope names the hosting path, Onyx Standard or Onyx Lite, and the reasons behind that choice.
  • Sizing starts from your document count, connector list, user count and model choice, all recorded in the scope.
  • Engagements are fixed-scope, and ongoing support, upgrades and continuous testing can follow as a retainer.

How we build

  • We deploy Postgres, Vespa or OpenSearch, Redis and model servers as separate, documented components on the chosen host.
  • On Kubernetes we start from the project's Helm chart (version 0.9.17 as of October 16, 2026) and pin versions.
  • The VM layout uses the same component list, with service placement, firewall rules and storage documented for your operators.

How we hand over

  • Handover covers the runbook for each hosting path: install, upgrade, backup, restore and the failure modes your team owns.
  • Identity settings for SSO, SCIM and RBAC are documented with the license edition each one requires.
  • Compliance evidence covers architecture, configuration and restore records that your auditors or certification body will review.

How we support

  • Retainers cover upgrades to new Onyx releases, such as v4.9.2 released October 15, 2026, with changes tested before rollout.
  • Continuous testing can be added to the retainer, so each upgrade is retested after it lands.
  • Ask in the quote who performs backups, restore tests and upgrades, and what cadence the retainer covers.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.