FeatureToggle table of the 2501 database, one row per key. Each time it starts, the engine writes a row for every key below that has none, and deletes the rows of keys it no longer knows.
Rollout toggles
Set the gateway toggles underrolloutToggles in values.yaml. A change restarts the engine, which writes the ones you set to the database at each start. A toggle you leave out keeps its value in the database, and is off on a new installation. A toggle you set back to false turns off when you apply or upgrade, whichever way you deploy. A toggle you set there comes back at every engine start, a crash or a node drain included, over a change on the Feature toggles page: to manage a toggle on that page, leave it out of rolloutToggles.
On Docker Swarm, the published compose.yaml holds the rollout toggles, and you change only .env and site.yaml. Change a gateway toggle in the database instead, as below.
The next upgrade overwrites a database change to a toggle that
values.yaml sets.
Other toggles
These toggles are changed in the database:Paid features before a license lists them
An installation upgraded from an earlier version may still run on a license signed before paid features existed, or have a tenant with no license. While that license is valid, or while the tenant has no license, each paid feature follows its toggle:enableDiscovery, enableObservability, enableCentral, enableSatelliteClusters, enablePrivilegedAccess and enableSingleSignOn. The engine reads them at start. A license that lists paid features, or an expired license, makes these toggles have no effect. Ask 2501 for a license with your paid features before the next version, which removes them.
Open a database session
With the PostgreSQL 2501 deploys on Kubernetes:$STACK the name you deployed the stack with (ai-2501 in Deploy):
DIRECT_URL from env.engine:
Change a toggle
kubectl -n "$NS" rollout restart deploy/engine or docker service update --force "${STACK}_engine".
