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
ActiveMQ
1. If you want to use ActiveMQ then Run the following command for ActiveMQ implementation.
kubectl apply -f StatefulSet/
2. Update Communication_Format from REST to JMS in the configmap file.
3. Update ActiveMQ Url in the confgimap file with your ActiveMQ service name and port number.
<service-name>:Port Number // e.g- ef-cti-amq-svc:61616
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