Breadcrumbs

Voice Recording Components deployment on Kubernetes

This document illustrates the procedure and steps to deploy CX Voice Recording components on Kubernetes.

Before you begin, verify

Prepare for CX Voice Recording Components Deployments

Step 1: Clone the Expertflow CX repository

git clone -b <branch Name> https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git
cd cim-solution/kubernetes/

Step 2: Create Namespaces

  1. Create a namespace cx-voice-recording for all Voice Recording components.

kubectl create namespace cx-voice-recording

 

Step 3: Apply Image Pull secret

  1. Run the following commands for applying ImagePullSecrets of Expertflow CX images.

kubectl apply -f cx-voice-recording/ef-imagePullSecret-cx-voice-recording.yaml


Step 4: Update FQDN

Voice Recording Componentes should be accessible by a fully qualified domain name. Assign the FQDN that resolves to the control plane node or KubeVIP.

Replace <FQDN> with your FQDN for CX Voice Recording and run this command.

sed -i 's/devops[0-9]*.ef.com/<FQDN>/g' cx-voice-recording/ConfigMaps/*  cx-voice-recording/Ingresses/nginx/* cx-voice-recording/Ingresses/traefik/*

Step 5: Deploy CX Voice Recording Components

  1. Change the directory

    cd cx-voice-recording/
    
  2. Apply all configurations in the ConfigMaps folder using:

    kubectl apply -f ConfigMaps/
    
  3. Create services for all deployment voice recording components

    kubectl apply -f Services/
    
  4. Apply all the Deployment manifests 

    kubectl apply -f Deployments/
    
  5. Before proceeding to the the next steps, wait for all the solution components to be up and ready.

    kubectl get pods -n cx-voice-recording 
    

Step 6 :Setup Ingress Routes

For RKE2-based Ingresses using Ingress-Nginx Controller

kubectl apply -f Ingresses/nginx/