flow-modules layout.
Prerequisites
- Cognigy.AI 2026.11.0 or later.
- The
kubectlutility is installed locally on a Linux or macOS client host. Windows client hosts aren’t supported. - Helm v3.9 or later is installed on the client host.
- The Kubernetes cluster meets general Cognigy.AI prerequisites, including hardware resources.
- The runtime file share has been deployed.
Determine Migration Path
For this migration guide, consider the namespace as
cognigy-ai and the Helm chart file name as cognigy-ai-values.yaml. You need to adjust the following instructions to match your namespace and Helm chart file name.migrateFS section in your cognigy-ai-values.yaml file:
- If
migrateFS.enabledis set totrue, your Extensions use the current NFS layout. In this case, follow the instructions to migrate from new NFS layout. - If
migrateFSisn’t present, ormigrateFS.enabledisfalse, your Extensions are on the legacyflow-moduleslayout. In this case, follow the instructions to migrate from the Flow modules layout.
Migrate from New NFS Layout
Use this path if you have already completed the NFS migration. Your Extension files are on theruntime volume at /app/extensions.
Configure and Run Migration Job
-
In the
cognigy-ai-values.yamlfile, add the following section at the root level: -
Deploy the Cognigy.AI Helm chart. To avoid downgrading your installation, replace
<your-installed-version>with your currently installed chart version:
Deactivate Migration Job
After the migration job is completed and all Extensions are located in the new tenant-based paths, follow these steps:-
Update the
cognigy-ai-values.yamlfile: -
Deploy the Cognigy.AI Helm chart. To avoid unintentionally downgrading your installation, replace
<your-installed-version>with your currently installed chart version:
Migrate from Flow Modules Layout
Use this path if you haven’t completed the NFS migration. Your Extension files are on theflow-modules volume at /app/flowModules. This path migrates directly from the legacy layout to tenant-based storage in a single pass, without requiring the NFS migration first.
Activate NFS Feature Flags
-
In the
cognigy-ai-values.yamlfile, add or update the following sections at the root level:
Setting
migrateFS.finished to false keeps the legacy flow-modules volume mounted. This approach allows Extensions to continue to work during the migration.-
Deploy the Cognigy.AI Helm chart. To avoid unintentionally downgrading your installation, replace
<your-installed-version>with your currently installed chart version: - Verify that all pods restart successfully before proceeding.
Configure and Run Migration Job
-
In the
cognigy-ai-values.yamlfile, add the following section at the root level: -
Deploy the Cognigy.AI Helm chart with the following command:
Monitor Migration Job
Check the job logs to verify successful completion:Deactivate Migration Job and Finalize NFS Migration
After the migration job is completed and all Extensions are located in the new tenant-based paths, follow these steps:-
Update the
cognigy-ai-values.yamlfile: -
Deploy the Cognigy.AI Helm chart with the following command:
flow-modules volume is no longer mounted. Within seven days, remove the legacy flowModules and functions persistence sections from your Helm values and delete the released volumes, following the post-migration cleanup steps in the NFS migration guide.