CX Upgrade Guide CX-4.4.1 to CX-4.4.2
Create indexes on MonogDB following the steps from this guide.
Delete deployment of following reporting connector components.
CODE# Navigate to the following folder of the existing release i.e. CX-4.4/4.4.1 cd cim-solution/kubernetes kubectl delete -f kubernetes/pre-deployment/reportingConnector/ef-reporting-connector-cron.yaml # Delete the following config map kubectl -n expertflow delete configmap ef-reporting-connector-confClone the CX repository on target server
CODE# Create/navigate into CX-4.4.2 directory git clone -b CX-4.4.2 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.gitReplace the following files from 4.4.2 directory to current deployment directory
CODE# Copy Historical Reporting Manager deployment files cp CX-4.4.2/cim-solution/kubernetes/cim/cim-solution/kubernetes/cim/ConfigMaps/ef-historical-reporting-configmap.yaml CURRENT_DEPLOYMENT_DIRECTORY/kubernetes/cim/cim-solution/kubernetes/cim/ConfigMaps cp CX-4.4.2/cim-solution/kubernetes/cim/cim-solution/kubernetes/cim/Deployments/ef-historical-reports-deployment.yaml CURRENT_DEPLOYMENT_DIRECTORY/kubernetes/cim/cim-solution/kubernetes/cim/Deployments cp CX-4.4.2/cim-solution/kubernetes/cim/cim-solution/kubernetes/cim/Services/ef-historical-reports-service.yaml CURRENT_DEPLOYMENT_DIRECTORY/kubernetes/cim/cim-solution/kubernetes/cim/ServicesRun the following command to deploy historical-reporting-manager component.
CODE# Navigate to the following folder of the existing release i.e. CX-4.4/4.4.1 cd cim-solution/kubernetes kubectl apply -f cim/ConfigMaps/ef-historical-reporting-configmap.yaml kubectl apply -f cim/Deployments/ef-historical-reports-deployment.yaml kubectl apply -f cim/Services/ef-historical-reports-service.yamlUpdate Reporting Connector
# Navigate to the following folder
cd cim-solution/kubernetes/
Add following new environment variables in pre-deployment/reportingConnector/reporting-connector.conf file.
batch_limit=1000The current
batch_limitis set to 1000 by default.This variable controls the number of records processed per batch in ETL jobs.
upper_limit=300The current
upper_limitis set to 300 by default.This variable represents the maximum boundary for looped ETL jobs.
It is strongly recommended not to alter this value unless absolutely necessary.
Changing this value may affect the overall system behavior and performance.
svc_name=http://ef-historical-reports-svc.expertflow.svc.cluster.local:8081The current
svc_namis set to http://ef-historical-reports-svc.expertflow.svc.cluster.local:8081 by default.This variable defines the URL of the API endpoint used in the application.It points to the historical reports service within
The ExpertFlow cluster.Ensure this URL is correctly configured to access the required service.
Run the following commands to make the changes
CODEkubectl -n expertflow create configmap ef-reporting-connector-conf --from-file=pre-deployment/reportingConnector/reporting-connector.confApply the reporting connector cron job.
CODEkubectl apply -f pre-deployment/reportingConnector/ef-reporting-connector-cron.yaml -n expertflow