CX Upgrade Guide CX-4.4.8 to CX-4.4.9
Before proceeding with the upgrade, ensure that the system is in an idle state, with all agents logged out from the agent desk.
Update ConfigMap
CODE# Navigate to the following folder of the existing release i.e. CX-4.4.8 cd cim-solution/kubernetes # Update Connection ConfigMap # Delete existing ConfigMap kubectl delete -f kubernetes/cim/ConfigMaps/ef-connection-env-configmap.yaml # Update MONGODB_HOST value to following in kubernetes/cim/ConfigMaps/ef-connection-env-configmap.yaml MONGODB_HOST: mongo-mongodb.ef-external.svc.cluster.local # Apply the changes kubectl apply -f kubernetes/cim/ConfigMaps/ef-connection-env-configmap.yaml
Update Core Components Tag
CODE# Delete Deployments kubectl delete -f kubernetes/cim/Deployments # Update CCM tag in cim-solution/kubernetes/cim/Deployments/ef-ccm-deployment.yaml tag: gitimages.expertflow.com/cim/customer-channel-manager:4.4.9 # Update Conversation-Manager tag in cim-solution/kubernetes/cim/Deployments/ef-conversation-manager-deployment.yaml tag: gitimages.expertflow.com/cim/conversation-manager:4.4.9 # Update Routing-Engine tag in cim-solution/kubernetes/cim/Deployments/ef-routing-engine-deployment.yaml tag: gitimages.expertflow.com/cim/media-routing-engine:4.4.9 # Update Bot-Framework tag in cim-solution/kubernetes/cim/Deployments/ef-bot-framework-deployment.yaml tag: gitimages.expertflow.com/cim/bot-framework:4.4.9 # Update State-Events-Logger tag in cim-solution/kubernetes/cim/Deployments/ef-state-events-logger-deployment.yaml tag: gitimages.expertflow.com/cim/state-events-logger:4.4.9 # Update Cim-Customer tag in cim-solution/kubernetes/cim/Deployments/ef-cim-customer-deployment.yaml tag: gitimages.expertflow.com/cim/cim-backend:4.4.9 # Update Team-Announcement tag in cim-solution/kubernetes/cim/Deployments/ef-team-announcement-deployment.yaml tag: gitimages.expertflow.com/cim/team-announcement:4.4.9 Add following environment variable under env: section - name: MONGODB_USERNAME valueFrom: configMapKeyRef: key: MONGODB_USERNAME name: ef-connection-env-cm # Update Unified-Admin tag in cim-solution/kubernetes/cim/Deployments/ef-unified-admin-deployment.yaml tag: gitimages.expertflow.com/cim/unified-admin:4.4.9 # Update Historical Reports tag in cim-solution/kubernetes/cim/Deployments/ef-historical-reports-deployment.yaml tag: gitimages.expertflow.com/cim/historical-reports-manager:4.4.9 # Update Agent Manager's tag in cim-solution/kubernetes/cim/Deployments/ef-agent-manager-deployment.yaml gitimages.expertflow.com/cim/agent-manager:4.4.9
Update Reporting Connector
CODE# Update Reporting connector configMap # Delete existing ConfigMap kubectl -n expertflow delete configmap ef-reporting-connector-conf # Update Reporting connector conf file Open pre-deployment/reportingConnector/reporting-connector.conf and add following environment variables mongo_username=root mongo_password=Expertflow123 # Create the ConfigMap kubectl -n expertflow create configmap ef-reporting-connector-conf --from-file=pre-deployment/reportingConnector/reporting-connector.conf # Update Reporting connector cron # Delete existing deployment kubectl delete -f pre-deployment/reportingConnector/ef-reporting-connector-cron.yaml -n expertflow # Update Reporting connector tag in cim-solution/kubernetes/pre-deployment/reportingConnector/ef-reporting-connector-cron.yaml gitimages.expertflow.com/cim/reporting-connector:4.4.9
Start Core Components
CODE# Apply all deployments kubectl apply -f cim/Deployments # Run reporting-connector cron job kubectl apply -f pre-deployment/reportingConnector/ef-reporting-connector-cron.yaml -n expertflow