Which Apache Druid deployment model fits your team
If you are a platform or infrastructure lead choosing how to run Druid for internal dashboards or user-facing analytics, pick Kubernetes when your team already operates clusters and can adopt the community druid-operator under its own change control. Pick VMs when your team runs stateful services on Linux hosts with configuration management and has no container platform to rely on. Docker fits evaluation and single-host work, because the Druid README points to local and Docker quickstarts as the documented starting path. The choice turns on three things: your existing container and cluster skills, the availability target you must meet, and who owns Druid upgrades day to day.
Under every option, Druid depends on three external systems, and each one needs a named owner. Deep storage, such as S3, HDFS or local disk, holds the segments Druid serves, so backup and recovery planning starts there. A metadata store, typically PostgreSQL, MySQL or Derby, keeps segment and cluster metadata, and ZooKeeper handles service discovery, coordination and leader election. On Kubernetes these may run as managed services or pods, on VMs they are often separate hosts, and in Docker they are easy to under-provision on a shared machine. Ask each team who patches, backs up and fails over each dependency, and write those answers into the scope before you compare platforms on anything else.
Before you commit, confirm production support for your chosen path with the Apache Druid project and with the maintainers of the operator or images you plan to run. Check that they support the release line you intend to deploy, including the 38.0.0 release published on October 1, 2026. Then run a short rehearsal: remove one data server and one query server, restore from deep storage and the metadata store, and time the recovery against your availability target. Record who approves each upgrade and how rolling upgrades of stateful roles are handled, and ask the operator maintainers to document that path in writing.
How Docker, Kubernetes and VMs compare on the factors that matter
This table compares how Apache Druid runs on Docker, Kubernetes and virtual machines across the factors that shape daily operations. Read each row against the platform skills your team already has, because the better option is usually the one whose failure handling, storage and upgrade path your staff can run without help. Deep storage, the metadata store and ZooKeeper stay outside all three options, so confirm version-specific details with the architecture docs or the druid-operator project before you commit.
| Factor | Docker | Kubernetes | VMs |
|---|---|---|---|
| Documented starting point | The README points to a Docker quickstart. Better for evaluation or staging; confirm production sizing in the architecture docs. | The README points to the community druid-operator. Better when you want an operator-managed deployment; confirm its release status and Druid version support. | Start from the local quickstart and map Master, Query and Data servers to hosts. Better when you want a layout closest to the documented roles. |
| Control over server roles and placement | You choose which containers run each role and on which hosts. Better when hosts are fixed and you have no cluster scheduler. | Placement uses Kubernetes scheduling rules, which the operator exposes; confirm how. Better when a platform team already runs the cluster. | Full control of each host's disks, memory and network, useful for pinning Historicals to specific storage. Better when hardware differs by role. |
| How a failed data or query server is replaced | Restart policies or your scripts recreate failed containers; confirm segment reload behavior. Better when failure volume is low and manual recovery is acceptable. | The controller reschedules failed pods; confirm with the operator how Historicals rejoin and reload segments. Better when you already run self-healing workloads. | A host rebuild or reprovision, then rejoin; confirm the reload path in the architecture docs. Better when recovery runbooks already exist. |
| Persistence of segments and state | Mount Historical caches on volumes; deep storage and the metadata store stay external. Better when those services already run outside the containers. | Persistent volume claims hold local state; confirm storage classes and reclaim policy with the operator. Better when your cluster has tested storage classes. | Local disks or attached volumes, protected by your existing host backup tooling. Better when host-level backups already cover the data stores. |
| Skills required | Linux administration and container image management. Better when the team already runs containers in production. | Cluster operations, operator upgrades, storage classes and networking. Better when a platform team already supports Kubernetes. | Linux administration, configuration management and Druid JVM tuning. Better when the team already automates host builds. |
| Who owns upgrades | Your team changes image tags and sequences rolling restarts; check the release notes for each version. Better when you control change windows. | Your team upgrades the operator and Druid version together; confirm the pairing for your target version. Better when GitOps handles rollouts. | Your team replaces binaries and config on each host, one at a time. Better when hosts are patched on a fixed schedule. |
| Typical fit | Evaluation, staging and smaller clusters on hosts you already run. Better when a single team owns the stack end to end. | Organizations with an established cluster platform and GitOps practice. Better when several Druid clusters share one platform. | Regulated teams that want host-level control and separate OS review. Better when OS and application reviews run separately. |
What Druid's master, query and data servers need from the platform
Druid splits work across master, query and data servers, then relies on deep storage, a metadata store and ZooKeeper. Docker, Kubernetes and VMs differ mainly in how they give each of these pieces stable identity, storage that survives restarts and a way to find each other. The cards below set out what each option must supply and what to confirm before go-live.
Master servers: Coordinator and Overlord
The Coordinator assigns segments to Historicals and the Overlord assigns ingestion tasks to workers. Both need a stable network address and a reliable path to the metadata store and ZooKeeper. On Docker, that means fixed hostnames and restart policies. On Kubernetes, confirm the workload type gives predictable pod names. On VMs, test leader failover on the platform you chose, because master availability depends on how quickly the surviving process is elected and reconnects.
Druid architecture docsQuery servers: Broker and Router
Brokers accept SQL and native queries, then fan them out to Historicals and Middle Managers and merge the results. The Router is typically the entry point for the HTTP and JDBC APIs and the web console, and it routes requests to Brokers. Both are largely stateless, so they restart and scale more easily. On Kubernetes, expose the Router through a service you control. On Docker or VMs, place a load balancer in front and confirm its health checks. Point applications at the Router address so a Broker can be replaced without changing client configuration.
Data servers: Historical and Middle Manager
Historicals load segments from deep storage onto local disk and answer queries from that cache, so they need persistent volumes that survive restarts. Middle Managers run ingestion tasks, which use significant CPU, memory and disk, and the Indexer is an alternative to them, so confirm which design your release uses. On Kubernetes, give Historicals stable identities and persistent volumes, and protect them from routine eviction. On VMs or Docker, confirm disk layout and recovery after a reboot. Size the segment cache disk and measure how long a Historical takes to reload after a node loss.
Deep storage for segments
Deep storage holds the durable copy of every segment, and Historicals load from it. S3 and HDFS are shared options that let any data server read the same segments, which matters once you run more than one. Local disk suits single-machine trials, but a multi-node cluster needs storage that every node can reach. On Docker or VMs, confirm how object storage credentials are injected and rotated. On Kubernetes, confirm the storage class and network path to the bucket or HDFS. Treat deep storage as the system of record for segments, with backups and a tested restore.
Metadata store: PostgreSQL, MySQL or Derby
The metadata store holds segment records, retention rules and supervisor definitions, so both master servers depend on it. Derby suits trials on one machine. For a shared environment, PostgreSQL or MySQL is a common choice, and it usually runs as a separate service. Confirm the database has its own backups, failover and patching plan, and that the Druid nodes reach it through a stable hostname. A lost metadata store without a tested backup is a recovery problem for the whole cluster, so restore it in a test environment before go-live.
ZooKeeper for discovery and election
ZooKeeper handles discovery, coordination and leader election across Druid processes, so a node that loses it can fall out of the cluster. Run it as a replicated ensemble with stable member names and persistent data directories. On Kubernetes, that usually means a StatefulSet with a headless service. On Docker or VMs, pin each member's hostname and IP address and keep its data directory on durable disk. Confirm the ensemble size and tolerance for member loss against the Druid documentation for your version before go-live.
How Druid's components connect under any of the three options
This is a component view of how the pieces connect, with no sizing figures. Clients send queries and loads to the Router, which passes queries to the Broker. The Broker reads from Historical and Middle Manager processes. The Overlord runs supervisors that read streams from Apache Kafka and Amazon Kinesis and start ingestion tasks on Middle Managers, while batch loads arrive as native batch tasks or SQL INSERT and REPLACE statements. Deep storage, the metadata store and ZooKeeper sit alongside the cluster. Check which of these your chosen option places inside its host, container or pod boundary, and which stays outside it.
Component view of Druid processes, external systems and the boundary the option controls.
What running Apache Druid on Docker, Kubernetes or VMs involves day to day
With Docker, your team owns the container images, the hosts they run on, the volumes that hold state, and the start order of every Druid service and its dependencies. The Druid README points to local and Docker quickstarts, which show how to bring up a working environment quickly. Quickstarts are built for evaluation and development, so the production topology, persistence and restart behavior are decisions your team must make and document. The skills this path demands are Docker and Compose administration, Linux operations, and enough Druid architecture knowledge to split Master, Query and Data server roles across containers deliberately.
- Persistence: Map volumes for segment storage, the metadata store and ZooKeeper data so that recreating a container does not discard state.
- Restart behavior: Set restart policies per service and define the order in which ZooKeeper, the metadata store and deep storage come up before Druid processes start.
- Dependencies: Decide whether the metadata store and ZooKeeper run in containers or on separate hosts, and who backs up each one.
- Host layout: Decide which containers share a host, since Data servers carry the heaviest disk and memory load.
- Upgrades: Pin image tags, rehearse each Druid upgrade on a copy of the stack, and check the release notes for the target version.
Confirm the volume mappings, restart policies and image sourcing, including how your security team scans images, before you treat the quickstart as a production baseline.
On Kubernetes, the Druid README points to the community druid-operator as the route for Kubernetes deployments. Your team owns the operator install, the cluster it runs in, the storage classes, and the decision about which operator release works with which Druid release. Treat the README pointer as a starting point and confirm the operator's status yourself. The skills this path demands are Kubernetes administration, Helm or manifest management, persistent volume design and operator troubleshooting.
- Maintenance status: Review the operator's repository activity, release history and open security issues, and record the date you checked.
- Version compatibility: Confirm which Druid versions the operator supports, and whether your target release is covered before you upgrade.
- Who answers: Ask in writing who handles operator bugs and security fixes: the community project, your implementation partner or your own team.
- Stateful services: Decide whether ZooKeeper, the metadata store and deep storage run inside the cluster or outside it, and who patches each.
- Upgrades and rollback: Confirm how the operator performs rolling upgrades across Master, Query and Data server roles, and whether a tested rollback path exists.
Get answers to these questions in writing before you choose Kubernetes as the target platform.
On virtual machines, your team owns the stack from the base image up: host provisioning, process layout, supervision, OS patching and the network between server roles. Druid's architecture documentation splits work across Master servers (Coordinator and Overlord), Query servers (Broker and Router) and Data servers (Historical and Middle Manager or Indexer), and it depends on deep storage, a metadata store and ZooKeeper. The architecture page explains these roles, so your team writes its own host runbooks and install procedure. The skills this path demands are Linux systems administration, service management, network design and configuration management.
- Host provisioning: Size each host for its role, and decide which roles share a host and which need dedicated hosts.
- Process supervision: Choose a supervisor such as systemd, define start order and health checks for each Druid process, and test what happens after a host reboot.
- OS patching: Schedule patch windows that drain one role at a time, and confirm that your OS baseline is supported by the Druid version you run.
- Network layout: Restrict traffic between Master, Query and Data servers, and document the ports that Kafka, deep storage and ZooKeeper require.
- Dependency backups: Back up the metadata store and align deep storage retention with it, so segments and metadata agree after a restore.
Confirm the role layout, supervision method and patch window with your operations team before you size hosts.
Upgrades, backups, monitoring and skills for each Apache Druid deployment option
This table compares what each deployment option asks your team to do for upgrades, rollback, backups, monitoring, failure handling and daily operations. Read each cell as the work your team owns, plus the item to confirm in the Druid release notes or operator documentation. The main takeaway is that the same Druid roles and external dependencies apply everywhere, so the option you choose changes who handles rollout, state and recovery.
| Factor | Docker | Kubernetes | VMs |
|---|---|---|---|
| Upgrade path | Pull the new image tag and restart services in release-note order. Confirm rolling-restart order and metadata schema changes for your target version. | Roll the image through the community druid-operator or your own manifests. Confirm operator support for the target Druid version and its upgrade notes. | Stage the new release on each role, then restart in the order the release notes give. Confirm rolling order and metadata steps. |
| Rollback | Redeploy the previous image tag. Confirm whether metadata schema changes can be reversed, since downgrade support is version specific. | Revert the manifest or operator version. Confirm the previous Druid version can read segments and metadata written by the newer release. | Reinstall the previous package on each role and restore config. Confirm downgrade support and whether a metadata backup is needed first. |
| Backups (deep storage and metadata store) | Back up the metadata store and deep storage (S3, HDFS or local disk). Confirm both are captured on the same schedule. | Back up the metadata store and deep storage, plus the operator's custom resource definitions. Confirm where the Druid config lives and that it is recoverable. | Back up the metadata store and deep storage, plus config files on every host. Confirm paths and any ZooKeeper data you must keep. |
| Monitoring and alerting | Run a metrics collector beside the containers and alert on each role's metrics. Confirm metric names and emitter settings for your version. | Use your cluster monitoring stack to watch pods, restarts and Druid metrics. Confirm the operator's exposed metrics and the probes it configures. | Install a metrics agent on every host and alert on process, disk and Druid metrics. Confirm emitter setup and metric names in the Druid docs. |
| Failure handling by server role | Restart policies recover crashed containers. Confirm per-role recovery for Coordinator, Overlord, Broker, Historical and MiddleManager in the docs. | Pod rescheduling and probes handle crashes, and persistent volumes must reattach. Confirm operator behavior for each role, especially data servers holding local state. | Process supervisors restart failed services, and host loss needs manual or scripted failover. Confirm role redundancy and ZooKeeper quorum rules in the docs. |
| Operating skills | Container basics, Compose or run configuration, volume management and Linux networking. Confirm supported images and tags in the release notes. | Kubernetes operations, operator or chart usage, storage classes and persistent volumes, plus Druid tuning. Confirm operator support status before adoption. | Linux administration, config management, Druid cluster tuning, and ZooKeeper and metadata database administration. Confirm the package and version path with your team. |
How to stage an Apache Druid deployment before go-live
This sequence takes an Apache Druid deployment from workload definition to a rehearsed, documented handover. Each step produces a decision or record that the next step depends on, so the team can see what was chosen and why before production traffic arrives. Run every step with your own hosts, cluster and data before you commit to production.
Confirm the workload and concurrency
Name the data sources and query pattern before choosing a platform. Document whether ingestion comes from Apache Kafka or Amazon Kinesis through supervisors, or from batch loads through native batch tasks or SQL INSERT and REPLACE statements. Record whether queries serve internal dashboards or end users, and estimate peak concurrent queries and ingest rate from your own telemetry. Done when product, data and security leads sign one workload sheet listing sources, query users and peak concurrency.
Choose the deployment option with operators
Select Docker, Kubernetes or virtual machines together with the team that will patch, scale and restore the cluster. Ask that team which platform it already operates, how it handles stateful services and who is on call. The Druid README points to Docker quickstarts for local trials and to the community druid-operator for Kubernetes, so confirm that any operator you adopt supports the Druid release you plan to run. Done when the team records the chosen option, its owner and the Druid release line it will run, starting from the 38.0.0 release published on October 1, 2026, or a later release you verify.
Place deep storage, metadata store and ZooKeeper
Decide where segments, metadata and coordination state live before any host is built. Deep storage can be S3, HDFS or local disk, the metadata store is typically PostgreSQL, MySQL or Derby, and ZooKeeper handles service discovery, coordination and leader election. For each dependency, record the high availability design you will test, such as a replicated database service, a ZooKeeper ensemble spread across failure domains, and object storage with your provider's durability terms. Confirm with the Druid architecture documentation whether Derby suits your production design. Done when a diagram shows each dependency, its high availability mechanism and its owner.
Rehearse upgrades and restores in a copy
Run this step on your own hosts, cluster and data before committing to production. Clone the production layout into a non-production environment with representative segment volume and a copy of the metadata store. Upgrade one server role at a time in the order the release notes for your target version specify, timing each stage and logging every manual intervention. Repeat the exercise for a restore from deep storage and metadata backups, and write down the timings your environment produces, since they depend on your hosts, network and data size. Done when you hold dated logs of both rehearsals and every fix has been applied to the runbook draft.
Document runbooks and hand over
Write runbooks for start, stop, scale, upgrade and restore, along with the alerts each procedure answers, using the rehearsal logs as the source of truth. Assign an owner for each Master, Query and Data server role, the metadata store, deep storage and ZooKeeper, and name who holds on-call for each. Hold a handover session where the operating team restores a test segment from the runbook without help from the build team. Done when the operating team signs the runbooks and handover record, and leadership approves go-live based on the rehearsal results.
Why upgrade planning starts with the current Druid release lines
Upgrade planning starts with the release history, because the Druid releases page lists 36.0.0 on February 9, 2026, 37.0.0 on May 8, 2026 and 38.0.0 on October 1, 2026. Before you choose a deployment option, record which release each cluster runs today and which target you intend to reach, using the Druid releases page as the reference. For every deployment, then work through four steps: pin the image tag, chart or operator version so nothing moves by accident; read the release notes for each version between the current and target release; test that exact path on a copy of production, including the metadata store and segment data; and only then schedule the change. A team on 36.0.0 has two later releases to read and rehearse, so the notes for 37.0.0 matter as much as the notes for the target.
The deployment option decides which pins you maintain and who performs each step. On Docker, the image tag in your Compose file or service unit is the main pin, and you change each Druid service container while the metadata store and ZooKeeper keep their own versions and containers. On Kubernetes, the community druid-operator named in the Druid README adds a second pin: the operator version, its custom resource definitions and the Druid image referenced in the custom resource must agree, so read the operator's own release notes before changing any of them. On virtual machines, each host carries its own package or archive version and configuration per server role, so a rolling change is manual work and version drift across hosts needs active tracking. In all three cases, the rollback plan depends on keeping the previous image, chart or package and on a restore of the metadata store that you have tested.
Before you schedule any change, confirm the supported upgrade order for each server role in the Druid documentation. The Master servers (Coordinator and Overlord), Query servers (Broker and Router) and Data servers (Historical and Middle Manager or Indexer) are separate roles, and the sequence in which you restart them should come from the project's documented steps. Ask the same question about the metadata store, ZooKeeper and deep storage, since each sits outside Druid and has its own upgrade path and compatibility requirements. Write the confirmed order into the change plan, name an owner for each step, and set a rollback point before the first restart. If you want the rehearsal and runbook prepared as a fixed-scope engagement, DeployOpen agrees that scope and its deliverables in writing before work starts.
What an Apache Druid deployment costs and how much effort it takes
What drives the cost of running Apache Druid on Docker, Kubernetes or VMs?
Druid's Apache License 2.0 means the software itself carries no license fee, so cost comes from the infrastructure and people around it. Four components drive the bill: hosts or cloud accounts for the Master, Query and Data servers, deep storage such as S3, HDFS or local disk for segments, a metadata store such as PostgreSQL, MySQL or Derby, and ZooKeeper for coordination. Staff time for design, tuning, upgrades and incident response is a major cost, whether it is your team's time or a partner's fee. Hosts, storage and monitoring recur every month, while setup and migration are one-time. Costs rise with data volume, retention, query concurrency and the number of environments you keep. Ask every bidder to price the same scope and units so the options compare fairly.
Can our team run Apache Druid without an outside implementation partner?
Yes, if your team has the skills and time to operate it, since Druid is Apache 2.0 software you can install and run yourself. The Druid README points to local and Docker quickstarts, so a small test cluster is a sensible first step. Production work is heavier: you size the Master, Query and Data servers, configure deep storage, the metadata store and ZooKeeper, connect Kafka or Kinesis supervisors, and plan backups and upgrades. Staff need working knowledge of ingestion, segments and query behavior alongside platform skills. A practical test is a short internal pilot on your own data. If nobody on the team can explain how a segment is loaded, queried and recovered, budget for training or outside help before go-live. DeployOpen is one such option, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
What work does an Apache Druid project need from our team?
Expect the project to need named people, time and access from your side before any build starts. Cluster access means hosts or cloud accounts, network paths, and service accounts for the metadata store and deep storage that Druid depends on. Streaming work needs read access to Kafka topics or Kinesis streams, plus the schema and retention details for each. Security sign-off covers how the HTTP and JDBC APIs and the web console are authenticated, how TLS is handled, and how database credentials are stored. Data owners must confirm which datasets load, how long they are retained, and who may query them. Ask for a list of these people, access grants and approvals in the scope document so delays do not surface mid-build.
How does operating effort change between Docker, Kubernetes and VMs for Druid?
Effort shifts mostly in who maintains the layer under Druid. On VMs, your team owns OS patching, process supervision, disk layout and cluster scripts, which is familiar work but manual. On Docker, images and compose files are simpler to reproduce, but you still own the host, volumes, restarts and upgrades across several containers. On Kubernetes, the community druid-operator covers much of the deployment pattern, but you must know Kubernetes storage and networking and confirm the operator's maturity for your Druid version. The Druid work itself, such as sizing, ingestion tuning and query performance, is much the same under all three. Confirm each option's on-call, upgrade and backup steps with your team before choosing.
Is Kubernetes always the better high availability choice for Apache Druid?
No. Kubernetes can restart failed pods and spread them across nodes, but high availability for Druid depends on the parts it relies on: a healthy ZooKeeper ensemble, a metadata store with its own failover, deep storage that survives node loss, and enough Data server capacity to keep serving queries when a node is lost. Those can be built on VMs or Docker hosts just as well. Kubernetes adds scheduling and self-healing, but it also adds control plane and storage dependencies to operate. The Druid README points to the community druid-operator for Kubernetes deployments, so confirm its support status and features before you rely on it in production. Ask your team to test node failure, metadata failover and a full restore on whichever option you pick.
Can we move an Apache Druid deployment to another option later?
Moving is easier when data and configuration stay outside the nodes. Segments live in deep storage such as S3, HDFS or local disk, and the metadata store holds the cluster's record of them, so those two are the anchors that carry across a move between VMs, Docker and Kubernetes. Harder parts include ZooKeeper state, cluster and runtime configuration, supervisor specs for Kafka or Kinesis, and any custom extensions or authentication setup. Plan the cutover around a tested restore, because a move without a rehearsed restore is the riskiest step. Also check the Druid version on both sides, since upgrades across the 36.0.0, 37.0.0 and 38.0.0 releases each need their own test. Ask any partner to document the migration steps as part of the handover.
What should we ask for in a written quote for Apache Druid work?
Ask for a written scope that lists each deliverable, the environments covered, the systems you will hand over, and the milestones agreed before work starts. The quote should separate one-time work, such as design, build, migration, hardening, documentation and training, from recurring work, such as upgrades, backup testing, monitoring and support. It should name who does each task, what your team must provide, and which access, approvals and data owners it assumes. Ask how upgrades to a new Druid release are tested, how backups are verified, and how scope changes are priced. Confirm which hosting and storage costs stay with you, since cloud accounts are billed to your organization. DeployOpen does not publish a price list, so a quote follows from the written scope.
How DeployOpen scopes and delivers Druid deployments
DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Apache Druid, that means agreeing the runtime (Docker, Kubernetes or virtual machines) against your sizing, availability and operating constraints, then delivering it under a written, fixed-scope agreement.
How we scope
- The written scope names the runtime, the Druid server roles in scope and who operates each layer.
- Scope covers the external dependencies: deep storage such as S3, HDFS or local disk, a metadata store, and ZooKeeper.
- Engagements are fixed-scope, with timelines agreed in writing before work starts; ongoing support is a retainer.
How we build
- Treat Druid's Docker quickstart and the community druid-operator as starting references, then adapt them to your environment.
- Configure Kafka or Kinesis supervisors or batch ingestion, then test load paths against representative data.
- Set up authentication and access controls for the console, HTTP API and JDBC endpoints, confirmed against your Druid version.
How we hand over
- Documentation covers topology, sizing assumptions, configuration, backup and restore steps, and upgrade procedures for the chosen runtime.
- Backup covers the metadata store and deep storage, which hold segment metadata and segment data respectively.
- Handover includes runbooks and a walkthrough with the team that will operate the cluster after go-live.
How we support
- Upgrades follow Druid's release line; the 38.0.0 release was published October 1, 2026, and each upgrade is planned in advance.
- Retainers cover ongoing upgrades, continuous security testing and support, agreed in writing.
- Confirm who receives Druid release notices and security advisories, and who approves each upgrade window.

