26.06.1 version update guide
Step-by-step guide for updating MariaDB Enterprise Kubernetes Operator to 26.06.1 from a previous version.
This guide illustrates, step by step, how to update to 26.6.1 from 26.6.0. If you are updating from a version prior to 26.6.x, follow the 26.06 update guide first, and apply the changes described there before continuing with this one.
The data-plane must be updated to the
26.6.1version, as the liveness probe fix that prevents MariaDB Pods from being restarted during long-running backups is delivered there. You must setupdateStrategy.autoUpdateDataPlane=truein yourMariaDBresources before updating the operator. Then, once updated, the operator will also update the data-plane based on its version:
apiVersion: enterprise.mariadb.com/v1alpha1
kind: MariaDB
metadata:
name: mariadb-repl
spec:
updateStrategy:
+ autoUpdateDataPlane: trueFirst of all, the CRDs must be updated to
26.6.1. They include the newspec.config.ephemeralfield on theMaxScaleresource:
helm repo update mariadb-enterprise-operator
helm upgrade --install mariadb-enterprise-operator-crds mariadb-enterprise-operator/mariadb-enterprise-operator-crds --version 26.6.1At this point, the operator can be updated to
26.6.1:
helm repo update mariadb-enterprise-operator
helm upgrade --install mariadb-enterprise-operator mariadb-enterprise-operator/mariadb-enterprise-operator --version 26.6.1Wait until the data-plane update has completed: all
MariaDBPods must be ready and theMariaDBresources must report theReadycondition before proceeding.Consider reverting
updateStrategy.autoUpdateDataPlaneback tofalsein yourMariaDBobjects to avoid unexpected updates:
apiVersion: enterprise.mariadb.com/v1alpha1
kind: MariaDB
metadata:
name: mariadb-repl
spec:
updateStrategy:
- autoUpdateDataPlane: true
+ autoUpdateDataPlane: falseUpdating MaxScale to 25.10.3
This section only applies if you are also updating MaxScale from 25.01.x to 25.10.3. It relies on the config.ephemeral field introduced in 26.6.1, so the steps above must be completed first.
Enable ephemeral MaxScale configuration. By default, MaxScale persists its runtime configuration under
/var/lib/maxscaleand loads it again on startup. That persisted copy was written by the previous MaxScale version and may contain parameters the new version no longer recognizes, causing the new Pods to fail to apply it on startup. Enabling ephemeral configuration removes this conflict at the source: MaxScale no longer persists or loads runtime configuration from disk, and a restarting Pod bootstraps itself using MaxScale's config sync feature, pulling the runtime configuration from the MariaDB cluster without depending on the operator.
Update the MaxScale image. Bump
spec.imageto the25.10.3version:
Expect a restart of the new Pods on first startup — this is expected and safe. The cached configuration (/var/lib/maxscale/maxscale-config.json) written by the previous version still contains the session_trace service parameter, an unused parameter that has been removed from MaxScale (see MXS-5533). When 25.10.3 starts and attempts to apply that cached configuration, it fails to create the services because session_trace is no longer recognized. MaxScale then renames the bad cached configuration — keeping a copy at maxscale-config.json.bad-config — restarts, and starts correctly using the static configuration. No manual intervention is required.
You will see logs similar to the following:
After the automatic restart, MaxScale comes up correctly on 25.10.3, recreating its services and listeners from the synchronized configuration:
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

