Before proceeding with the upgrade, ensure that the system is in idle state, with all agents logged out from the agent desk.
-
Clone the CX repository on the target server
# Create CX-4.5.6 directory from root mkdir CX-4.5.6 # Navigate to CX-4.5.6 cd CX-4.5.6 # Clone the CX-4.5.6 branch of cim-solution repository git clone -b CX-4.5.6 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git # Navigate to root(previous) directory cd .. -
Update Conversation controller training
# Navigate to the following folder of the existing release i.e. CX-4.5.5 cd cim-solution/kubernetes # Update the controller training 1) Delete controller configmaps kubectl -n expertflow delete configmap ef-conversation-controller-actions-cm kubectl -n expertflow delete configmap ef-conversation-controller-actions-pycache-cm kubectl -n expertflow delete configmap ef-conversation-controller-actions-utils-cm 2) Copy actions folder Copy CX-4.5.6/cim-solution/kubernetes/pre-deployment/conversation-Controller/actions into current release cim-solution/kubernetes/pre-deployment/conversation-Controller 3) Create configMaps kubectl -n expertflow create configmap ef-conversation-controller-actions-cm --from-file=pre-deployment/conversation-Controller/actions kubectl -n expertflow create configmap ef-conversation-controller-actions-utils-cm --from-file=pre-deployment/conversation-Controller/utils kubectl -n expertflow create configmap ef-conversation-controller-actions-pycache-cm --from-file=pre-deployment/conversation-Controller/__pycache__ 4) Restart the Conversation Manager deployment kubectl delete -f cim/Deployments/ef-conversation-manager-deployment.yaml kubectl apply -f cim/Deployments/ef-conversation-manager-deployment.yaml -
Update Unified-Agent Tag
# Delete Unified-agent’s Deployment kubectl delete -f cim/Deployments/ef-unified-agent-deployment.yaml # Update Unified-agent’s Deployment Tag gitimages.expertflow.com/cim/unified-agent:4.5.6 # Apply Unified-agent’s Deployment kubectl apply -f cim/Deployments/ef-unified-agent-deployment.yaml