Before you start
Changelog
What changed between your version and the target version.
Compatibility matrix
The subchart versions each release pins, and its support channel.
Prechecks
Confirm the current release and namespaces:Recommended upgrade path
Rerun the installer. It reapplies the values you passed on earlier runs, so pass only what changes.--version to install the latest published chart. Passing an older version downgrades the release, since the installer runs helm upgrade either way.
The installer uses helm upgrade --install, so rerunning it upgrades the Enterprise release. It also updates KubeBlocks and Snapshot Controller unless skipped.
What an upgrade does
An upgrade brings FalkorDB Enterprise straight from the deployed version to the target: the latest release on your channel, or--version. You don’t need to install the releases in between.
The upgrade doesn’t restart your deployments. It installs the new addon release. A patch release move happens later, in each deployment’s maintenance window; a move to a new minor or major release is yours to schedule. See Deployments move to the new addon.
The install plan shows the chart versions before you confirm, a Deployments row with how many deployments run an older addon release, and which, and an Addon move row with how many of those can move to a newer patch release of their own minor release in their window, and how many reach the new release only through a minor or major move, which waits for you.
Some releases are required stops: something they do must run before a later release can start. When the upgrade crosses one, the installer upgrades to that release first, and then continues to the target. The plan’s Upgrade path row lists each stop. No release is a required stop today.
A required stop runs the installer again, pinned to the stop. The piped form (
curl ... | bash) can’t do that, so it stops and tells you which version to install first. Save the installer to a file and run it from there, or install the stop and then the target in two runs. The stop takes its values from the stored values; this run’s --values and --set apply to the target.1.0.0-beta.1. Follow the 0.3 to 1.0 migration guide instead.
Before it changes anything
The installer checks the cluster and the release before it upgrades:Deployments move to the new addon
Moving a deployment to a new addon release restarts its pods, so the upgrade doesn’t do it. The installer only lists the deployments that run an older addon release. After the upgrade:- A patch release move (the same major and minor release, such as
1.7.15to1.7.16) of a deployment with a maintenance window, its own or the installation default, is queued by the Admin Server for that window. It goes to the newest installed patch release of the deployment’s minor release. The Admin Server checks every 15 minutes, so the move appears on the deployment’s Maintenance tab shortly after the upgrade, requested bysystem:addon-upgrade. It starts in the window like any queued change, and you can run it now or cancel it there. Cancel it to keep the deployment on its release: it isn’t queued again until a newer patch release is installed. If you remove the deployment’s window, and it has no installation default to fall back on, the queued move is dropped rather than started at once. - A move to a new minor or major release (such as
1.7.15to1.8.3) is never queued for you. Schedule it yourself with Upgrade when it suits you: on a deployment with a window, it’s queued for the next window. - A deployment without a window, or without persistent volumes for its data nodes or its Sentinels, stays on its addon release until you move it yourself.
Running, for example Failed or stopped, is queued once it’s Running again. So is one whose Sentinels run a different minor release than its data nodes, once you’ve moved them onto the same one. A deployment with a component on a bare definition, such as falkordb-sent-4, is never moved automatically: what it runs can’t be told. If you upgrade a deployment while its automatic move is queued, the Admin Server drops the move, rather than move the deployment back. A move changes the data, Sentinel and shard component definitions, and restarts only the components on an older release. On a replicated deployment moving to addon 1.8.3 or later, the Sentinels move once the data nodes run on the new release (see Move a deployment). It doesn’t change the FalkorDB version: see Upgrade FalkorDB version.
Take a backup of each deployment before its window; see Backups.
Values the chart doesn’t know
The chart validates its values againstvalues.schema.json, so an upgrade fails on a key it doesn’t know, such as a misspelled key or one a newer chart removed. That includes the stored values. When Helm reports a schema error, the installer says so. Print the stored values with --show-values, then remove the key with --unset-value <dotted.path>, or correct it with --set, and rerun.
Air-gapped clusters
Each release publishes its CRDs as thefalkordb-enterprise-crds OCI artifact, at the chart’s version. The installer applies that bundle. It pulls it from the registry your images come from (--image-registry or global.imageRegistry), with oras when it’s installed and curl otherwise. Only when the bundle isn’t there does it download the CRDs from GitHub, and it logs that it does.
Without registry access, copy the bundle beforehand and pass it with --crds-from:
--crds-from takes the directory oras pull writes, the crds.tar.gz file in it, or an unpacked bundle. To mirror the bundle into your own registry instead, see Air-gapped registries.
How the installer keeps your values
Values passed with--values, --set and --set-string are stored in the Secret <release>-installer-values in the release namespace. Each run upgrades from the new chart’s defaults, then the stored values, then that run’s own values, and stores the result after a successful upgrade. You don’t need to keep a values file to upgrade, and settings you never passed always come from the new chart.
The installer never stores these, even when you pass them: the chart release sets them, so each upgrade takes them from the new chart:
falkordb-addon.falkordbVersions, the FalkorDB versions deployments can use- image tags (
*.image.tag)
kubeblocks.enabled and the Admin Server JWT Secret name.
To see or change what is stored:
Values passed with
--helm-arg are not stored. Passing --helm-arg --reuse-values (or --reset-values, --reset-then-reuse-values) switches stored values off for that run.
The first upgrade with an installer that stores values migrates the values Helm recorded for the release. It logs what it carried over and what it dropped. It drops the chart-owned values above, the values the installer works out itself, and image
registry/repository values that match a default from an earlier chart. Run --show-values beforehand to preview the result.Enterprise-only upgrade
If KubeBlocks and Snapshot Controller are already managed separately and should not be touched:Manual Helm upgrade
Ahelm upgrade also upgrades the KubeBlocks CRDs. Helm can’t carry them in
the chart (the KubeBlocks set is 11 MB, and Helm stores each release in a
Secret capped at about 1 MB), so before anything else in the release changes,
a hook Job applies the CRDs the target chart version was released with from the
falkordb-enterprise-upgrader image, and waits until the API server serves
them. The Job’s ServiceAccount can rewrite any CRD while it runs, so on an
upgrade the hook only runs once the Admin Server’s admission policy already
refuses, rather than warns about, a Job that could act as it
(adminServer.rbac.admissionPolicy.validationActions set to [Deny], which
needs Kubernetes 1.30 or later). From 1.0.0, [Deny] is the default.
The hook checks the policy already on the cluster, which an upgrade applies
only after its hooks. The first upgrade from a 1.0.0 beta still finds the
beta’s [Warn, Audit] policy, so the hook skips the CRDs that one time, and
the upgrade’s notes say so. install.sh applies the CRDs itself, so an
upgrade through the installer gets them anyway; after a manual first upgrade,
run install.sh once or apply the CRD bundle. Every
later upgrade runs the hook. With several FalkorDB Enterprise releases on one
cluster, every release’s Admin Server must be set to Deny: any of them could
reach the hook’s namespace. Set upgrader.crds.requireEnforcingPolicy=false to
run it regardless.
The hook leaves alone, and logs why, any CRD a Helm release owns, Argo CD or
Flux reconciles, or another tool’s field manager owns the schema of. It also
skips CRDs it applied from a newer FalkorDB Enterprise, and all the KubeBlocks
CRDs when a newer KubeBlocks runs. If you manage KubeBlocks and its CRDs
yourself, add --set upgrader.crds.kubeblocks=false. To see what it did, read
the hook Job’s log (kubectl logs -n falkordb-system job/<release>-crds).
Argo CD renders the chart with
helm template, so the hook can’t check the
policy there and doesn’t run. Argo CD and Flux apply the CRDs from the
falkordb-enterprise-crds bundle instead; see Install with Argo CD or
Flux.install.sh apply CRDs as the falkordb-enterprise field
manager. An install.sh from before the hook applies them as kubectl without
taking over fields another manager owns, so it stops with a server-side apply
conflict on any CRD it would change. To go back to a release from before the
hook, use helm rollback rather than that release’s installer.
--show-values. It doesn’t move your deployments to the new addon release either: see Upgrade the addon. Helm validates your values against the chart’s values.schema.json here too, and rejects a key the chart doesn’t know.
If you must use --reuse-values, set all three image tags explicitly, upgrader.image.tag included: the CRD hook applies the CRDs its image was built with. Also check helm get values for a falkordb-addon.falkordbVersions list. If one is there, --reuse-values keeps it over the new chart’s list, and deployments can’t move to the new FalkorDB versions:
Post-upgrade validation
Upgrade your deployments
An upgrade doesn’t restart your deployments. Those with a maintenance window move to a new patch release of their addon in it (see Deployments move to the new addon). No deployment’s FalkorDB version changes. Upgrade the rest yourself, from the Admin UI (Upgrade on the deployment page), the CLI (falkordb-admin deployments upgrade), or the API:
- Upgrade FalkorDB version moves a deployment to a newer FalkorDB version.
- Upgrade the addon moves a deployment to a new minor or major addon release, a deployment without a maintenance window, or one sooner than its window. Do it before the next Enterprise upgrade: CI tests each release from the one before it (Tested upgrade paths).
Rollback
List revisions:helm rollback restores the release’s earlier values but not the installer’s stored values. If the failed upgrade also changed settings, use --unset-value or pass the earlier values on the next run.