Before upgrading, ensure that the system is idle, i.e, all agents are logged out of the AgentDesk.
Flush Redis before upgrading
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.
-
Add and Update Helm repo
helm repo add cim-solution https://gitlab.expertflow.com/api/v4/projects/471/packages/helm/stable --username efcx --password w4eYTsMuHqLbq5lkFLDI4G86MQp1OjU0CA.01.0y023xsty helm repo update cim-solution -
Clone the CX repository on the target server
Bash# Create CX-5.15.0 directory from root mkdir CX-5.15.0 # Navigate to CX-5.15.0 cd CX-5.15.0 # Clone the CX-5.15.0 branch of the cim-solution repository git clone -b CX-5.15.0 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-5.15.0 # Navigate to the current release /kubernetes cd <current-release>/kubernetes
To execute the ./scripts/upload_agent_desk_translations.sh Update the JSON_RESPONSE variable to the following value
JSON_RESPONSE=$(kubectl get --raw "/api/v1/namespaces/expertflow/services/http:ef-cx-cx-tenant-svc:3000/proxy/tenant")
-
Deploy the AgentDesk Helm chart
SQL# Copy the unified agent translation directory to the current release Copy from 5.15.0/kubernetes/pre-deployment/app-translations/unified-agent/i18n/ To ./pre-deployment/app-translations/unified-agent # Run script from <kubernetes> diectory, to update the translations chmod +x scripts/upload_agent_desk_translations.sh ./scripts/upload_agent_desk_translations.sh # 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 cim-solution/agent-desk --version 5.15.0
-
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 cim-solution/cx --version 5.15.0 -
Deploy the MTT Helm chart
# Deploy the new chart version using the helm-values/mtt-single-custom-values.yaml helm upgrade --install --namespace <tenant-ns> --debug <tenant-id> --values helm-values/mtt-single-custom-values.yaml cim-solution/MTT-single --version 5.15.0 -
Deploy the Transflux Helm Chart
git clone -b 5.15.0 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/transflux.git 5.15.0 # Copy the following files to your current directory config/qm_data_pipeline_config_template.yaml to <transflux-current-dir>/config/ # Delete the existing configmaps ‘ef-transflux-config-cm' using the commands: kubectl -n expertflow delete configmap ef-transflux-config-cm # Now re-create the configmap using the following commands from the transflux directory: kubectl -n expertflow create configmap ef-transflux-config-cm --from-file=config # Re-deploy CX-Transflux helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" cx-transflux --debug --values helm-values/cx-transflux-custom-values.yaml cim-solution/transflux --version 5.15.0 -
Deploy Agent Co-Pilot
# copy configmap file in your working dir copy CX-5.15.0/kubernetes/pre-deployment/expertflow-ai/llm-configmap.yaml to ./pre-deployment/expertflow-ai/ # Delete LLM ConfigMap: kubectl -n expertflow delete -f pre-deployment/expertflow-ai/llm-configmap.yaml Apply LLM ConfigMap: kubectl -n expertflow apply -f pre-deployment/expertflow-ai/llm-configmap.yaml # Deploy the new chart version using the helm-values/cx-agent-co-pilot-custom-values.yaml helm upgrade --install expertflow-ai --namespace expertflow --create-namespace --values helm-values/cx-agent-co-pilot-custom-values.yaml cim-solution/expertflow-ai --version 5.15.0
QM reports need to run this pipeline first: Quality_Management_<tenant-name> on Transflux, then deploy reports
-
Deploy the Survey Reports
-
Clone the Repo
# Clone the repo git clone -b CX-5.15.0 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git CX-5.15.0 -
QM Reports
# Copy CX-5.15.0/kubernetes/external/metabase-reports/metabase_reporting_update_tool/qm_report/ To <current-active-directory>/external/metabase-reports/metabase_reporting_update_tool/ cd <current-active-directory>/external/metabase-reports/metabase_reporting_update_tool/ python3 metabase_import.py https://<Metabase-FQDN>/metabase/api/ <admin-email> <admin-password> <metabase-db-display-name> qm_report <collection-name-on-metabase>
-
Configurations:
Update Keycloak Permissions
For existing tenants in Keycloak:
After importing the realm file, delete the Keycloak pod; sometimes Keycloak does not apply the changes.
-
Import this file under realm -->clients-->cim-->authorization 5.15.0-authz-config.json