Before upgrading, ensure that the system is idle, i.e; all agents are logged out from the AgentDesk.
Make sure to FLUSH the Redis before proceeding with the upgrade
Custom Configuration Strategy
For detailed guidelines on applying environment-specific configurations using custom values.yaml layering,
Refer to the CX Helm Chart Custom Configuration Strategy guide.
Refer to this guide to see the complete change log
-
Update Helm repo
helm repo update expertflow -
Clone the CX repository on the target server
# Create CX-4.10.3 directory from root mkdir CX-4.10.3 # Navigate to CX-4.10.3 cd CX-4.10.3 # Clone the CX-4.10.3 branch of cim-solution repository git clone -b CX-4.10.3 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-4.10.3 # Navigate to root(previous) directory cd .. -
Change directory to the current deployment
cd CX-4.10.2/kubernetes -
Deploy the Agent helm chart
# Copy the listed files kubernetes/post-deployment/config/supervisor-dashboard Copy From CX-4.10.3/kubernetes/post-deployment/config/grafana/supervisor-dashboard/agent_teams_dashboard.json To post-deployment/config/grafana/supervisor-dashboard Copy From CX-4.10.3/kubernetes/post-deployment/config/grafana/supervisor-dashboard/agent_performance_dashboard.json To post-deployment/config/grafana/supervisor-dashboard Copy From CX-4.10.3/kubernetes/post-deployment/config/grafana/supervisor-dashboard/social_media_performance_trend_dashboard.json To post-deployment/config/grafana/supervisor-dashboard Copy From CX-4.10.3/kubernetes/post-deployment/config/grafana/supervisor-dashboard/team_statistics_dashboard.json To post-deployment/config/grafana/supervisor-dashboard # Create Agents Teams Dashboard ConfigMap kubectl -n expertflow create configmap ef-grafana-agent-teams-dashboard --from-file=post-deployment/config/grafana/supervisor-dashboards/agent_teams_dashboard.json # Create Agent Performance Dashboard ConfigMap kubectl -n expertflow create configmap ef-grafana-agent-performance-dashboard --from-file=post-deployment/config/grafana/supervisor-dashboards/agent_performance_dashboard.json # Create Social Media Performance Trend Dashboard ConfigMap kubectl -n expertflow create configmap ef-grafana-social-media-performance-trend-dashboard --from-file=post-deployment/config/grafana/supervisor-dashboards/social_media_performance_trend_dashboard.json # Create Team Statistics Dashboard ConfigMap kubectl -n expertflow create configmap ef-grafana-team-statistics-dashboard --from-file=post-deployment/config/grafana/supervisor-dashboards/team_statistics_dashboard.json # Deploy the new chart version using the helm-values/cx-agent-desk-custom-values.yaml helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" cx-agent-desk --debug --values helm-values/cx-agent-desk-custom-values.yaml expertflow/agent-desk --version 4.10.3 -
Deploy the Core helm chart
# Deploy the new chart version using the helm-values/ef-cx-custom-values.yaml helm upgrade --install --namespace expertflow --create-namespace ef-cx --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 4.10.3 -
Deploy the Channel helm chart
# Deploy the new chart version using the helm-values/cx-channels-custom-values.yaml helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" --debug cx-channels --values helm-values/cx-channels-custom-values.yaml expertflow/channels --version 4.10.3 -
Change the Translation file for Agent Desk
# Copy the unified agent translation directory to the current release Copy From CX-4.10.3/kubernetes/pre-deployment/app-translations/unified-agent/i18n/ To pre-deployment/app-translations/unified-agent # Delete and Create the ConfigMap kubectl delete cm ef-app-translations-cm -n expertflow kubectl -n expertflow create configmap ef-app-translations-cm --from-file=pre-deployment/app-translations/unified-agent/i18n/ -
Update Expertflow ETL
# Clone the transflux repository git clone -b 4.10.3 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/transflux.git $HOME/CX-4.10.3 # Copy the following configuration files to your existing deployments transflux/config and edit the target database details in them accordingly. Copy From CX-4.10.3/config/messages_data_pipeline_config.yaml To transflux/config Copy From CX-4.10.3/config/graphana_queries.yaml To transflux/config Copy From CX-4.10.3/config/profiles.yml To transflux/config Copy From CX-4.10.3/dbt_schema To transflux/ # Delete and Create Transflux configMap kubectl delete cm -n expertflow ef-transflux-config-cm kubectl -n expertflow create configmap ef-transflux-config-cm --from-file=config # Create a new config map for dbt_schema in transflux kubectl -n expertflow create configmap ef-transflux-dbt-schema-cm --from-file=dbt_schema # Deploy the new chart using helm-values/cx-transflux-custom-values.yaml helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" cx-transflux --debug --values helm-values/cx-transflux-custom-values.yaml expertflow/transflux --version 4.10.3