Kestra deployment options: when Docker, Kubernetes or VMs fits
A platform or operations lead who must place a self-hosted Kestra inside their own infrastructure should decide the edition before choosing a runtime. The open-source edition is documented with a single-server default, so Docker or a VM is the simpler first step for one team. Kubernetes becomes the target when the team needs Enterprise worker groups, task runners for Kubernetes and the high availability backends, since those pieces add components that someone must install, patch and back up. Kestra's edition comparison sets out which features sit in each edition. Confirm that feature list against the current version before you size anything.
Docker fits a single team that wants one container host and a short path to a working open-source instance. Plan for manual secret and access management, because the open-source edition offers basic authentication only and no audit logging. A VM fits an organization whose standard is virtual machines managed by configuration tooling, since the same single-server model then runs under existing patching, backup and monitoring processes. Kubernetes fits a team that already operates a cluster, needs task runners for Kubernetes or Enterprise worker groups, and can staff the high availability backends, which the Enterprise edition lists as Kafka with Elasticsearch, or as Redis, AMQP or GCP Pub/Sub queue backends.
The choice turns on two decisions that Docker, VMs and Kubernetes cannot make for you: which edition the team buys and which backends that edition requires. Ask Kestra to confirm in writing which Enterprise features and high availability backends the team's scope needs, then size the runtime from that list. Also check the version line before building anything. Kestra 2.0 is a major release with breaking changes and a dedicated migration guide, including replacing ForEach and ForEachItem with a single Loop task, while the 1.3 line still receives patch releases. Choose the line first, then test backup, restore and upgrade steps on the runtime you pick.
Kestra deployment options compared on the factors that matter
This table compares how Kestra's open-source edition would run on Docker, Kubernetes and virtual machines across the factors that drive operating effort. Read each row against your team size, isolation requirements and patching process, and confirm platform-specific details in Kestra's installation documentation and your own test environment. The main takeaway: the host platform changes who patches, scales and restores Kestra, while the open-source edition's features, such as basic authentication and no audit logging, stay the same.
| Factor | Docker | Kubernetes | VMs |
|---|---|---|---|
| Single-team fit | Suits one team that wants a contained setup on a single host. Confirm the supported Docker layout in Kestra's install docs. | Suits a platform team that already runs Kubernetes and can own cluster operations for Kestra. | Suits a team that manages servers directly and wants OS-level control without container tooling. |
| Worker isolation | Containers separate processes, but worker isolation as a feature is listed for Enterprise only. | Node and pod placement can separate workloads. Worker groups and task runners for Kubernetes are listed under Enterprise. | Separation depends on how many workers you place per VM. Worker isolation as a feature is listed for Enterprise. |
| High availability path | Open-source default is one server. Enterprise HA adds queue and store backends you must host and back up. | Enterprise HA can use cluster replicas and scheduling. Confirm the supported HA layout with Kestra before you design it. | Open-source default is one server. HA means building a multi-VM layout and load balancing it yourself. Confirm with Kestra. |
| How workers scale | Add containers or hosts by hand or with your own scripts. Confirm worker group scaling options in Kestra's docs. | Scale through cluster autoscaling and Enterprise worker groups and task runners. Confirm the mechanics in Kestra's docs. | Scale by provisioning more VMs. Confirm how new workers join the deployment in Kestra's docs. |
| Who owns the OS and patching | Your team patches the host OS and the Docker engine. Kestra image updates are a separate step. | Your platform team patches nodes and the cluster. Kestra image updates are a separate step. | Your team patches the full OS and Kestra on every VM, which is the most host-level work of the three. |
| Backup scope | Back up Kestra's backend storage, mounted volumes and the deployment definition. Confirm the full list in Kestra's docs. | Back up backend storage, persistent volumes and manifests, plus cluster state if your team owns it. | Back up backend storage and host snapshots. Flows kept in Git give you a second copy. Confirm the full list in Kestra's docs. |
| Skills required | Container runtime, Linux host administration, reverse proxy and TLS, and Kestra configuration. | Kubernetes operations, networking, storage classes, RBAC and Kestra configuration on top. | Linux administration, service management, network and firewall setup, and Kestra configuration. |
Which components each hosting model adds to the Kestra install
Your hosting model decides which components sit around the Kestra install. The open-source edition runs as a single server by default, while Enterprise adds worker groups, task runners and high availability queue backends. Each card shows what your team would operate and what to confirm with Kestra before you commit.
Single-server open-source default
The Apache-2.0 edition runs as a single server by default, and Kestra describes it as fully functional for production. Your team operates that one process, its storage, any TLS termination in front of it, patching and backups. The edition offers basic authentication only, so secrets and user access are managed by hand, and audit logging is not included. Confirm with Kestra which storage and backup steps it expects for a single node before you size the host.
Edition comparisonDocker host running the container
A Docker host runs the Kestra container with the same single-server limits as the open-source edition. Your team owns the host, the container runtime, the image version and the volumes that hold Kestra state. Upgrades mean pulling a new image, and Kestra 2.0 is a major release with breaking changes and a dedicated migration guide, so test your flows against that guide before moving a production host. Confirm with Kestra which volumes must persist between container restarts.
Kubernetes with Enterprise worker groups
On Kubernetes, Enterprise worker groups and task runners can target Kubernetes and cloud batch services, so tasks run on workers you size separately from the core server. Your team operates the cluster, node pools, namespaces, the RBAC that governs the Kestra service account, and the container images that task runners launch. Confirm with Kestra which worker group and task runner settings it supports for your cluster version, and which cloud batch services your edition covers.
Virtual machines with an owned OS
On virtual machines, your team owns the operating system, the runtime Kestra requires, the Kestra process and its service unit. The platform provides nothing beyond the Kestra install, so OS patching, time sync, disk and log rotation and firewall rules sit with your operations team. Upgrades of the process are also your responsibility. Confirm with Kestra which OS and runtime versions each release line supports, and how it recommends running the process under a service manager.
Enterprise high availability queue backends
The Enterprise high availability architecture depends on a queue backend, and the edition comparison names Kafka plus Elasticsearch, Redis, AMQP or GCP Pub/Sub as options. Your team operates whichever backend you choose, including its clusters, capacity, failover, access control and backups, alongside the Kestra nodes. Confirm with Kestra which backend it recommends for your cloud, whether Elasticsearch is required with each option, and how the queue should be sized before you settle on a design.
How the hosting choice follows from edition and availability needs
The diagram starts with the edition decision. Open-source Kestra is Apache-2.0 licensed, its default deployment is single-server, and it offers basic authentication only, so a single team that accepts those limits can run it on one Docker host or VM. Multiple teams, or any need for high availability or worker isolation, lead to Enterprise Edition and then to Kubernetes with Enterprise backends. If Enterprise is chosen without those needs, confirm the supported deployment target with the vendor before committing. Both branches finish with a load test using your own flows and a rehearsed backup and restore before production.
The path from edition and availability needs to a hosting choice.
How Kestra upgrades, backups and monitoring differ by host
This table compares how release planning, upgrades, backups, high availability, monitoring, secrets, patching and staffing change for self-hosted Kestra on Docker, Kubernetes and virtual machines. Read each row as the work your team takes on for that host. The main takeaway is that the Apache-2.0 open-source edition leaves secrets, access and audit logging to your team on every host, and Kestra 2.0 requires flow changes before any upgrade.
| Area | Docker | Kubernetes | VMs |
|---|---|---|---|
| Release line | Pin a 1.3 or 2.0 image tag. 1.3 patches kept shipping alongside 2.0.6. | Pin the release line in manifests or chart values, since 2.0 changes some flow tasks. | Install a specific version on each host and schedule 1.3 patches separately. |
| Upgrades | Migrate flows first, then change the tag and recreate the container. Test in staging. | Roll out through your deployment pipeline with a tested rollback. Migrate flows before cutover. | Stop services, replace the installation, restart and verify. Plan a rollback window per host. |
| Backups | Back up the database and mounted volumes. Keep the pinned image tag so restores match. | Back up the database and persistent volumes with cluster tooling. Test restores outside production. | Back up the database and install directory with host tooling. Test file-level restores. |
| High availability | Open source runs as a single server by default. Multi-node HA needs Enterprise backends. | Scheduling restarts failed pods, but multi-node HA depends on Enterprise backends. | Open source runs as a single server by default. Multi-node HA needs Enterprise backends and a load balancer you build. |
| Monitoring and logging | Collect container logs and health checks. Alert on restarts, disk and database health. | Use cluster logging and metrics for pods and workers. Alert on restarts and pending pods. | Ship host and application logs with agents. Alert on process, disk and database health. |
| Secrets and access | Open source has manual secret and access management and no audit logging. Your team fills that gap. | Manage secrets in your cluster or vault yourself. Audit evidence must come from cluster and access logs. | Secrets and access are managed by hand on each host. Audit evidence comes from host and access logs. |
| OS and patching | You patch the Docker host and rebuild images for base image fixes. | Node OS, cluster version and image rebuilds all fall to your platform team. | You patch the OS and runtime dependencies on every host directly. |
| Skills needed | Container basics, Linux administration and a runbook for a single host. | Cluster operations, manifests, networking and storage, plus Kestra administration. | Linux administration, service management and configuration management across hosts. |
Why the open-source default is single-server and what that means for sizing
The open-source Kestra edition is described by Kestra as fully functional for production, but its default deployment is a single server with basic authentication only, manual secret and access management, and no audit logging. Those gaps shape the host decision directly. Whether you run Kestra on Docker, Kubernetes or a virtual machine, the default leaves one Kestra deployment as the unit you size, back up, patch and recover. Before you commit, read the Kestra edition comparison, then write down which identity, secrets and logging controls your team will build itself and who owns each one.
A single-server default puts the whole platform on one host, so a failed disk, a bad patch or a corrupted database becomes a recovery event for that host. Your team must own the recovery runbook, tested backups of the database and flow storage Kestra depends on, and a written failover plan. That plan should name who decides to fail over, how a standby instance is brought up from backup, and how triggers, webhooks and user access are redirected. Packaging the same default on Kubernetes changes how the host is built, not how many instances the open-source default runs, so confirm with Kestra which components can be replicated in the edition you plan to use. A restore you have rehearsed is the only real evidence that the plan works.
Sizing depends on three things you have not measured yet: flow volume, the plugins your flows load, and whether heavy steps run on task runners or in separate containers. A flow that calls a few APIs and a flow that transforms large files or runs scripts in another language will load the same host very differently. Treat generic sizing advice, including figures from blog posts, forum threads or vendor marketing, as a starting hypothesis. Build a test with your own flows: pick the most frequent schedules, the heaviest plugin combinations and the largest inputs, run them at the concurrency you expect at peak on the candidate host, and record how the host behaves. Ask Kestra whether it publishes sizing guidance for your edition and deployment before you accept any number.
How to run a first Kestra deployment on any of the three models
This sequence takes a team from edition choice to a tested and documented Kestra deployment on Docker, Kubernetes or virtual machines. Each step has a named owner and closes with an output that the next step depends on. The end result is a host model the team can operate, back up and upgrade without relying on one person's memory.
Confirm the edition and Enterprise-only needs
Compare the open-source edition with Kestra Enterprise Edition against the requirements list that security and the platform team agreed on. The open-source edition is Apache-2.0 licensed and fully functional for production, but it offers basic authentication only, a single-server default deployment, manual secret and access management and no audit logging. SSO, SCIM and RBAC, external secrets managers, audit logs, multi-tenancy, worker isolation and the high availability architecture are Enterprise features, so check each one against Kestra's edition comparison before you commit. Owner: security and the platform team. Output: a signed list of required features, marked open-source or Enterprise-only, with the control that covers any gap.
Choose the host model against current skills
Match the host model to the skills your platform team already runs well. Docker suits a team that operates containers but has no cluster to manage. Kubernetes suits a team that already runs clusters and can take on ingress, persistent storage and rolling upgrades. Virtual machines suit a team that already patches and backs up servers as routine work. Kestra's high availability architecture is an Enterprise feature, so decide whether a single-server open-source deployment is enough for the first phase on the host you pick. Owner: platform team. Output: a written host decision with named people who will be on call for it.
Build a test environment matching production
Build the test environment on the same host type you intend to run in production, with the same container runtime, cluster distribution or VM image, database, storage and network path. A laptop Docker setup used to test a production cluster will hide the problems that matter most at scale. Record the configuration in version control so that the test and production builds come from the same source. Owner: platform team. Output: a test host the platform team can rebuild from code, with the authentication and secrets approach planned for production already in place.
Load test with your own flows
Import the flows your workflow authors run today, including the plugins they depend on, the scripts in other languages and the Git-based trigger setup. Run them on the schedules and event volumes you expect in production, then check task logs, failure handling and worker behavior. Confirm that every plugin the flows use is present in the image or host you will ship, because a missing plugin usually fails only when a flow reaches it. Owner: workflow authors with the platform team. Output: a results log listing each flow, its pass or fail status, any plugin gaps and the sizing change, if any, that it led to.
Write the backup, restore and upgrade runbook
Write the runbook for backing up the database, queue and storage backends in your chosen configuration, along with the flow definitions held in Git. Describe how each host model handles upgrades, who approves a change and how a clean host is rebuilt from the backup. Security reviews how backups are encrypted and who can access them. Owner: platform team, with security for backup handling. Output: a runbook that an on-call engineer can follow without the author present, with a successful restore recorded in the test environment.
Rehearse the Kestra 2.0 migration before production
Follow the Kestra 2.0 migration guide on a copy of the test environment before any production change. Kestra 2.0 is a major release with breaking changes, including replacing ForEach and ForEachItem with a single Loop task, so have workflow authors find every flow that uses the old tasks and update those flows in Git. The 1.3 line still receives patch releases, so decide deliberately when and whether to move each environment. Owner: platform team with workflow authors. Output: a migration record listing each breaking change found, the flows changed and the rollback steps tested.
Sign off the configuration for production
Security reviews the configured authentication, secrets handling, network exposure and admin access against the requirements from the first step. The platform team then promotes the same reviewed configuration to production rather than rebuilding it by hand. Record each gap that the open-source edition cannot close and decide whether to accept it, add Enterprise features or add controls around it. Owner: security, with the platform team. Output: a sign-off record listing the open items and the named owner of each one.
Which team should pick Docker, Kubernetes or VMs
A single automation or data team running one Kestra instance usually needs a small, well-understood footprint more than a cluster. The open-source edition is Apache-2.0 licensed and, according to Kestra's edition comparison, is fully functional for production with a single-server default deployment. That keeps the moving parts few, but it also means the team owns access control, secrets and backups itself.
- Skills required: Container operations on a single host, Linux administration, reverse proxy and TLS setup, and enough database administration to back up and restore the metadata store.
- First decision: Whether one server with a tested restore procedure meets the recovery expectations of the workflows, or whether high availability has to be designed in from the start.
- Access and secrets: The open-source edition offers basic authentication and manual secret and access management with no audit logging, so decide how logins, secret rotation and flow changes will be recorded.
- Upgrades: Kestra 2.0 is a major release with breaking changes and a migration guide, including the replacement of ForEach and ForEachItem with a single Loop task. Review that guide against existing flows before pinning a new version.
Confirm the supported Docker installation path and image tags for your target version in Kestra's installation documentation, and confirm your backup scope for flows, configuration and the database before go-live.
A platform team that already operates Kubernetes will want worker isolation and high availability, and in Kestra these are Enterprise Edition features. Kestra's edition comparison lists multi-tenancy, worker isolation, a high availability architecture built on Kafka and Elasticsearch, Redis, AMQP or GCP Pub/Sub queue backends, worker groups and task runners for Kubernetes and cloud batch services. The platform team's first task is to check whether those features justify the paid edition for its tenants and workloads.
- Skills required: Kubernetes operations including namespaces, RBAC, persistent volumes, ingress and manifest or Helm management, plus administration of whichever queue backend the Enterprise design uses.
- First decision: Whether worker isolation and high availability are needed now, which makes the Enterprise Edition a precondition, and which queue backend the organization already runs and can support.
- Identity and secrets: SSO, SCIM, RBAC, service accounts, API tokens and external secrets managers such as HashiCorp Vault and Azure Key Vault are Enterprise features, so plan the identity integration in the same decision.
- Operating load: Kafka, Elasticsearch or the chosen queue backend become platform components to patch, monitor and back up, which adds recurring effort beyond Kestra itself.
Confirm the documented Kubernetes deployment pattern, supported versions and queue backend combinations in writing with Kestra or the implementation partner before you design around them.
An infrastructure team standardized on VMs already has golden images, a patch calendar and change control, and its main question is whether Kestra fits that model without exceptions. The single-server default of the open-source edition is the closest documented match to a VM footprint. Confirm in Kestra's installation documentation that a VM install is supported for your target version and operating system before you build the process around it.
- Skills required: Linux server administration, package and patch management, database administration for the metadata store, certificate handling and change management that can schedule Kestra's releases.
- First decision: Whether to run the open-source edition on one VM with a rehearsed restore, or to plan for the Enterprise high availability architecture across several nodes.
- Patch process: Kestra ships patch releases on the 1.3 line alongside 2.x releases. According to the GitHub releases page, v2.0.6 and v1.3.43 were both published on October 13, 2026. Map each release to your change calendar and test flows on a staging VM first.
- Security controls: The open-source edition has manual secret and access management and no audit logging, so the team must supply logging and secret storage around it or move to the Enterprise Edition for those controls.
Confirm the supported operating systems, runtime requirements and database versions in Kestra's installation documentation, and confirm how your VM images will be rebuilt when Kestra is upgraded.
What Kestra deployment options cost to run and what they demand from your team
Does the Apache-2.0 Kestra open-source edition have a license fee?
No. Kestra's open-source edition is licensed under the Apache License 2.0, so there is no license fee to pay for using, modifying or self-hosting it. You still pay for everything around the software: the servers or Kubernetes capacity where it runs, the database and any queue or storage backends you choose, backups, monitoring, and the staff time to install, upgrade and patch it. These costs recur every year and grow with the number of executions, flows and workers. Kestra 2.0 is a major release with breaking changes and a dedicated migration guide, so budget engineering time for upgrades from the 1.x line. Have your legal team review Kestra's LICENSE file before you redistribute the code or embed it in a product you sell.
How much does the Kestra Enterprise Edition cost to license?
No public price is listed for the Enterprise Edition, so request a written quote before you budget for it. Kestra's comparison of open-source and paid editions lists what the paid edition adds: SSO, SCIM and RBAC, service accounts and API tokens, external secrets managers such as HashiCorp Vault and Azure Key Vault, audit logs, multi-tenancy, worker isolation and a high availability architecture. Ask Kestra to list in writing which of these features the quote covers, which deployment topology the license applies to, what support terms apply, what the price is measured against, the term length, and how renewals and increases are handled. Compare that quote with your internal build cost, because some access control and audit features you need may exist only in the paid edition. Kestra's open source and paid editions comparison sets out the feature split.
What drives the infrastructure and engineering effort for Kestra?
The main drivers are the deployment target, the workload and the number of backends you must run. Each one adds effort as it grows:
- Deployment target: a single server running Docker, a Kubernetes cluster and virtual machines each carry different patching, networking and storage duties.
- Workload: the volume of executions, the concurrency of tasks and the scripts or containers they run set how much capacity you size for.
- Backends: the single-server default is the simplest setup, while high availability needs the queue and search backends described for the Enterprise Edition, such as Kafka with Elasticsearch, or Redis, AMQP or GCP Pub/Sub.
- Operations: backup and restore testing, upgrade planning, secrets rotation, monitoring and access reviews recur for the life of the platform.
Ask the vendor or your implementation partner to size the platform against your expected execution volume before you commit to a topology.
Can an in-house team run self-hosted Kestra without outside help?
Often yes, if the team already runs Linux, containers, databases and CI/CD with a documented upgrade routine. The open-source edition does put more control work on your side. Kestra's comparison says it is fully functional for production but offers basic authentication only, a single-server default deployment, manual secret and access management, and no audit logging. Those gaps are where in-house teams usually spend extra effort: building SSO integration or access reviews, handling secrets by hand, and assembling audit evidence. Decide before you start which of these you will build, which you will buy, and who owns each one after handover. Confirm with Kestra which controls the open-source edition can meet in your environment, since a vendor page cannot replace your own security review.
How long does a Kestra deployment take to complete?
No duration can be given here, because the timeline depends on the scope you agree. Most DeployOpen engagements are fixed-scope, and scope, deliverables and timelines are agreed in writing before work starts. The factors that move the timeline are the deployment target (Docker, Kubernetes or virtual machines), whether you need high availability, the identity and secrets integrations, the number of flows to migrate or rebuild, the condition of your existing infrastructure, and how quickly your staff and approvers respond. Ask for a written plan that lists milestones, the dependencies on your team, and acceptance tests for each stage, including backup restore tests. Treat any proposal that gives a timeline before reviewing these inputs with caution.
When should we bring in an implementation partner for high availability?
Bring in a partner when the high availability design goes beyond a single server and your team has not built that topology before. The Enterprise Edition describes an HA architecture with Kafka plus Elasticsearch, Redis, AMQP or GCP Pub/Sub queue backends, worker groups and task runners for Kubernetes and cloud batch services, so each choice affects your stack. DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. Ask for a fixed scope that names the queue backend, the failover tests, the backup and restore procedure, the upgrade path including any 2.0 migration work, and the handover documentation. Confirm with Kestra which HA components your license covers before you finalize the design.
How DeployOpen scopes, deploys and supports a Kestra host model
DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks, so the choice between Docker, Kubernetes and virtual machines is made against your environment. For Kestra, that means scoping the host model against your team's operating skills, the edition you need and your availability requirements before any build starts. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing first.
How we scope
- The written scope names the Kestra host model, the Docker, Kubernetes or VM target and the hosting environment.
- Scope covers sizing inputs, expected flow volume, worker placement and whether the Kestra edition needs Enterprise features.
- Scope also lists upgrade path decisions for the 2.0 line, including the migration work the 2.0 guide describes.
How we build
- Deploy the chosen host model in your infrastructure with configuration kept in version control and reviewable by your teams.
- Configure SSO, RBAC, secrets handling and audit logging where the chosen edition supports them, and document any gaps.
- For Kubernetes and high availability designs, build worker groups, queue backends and task runners as scoped and test failover.
How we hand over
- Handover includes architecture notes, runbooks for start, stop and restore, and the configuration files your team owns.
- Backup and restore procedures are documented for the scoped database, storage and flow definitions.
- Compliance evidence, such as access settings and logging configuration, is packaged for your security and compliance reviewers.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Kestra upgrades, including the 2.0 breaking changes, are planned as a separate, scoped change with a rollback path.
- Ask for the retainer scope in writing, including who patches the host OS, container runtime or cluster.

