Introduction
This document illustrates the procedure and steps to deploy Expertflow Generic Connector on any Kubernetes distribution (K3s or RKE2).
Step 1: Clone the Experflow Generic Connector Repository
1. Start with cloning the repository from GitLab.
git clone https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cti/gc_k3s_deployment.git
2. Change to the directory.
cd gc_k3s_deployment/cti-voice
Step 2: Create Namespace
Run the following command on the master node. Create the namespace using the command.
kubectl create namespace ef-cti
ConfigMaps
apply the configmap in ConfigMaps folder using
kubectl apply -f Configmap/
Services
Create service for deployment of generic components
kubectl apply -f Services/
Deployments
apply the Deployment manifests
kubectl apply -f Deployment/
Step 3: Update the FQDN
1. Decide the FQDN to be used in your solution and change the <FQDN> to your actual FQDN as given in the following command:
|
Ingress
Run this command for RKE
kubectl apply -f Ingress/nginx
Run this command for Traefik
kubectl apply -f Ingress/traefik
If you want to run GC with JMS
ActiveMQ
Run the following command on the master node. Create the namespace using the command.
kubectl create namespace ef-external
To deploy ActiveMQ asStatefulSet run
kubectl apply -f StatefulSet/
Wait for the AMQ StatefulSet
kubectl wait pods ef-amq-0 -n ef-external --for condition=Ready --timeout=600s