How a Kestra major version upgrade changes your work
Moving a Kestra 1.x deployment to the 2.x line calls for a planned change window, because v2.0.0 (published 2026-09-07) is the first 2.x release listed and carries breaking changes. The most recent release tag we can confirm is v2.1.0, published 2026-12-01. Before you schedule anything, read the release notes for every 2.x tag between your current version and the target, with particular attention to the Breaking Changes section, since Kestra's upgrade guide does not state a rule on skipping versions. The two changes most likely to break existing work are in the API and flow definitions: error responses now follow RFC 9457 problem details and are served as application/problem+json, and the forced flag was removed from flow-level pluginDefaults. Any client, script or monitor that parses error bodies, or any flow that depends on that flag, needs a test before cutover.
Do not assume the 1.x line has stopped. The 1.3 line still received patch releases on 2026-10-13, including v1.3.43, on the same day v2.0.6 was published. Those patches matter if you cannot move on the first date you pick, because a staged plan needs a supported 1.x fallback until the 2.x line is proven in your environment. Before you set a deadline, check the current release and the support window for each line on the Kestra releases page, since you must confirm both there before you commit to a date. Then ask Kestra or your support channel which 1.x patch to run during the transition. Build the rollout in three stages: a non-production copy restored from a recent backup, a pilot namespace of flows exercised against the new error format, and a production cutover with a documented return path.
Database migrations are where the open-source and Enterprise paths differ. Pending migrations run automatically at startup in the open-source edition, so a 2.x container that starts against your metadata database changes the schema at once. Enterprise Edition will not start with pending migrations until you run kestra migrate run, which gives you a checkpoint to take a backup and review the plan first. Run kestra migrate plan against a copy of production to preview pending migrations, and record the output with the release tag you tested. Kestra's guidance strongly recommends avoiding downgrades, so your rollback plan is a restore of the pre-upgrade database backup paired with the prior binary or image, and that combination must be rehearsed on the staging copy before cutover. Confirm the exact commands and restore steps for your deployment type in the upgrade guide.
Which Kestra versions are current and which end-of-life dates are unconfirmed
This table lists the Kestra releases shown on the Kestra GitHub releases page, with each publication date and what it means for an upgrade plan. Read it as a map of release lines and their latest patches, and treat the dates as publication dates only. The main takeaway is that no end-of-life date for the 1.x line is documented, so confirm support windows with Kestra before you set a deadline.
| Release | Published on GitHub | What it means for you |
|---|---|---|
| v1.0.0 | 2025-09-08 | First 1.x release on the list. It marks where the 1.x line begins and says nothing about its current support status. |
| 1.3 line (v1.3.43) | 2026-10-13 | Still receiving patch releases. Patching 1.3 is an option while you plan the move to 2.x, but confirm how long that continues. |
| v2.0.0 | 2026-09-07 | Major release with breaking changes: API errors now use problem details, and the forced flag is gone from flow-level pluginDefaults. |
| v2.0.6 | 2026-10-13 | Patch on the 2.x line, published the same day as v1.3.43. Pin to the latest 2.x patch you have tested. |
| v2.1.0 | 2026-12-01 | Newest release on the list. Test it in a staging copy before it becomes a target version for production. |
| 1.x end-of-life | Not documented | No end-of-life date for the 1.x line is documented. Ask Kestra for its support window before you set a migration deadline. |
| 2.x and 1.3 support | Not documented | Ask Kestra which lines receive security fixes, for how long, and whether 1.3 keeps receiving them after 2.x ships. |
Which Kestra 2.0 breaking changes reach your flows and API clients
Kestra 2.0 changes two kinds of consumers: the flows you wrote and the clients that call the API. Work through the four items below against both before you schedule the upgrade. Treat them as a starting point, since none of the sources behind this list is a full inventory of breaking changes.
API error bodies change format
Kestra 2.0 returns API error responses as RFC 9457 problem details, served as application/problem+json. Any client, script or monitor that parses error bodies today may fail to read them or misclassify failures. Before the upgrade, replay the error cases your integrations rely on, including failed authentication and validation errors, against a 2.0 test instance. Check how each consumer detects failure: by HTTP status, by a field in the body, or by content type.
2.0.0 release notesFlow-level forced flag removed
The forced flag was removed from flow-level pluginDefaults in 2.0. Any flow that relied on it may run with different plugin settings after the upgrade, even if it still starts cleanly. Search every flow and Git branch for forced under pluginDefaults, then compare each match in a 2.0 test run. The release notes do not describe how a flow that still sets the flag behaves, so confirm that case in your own environment before promoting changes to production.
ForEach tasks replaced by Loop
Kestra 2.0 replaces ForEach and ForEachItem with a single Loop task, and the Kestra README points to the 2.0 migration guide for the change. Every flow that uses either task must be rewritten and then pass a full test run, since iteration, outputs and downstream tasks that read loop results all depend on the old structure. Start by listing those flows from your repositories, then rewrite them against the migration guide before any production schedule resumes.
Read every targeted release
The v2.0.0 release notes and the Kestra README cover only some of the changes above, so they are not a full inventory. Kestra's upgrade guide tells you to read the release notes, especially the Breaking Changes section. Read that section for every release you target, including 2.0.0 and any later 2.x release you plan to run, and note which entries touch your flows, plugins, API clients and scripts. Add each one to the upgrade plan before any environment changes.
Kestra upgrade guideThe documented Kestra upgrade path, step by step
This sequence takes a self-hosted Kestra 1.x installation to a 2.x release with the breaking changes handled before production. Each step names an action, the documented basis for it, and the check that closes it. Where the upgrade guide is silent, the step says so and tells you what to confirm with Kestra.
Confirm the target release and your path
Choose the target release from Kestra's published versions, such as the 2.0.0 release of 2026-09-07 or a later 2.x line, and confirm the version you run today. The upgrade guide sets no rule on skipping versions, so ask Kestra in writing whether you can move directly from your current 1.x release to the target. Done when the platform owner holds a written answer and the target version is recorded in the change ticket.
Read release notes for every version crossed
Open the release notes for each version between your current release and the target, and start with the Breaking Changes section, as the upgrade guide directs. For the 2.0.0 release, the listed breaking changes include API error responses that now follow RFC 9457 problem details and are served as
application/problem+json, and removal of theforcedflag from flow-levelpluginDefaults. Done when each breaking change is logged with the flows, clients or plugins it touches.Inventory flows and API clients against changes
Search your flows and API clients for the constructs and calls the breaking changes affect. Flag every use of
ForEachandForEachItem, since the 2.0 release replaces both with a singleLooptask, and every flow-levelpluginDefaultsblock that sets theforcedflag. List each integration that parses Kestra error responses, because those now arrive as problem details. Done when the inventory names an owner and a planned change for each hit, checked against the 2.0 migration guide.Back up the database and configuration
Take a backup of the Kestra database and configuration through your own change process before any migration runs, and store it where a rollback can reach it. Kestra's upgrade guide does not describe a backup procedure, so confirm the approach, scope and restore steps with Kestra. Done when the backup exists, its location and restore owner are written in the change record, and someone has confirmed it can be restored in a non-production environment.
Preview pending migrations with migrate plan
Run
kestra migrate planto preview the migrations pending for the target version, and confirm with Kestra which configuration the command reads so the preview matches your database. A preview that shows no pending migrations for a version that should have them is a reason to stop and check the version and configuration before going further. Done when the output is saved in the change record and the database owner has reviewed it.Upgrade a staging copy and watch migrations
Restore the backup into a staging copy, upgrade it to the target release, and let the migrations run. Open source applies pending database migrations automatically at startup, so the staging copy shows that behavior before production does. The Enterprise Edition will not start with pending migrations until you run
kestra migrate run, so if you run Enterprise, make that command an explicit step in the runbook. Done when the staging instance starts cleanly and the migration output matches the plan from the previous step.Verify behavior in staging before production
Test flows, triggers, API error handling and plugin behavior in staging against the expectations you recorded in the inventory. Pay particular attention to any flow that used
ForEach,ForEachItemor flow-levelpluginDefaults, and to any client that parses error bodies. Once production is upgraded, avoid downgrades: the upgrade guide strongly recommends against them, so plan rollback as a restore from your backup under your change process, and confirm the procedure with Kestra before cutover. Done when staging results are signed off and the rollback procedure is written in the change record.
Kestra upgrade sequence and the points where rollback is still simple
The diagram starts from a running installation and ends with post-upgrade checks. Before anything changes, read the release notes, especially the Breaking Changes section, and inventory your flows and API clients, since the v2.0.0 notes list changes to API error responses and to pluginDefaults. The first rollback point is the backup, which you should restore once in a test environment using your own procedure. Run kestra migrate plan to preview pending migrations. The path then splits by edition: open-source startup runs migrations automatically, while Enterprise needs kestra migrate run before start. Rehearse in staging, then upgrade production. Once production migrations have run, downgrading is advised against, so verify carefully before that step.
Upgrade path from backup to verification, with the edition split at migrations.
Why database migrations run differently in open source and Enterprise
In the open-source edition, pending database migrations run automatically when Kestra starts. The schema changes the moment the new version boots, with no pause for review in between. That makes two controls the actual safety net: a verified backup taken before the new version starts, and a preview of the change beforehand. Run kestra migrate plan to list the pending migrations and read the output before you touch the production service. Kestra's upgrade guide strongly recommends avoiding downgrades, so treat the backup as your rollback path and test the restore on a copy of your database before the window opens.
Enterprise Edition handles this differently. It will not start while migrations are pending, and the schema only changes when someone runs kestra migrate run. That makes the migration an explicit operation you can schedule into a maintenance window, assign to a named operator and capture in logs. For a regulated team, this turns a schema change into a discrete, reviewable event that stands apart from a container restart. Confirm with Kestra which logs record the command and its output in your deployment, and decide in advance who in your organization is allowed to run it.
The edition comparison lists no audit logging for the open-source edition, so the record of each upgrade has to live in your own change system. Log who approved the window, the backup identifier, the output of the plan step, the operator who started the new version and the time each step finished. Also note that the upgrade guide does not state how long migrations take on a database of any size. Time the migration on a copy of your own database, sized like production, and use that measurement to set the window. If the result is unclear, ask Kestra before you schedule the change.
Planning a Kestra major version upgrade by edition and hosting
The open-source edition, licensed under the Apache License 2.0, runs pending database migrations automatically when it starts. The upgrade is therefore a deployment event as well as a schema event, and your rehearsal has to begin from a database that matches production's state. Read Kestra's upgrade guide for your target version before you plan the window.
- Backup timing: Back up the metadata database and any file storage Kestra uses immediately before you replace the binary or container image, because startup is when migrations apply.
- Staging copy: Restore a recent production backup into staging and start the new version there first, so the migration runs against the same database state production will have. An empty staging database hides migration problems.
- Plugins and integrations to re-test: Run the flows that use database, cloud storage and API plugins, and check them against the v2.0.0 breaking change that removed the forced flag from flow-level pluginDefaults. Confirm compatibility with each plugin's owner.
- Single-instance window: The default deployment is one server, so the upgrade window covers that one instance. Tell flow owners when scheduled runs will pause.
- Rollback position: Kestra strongly recommends avoiding downgrades, so plan rollback as restoring the pre-upgrade backup and redeploying the previous version. Rehearse that restore in staging.
Before the window, confirm with Kestra whether skipping versions is supported for your path, since the upgrade guide does not give a rule on this.
Enterprise Edition will not start with pending migrations, so the schema change is a separate, explicit step. Preview the pending changes with kestra migrate plan, then apply them with kestra migrate run before the new version serves traffic. The change record should include the plan output, because reviewers can then see exactly which migrations ran. See Kestra's upgrade guide for the commands and the breaking changes.
- Backup timing: Back up the database immediately before kestra migrate run, and keep the backup identifier with the plan output in the change ticket.
- Staging copy: Run kestra migrate plan against a restored production copy first. If production changes after that copy, run the plan again before the production window.
- Plugins and integrations to re-test: After kestra migrate run, re-test each flow that uses plugins, and check any tooling that parses API errors. Kestra v2.0.0 serves error responses as RFC 9457 problem details with the application/problem+json media type. Confirm plugin compatibility with each plugin's owner.
- High availability order: If your deployment has high availability components, ask Kestra to confirm the order for stopping, migrating and restarting them. The order decides whether nodes can run mixed versions during the window, so get the answer in writing before the change.
- Rollback position: Because Kestra strongly recommends avoiding downgrades, rollback means restoring the pre-migration backup and the previous application version together. Confirm this pairing with Kestra and rehearse it in staging.
Before approving production, check that the plan lists only the migrations you expect and that the high availability order has a written answer from Kestra.
Kestra runs as a self-hosted application on AWS, Azure and Google Cloud, so the planning, backup and upgrade work sits with your team in your own accounts. The cloud provider supplies compute, storage and networking, but the migration path and the rollback decision remain your responsibility. Confirm the upgrade path for your version with Kestra's upgrade guide before you schedule the change.
- Backup timing: Use your provider's snapshot or backup features for the database and storage volumes, timed just before the upgrade. Confirm that the snapshots capture the database in a consistent state.
- Staging copy: Build staging in a separate account or subscription with the same image, networking and database engine as production. Restore a recent production snapshot into it so the migration path matches production.
- Plugins and integrations to re-test: Plugins that call cloud storage or managed database APIs depend on the IAM roles, managed identities or service accounts that production uses. Re-test them with those same identities, and confirm compatibility with each plugin's owner.
- Version pinning: Pin the Kestra image or release version in your infrastructure code so the upgrade is a reviewed change with a clear diff.
- Rollback position: Rollback is a snapshot restore plus redeployment of the prior image. Because Kestra strongly recommends avoiding downgrades, rehearse that restore end to end in staging and confirm the restore steps with the team that owns each account.
Before the window, confirm who approves the snapshot policy, who owns the staging account and who holds the rollback decision.
Rollback after a Kestra upgrade: what the project does and does not document
The project does not document a rollback procedure for a major upgrade. Its upgrade guide advises against downgrades but does not explain how to return to a 1.x instance once a newer version has started. Rollback is therefore a plan your team writes and tests itself. What your team controls is the state before the first start: a database backup taken before the new version runs for the first time, and a restore of that backup that you have rehearsed in staging against a copy of production data. Ask Kestra to confirm in writing whether a restore to the previous version is supported for your deployment, and which database backend and backup method it expects.
The most useful decision point comes before production. In staging, run kestra migrate plan to preview the pending migrations, and read the Breaking Changes section of the release notes for the target version. Until the production database has been migrated, returning to the previous version remains the simplest option, because nothing in the data has changed yet. Set a go or no-go checkpoint with a named decision owner, and make a successful restore test and a smoke test of the flows your business depends on conditions for proceeding. The Kestra upgrade guide is the starting point for confirming the sequence with your own deployment in mind.
Once migrations have run, returning to 1.x counts as a downgrade, and the upgrade guide advises against downgrades. The open-source edition applies pending migrations automatically at startup, so a 2.x start against a production database can change the schema before anyone reviews it. Enterprise Edition will not start with pending migrations until someone runs kestra migrate run, which adds a review step but does not create a return path. Plan for this case by treating the restored backup as the only way back, and confirm with Kestra what a restore involves, including whether flow changes and executions recorded after the backup would be lost. Do not assume that a restore from before the upgrade will be clean without testing it first.
How much effort does a Kestra major version upgrade take?
How much effort does a Kestra major version upgrade take?
The effort depends on how much of your Kestra estate touches the breaking changes, and no upgrade duration can be stated here, so confirm any timeline in a written scope. Kestra v2.0.0 changes API error responses to RFC 9457 problem details served as application/problem+json, and it removes the forced flag from flow-level pluginDefaults. The 2.0 migration guide also replaces ForEach and ForEachItem with a single Loop task, so every flow that uses those tasks needs review and retesting. Effort rises with flow count and complexity, plugin use, the number of environments, API clients that parse error bodies, and high availability requirements. Read the upgrade guide before you estimate.
What does a Kestra upgrade cost?
Cost comes from one-time upgrade work plus any recurring retainers you choose, and DeployOpen does not publish a price list, so a quote follows from a written fixed scope agreed before work starts. The one-time part covers planning, reviewing flows against breaking changes, fixing and retesting them, running migrations, and preparing rollback and handover. Retainers for upgrades, patching or continuous testing recur and are priced separately. Cost rises with flow count and complexity, plugin use, edition, number of environments, API clients, high availability, and the evidence a compliance review needs. Ask each quote to state:
- the scope in writing, including what is excluded
- which breaking changes are covered
- testing and retest steps for each environment
- the rollback approach and handover deliverables
What does the work need from our team?
Your team needs a named owner, time to review flows, and access to the systems the upgrade touches. Prepare these inputs before the work starts:
- A current inventory of flows, plugins, secrets and API clients
- A non-production environment that resembles production for testing
- Database backup access and a tested restore path, since open-source Kestra runs pending migrations automatically at startup
- Admin access to the deployment and a change window agreed with the business
- Someone who can sign off test results and the compliance evidence trail
The Enterprise Edition will not start with pending migrations until you run kestra migrate run, so that step needs a deliberate owner. Use kestra migrate plan to preview pending migrations before you run anything.
Can our own team do the upgrade themselves?
Often yes, if the estate is small and one person or team owns it from start to finish, but the work is more than changing a version tag. Start from the upgrade guide, which asks you to read the release notes, especially the Breaking Changes section, and to preview migrations before you begin. Your team needs people who can read flow YAML, test each affected flow, check API clients against the new error format, and document a rollback. Teams that run Enterprise with high availability, many environments or compliance evidence requirements tend to need more review time. If nobody on your team has upgraded a stateful platform in production before, plan for an implementation partner for the first major move.
Can we skip versions and go straight to 2.x?
Kestra's upgrade guide does not state a rule on skipping versions, so do not assume a jump is supported until you confirm it with Kestra's documentation and release notes. Skipping means your flows and database cross several releases of breaking changes at once, so the review list grows with each release you skip. The v2.0.0 release notes are the first document to read for breaking changes. Ask any partner to confirm the path, list every breaking change between your current version and the target, and state whether the rollback plan covers a multi-version jump. Do not use a downgrade as the fallback, because Kestra strongly recommends avoiding downgrades.
When should we bring in an implementation partner?
Bring in a partner when the upgrade touches compliance evidence, high availability, or a large flow estate that your team cannot test in the time available. DeployOpen plans, implements, tests, backs up, upgrades and documents self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts. Typical triggers include flows built on ForEach or ForEachItem that need the Loop task, custom plugins, Enterprise deployments that must pass migration gating, and API clients that parse error responses. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors issue any audit report. Retainers can cover upgrades and continuous testing after the first move.
How DeployOpen plans and runs a Kestra upgrade
DeployOpen plans a Kestra major upgrade as a scoped piece of work on your own infrastructure. We start from the release notes and breaking changes for the target line, check your flows and plugin defaults against them, and test the database migration on a copy before production. Each step is written down so your team can review it, repeat it and hand it on.
How we scope
- The written scope names your current Kestra version, the target line and every flow, plugin and integration it covers.
- Scope lists the 2.0 breaking changes that touch your setup, such as RFC 9457 error responses.
- Engagements are fixed-scope, so deliverables, timelines and test steps are agreed in writing before any upgrade work starts.
How we build
- We check flows that use ForEach or ForEachItem, which the 2.0 line replaces with a single Loop task.
- Migrations are previewed with
kestra migrate plan, then tested on a copy of your database before any production run. - Rollback planning takes a database backup before migration, since Kestra's guide strongly recommends avoiding downgrades.
How we hand over
- Open-source deployments run pending migrations at startup, while Enterprise needs
kestra migrate runfirst, and we document which applies. - Handover covers the runbook, migration output, flow inventory and a list of items your team owns after cutover.
- Your team keeps a checklist for future upgrades that reads the Breaking Changes section of each release before planning.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the upgrade itself.
- Confirm in writing who applies patch releases on your line, who runs migrations and who answers production incidents.
- Plan each next major line before the current one ends support, reusing the runbook and a fresh breaking changes review.

