Eleveo Middleware Deployment Guide
Step 1: Clone the Repository
clone the repository using the following command.
git clone -b CX-4.8 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git CX-4.8
Change the directory.
cd CX-4.8/cim-solution/kubernetes
Step 2: Update the Configurations
Run the following commands:
helm show values expertflow/eleveo-middleware > helm-values/cx-middleware-custom-values.yaml --version 4.8.0
helm show values expertflow/middleware-cronjob > helm-values/cx-middleware-cronjob-custom-values.yaml --version 4.8.0
Open the helm-values/cx-middleware-custom-values.yaml
file and update the variables:
Under global
set the following value:
ingressRouter: The FQDN of the host VM.
Under extraEnvVars
set the values as follows:
RECORDING_BACKEND: The mechanism for recording files. Leave at default ELEVEO.
LOG_LEVEL: The amount of detail in the logs. Default is INFO, and for more detailed logs the value should be DEBUG.
ELEVEO_ADMIN: The administrator username for Eleveo.
ELEVEO_PASSWORD: The administrator password for Eleveo.
ELEVEO_URL: The IP address of the Eleveo deployment in format http://IP-address.
ingressRouter: The FQDN of the host VM.
Open the helm-values/cx-middleware-cronjob-custom-values.yaml
file and update the variables:
Under global
set the following value:
ingressRouter: The FQDN of the host VM.
Under extraEnvVars
set the values as follows:
RECORDING_BACKEND: The mechanism for recording files. Leave at default ELEVEO.
LOG_LEVEL: The amount of detail in the logs. Default is INFO, and for more detailed logs the value should be DEBUG.
CX_FQDN: The address of EF CX. https://EFCX-FQDN. This is set automatically.
MIDDLEWARE_API: The API link of the recording middle-ware that will provide recording files. Format: http://EFCX-FQDN/recording-middleware. This is set automatically.
RETRIEVAL_INTERVAL: The number of past days to push recording links for on startup.
ELEVEO_MAX_CALL_TIME: The maximum possible time in minutes a call is assumed to last.
ELEVEO_PASSWORD: The administrator password for Eleveo.
ELEVEO_PROCESSING_TIME: The time in minutes it takes for a call to appear in Eleveo after ending.
ELEVEO_TIMEZONE: The timezone of the Eleveo deployment e.g. Asia/Karachi
ELEVEO_URL: The IP address of the Eleveo deployment in format http://IP-address.
ELEVEO_USERNAME: The username of the Eleveo deployment.
TRUST_STORE_PASSWORD: Taken from the file
CX-4.8/cim-solution/kubernetes/helm/Core/values.yml
under the efConnectionVars section.KEY_STORE_PASSWORD: Taken from the file
CX-4.8/cim-solution/kubernetes/helm/Core/values.yml
under the efConnectionVars section.
Once all the variables are updated, update the ingressRouter
variable in global
section with the FQDN.
Step 3: Deploy the Eleveo Middleware Helm Chart
Deploy the helm chart using the following command
helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" eleveo-middleware --values helm-values/cx-middleware-custom-values.yaml expertflow/eleveo-middleware --version 4.8.0
Check the pods by running the following command
kubectl get pods -n expertflow | grep eleveo-middleware
Step 4: Deploy the Eleveo Middleware Cronjob Helm Chart
Deploy the Eleveo Middleware Cronjob helm chart using the following command
helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" middleware-cronjob --debug --values helm-values/cx-middleware-cronjob-custom-values.yaml expertflow/middleware-cronjob --version 4.8.0