Perform Standard Upgrades
The first step is to perform a standard upgrade of the Live Agent chart to the desired new version to ensure the migration job is run before enabling Redis Sentinel. If the values were not specified previously, ensure that Sentinel mode is disabled in thevalues.yaml
file.
Change values.yaml
The new values for version 4.53 already include the new Redis Sentinel configuration. If you use a customvalues.yaml
file, ensure it does not override the new Redis Sentinel configuration.
Change the Migration Job Hooks
The migration job hooks must be temporarily changed topost-install,post-upgrade
to run the migration job after the upgrade. Otherwise, the migration job will run before new Redis pods are created, resulting in a failed migration.
Upgrade the chart
Upgrade the chart to the latest version.Verify Functionality and Pod Status
Ensure that the pods are running and the application is functioning correctly, including passing the startup health check.Remove the Old PVCs and PVs
Remove the previous PVCs used by the Redis pods before the upgrade. They are typically named as follows:redis-data-cognigy-live-agent-redis-master-0
redis-data-cognigy-live-agent-redis-replicas-0
- Check that PVCs’ status is now
Released
: - Delete PVCs.
- Check that the PVs are now
Available
. - Delete PVs.
Remove the Migration Job Hooks after the Upgrade
Remove the migration job hooks from thevalues.yaml
file that was added in the previous step and revert to the default value after the upgrade.