WFM Deployment on Kubernetes
This document illustrates the procedure and steps to deploy WFM Components on Kubernetes.
Before you begin, verify
- Installed Kubernetes. If not, see Deployment Planning
- Have already setup storage. If not yet, see Storage Solution - Getting Started
Prepare WFM Components for Deployment
Step 1: Clone the WFM repository
git clone https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/wfm/wfm-kubernetes.git
cd wfm-kubernetes/
Step 2: Create Namespaces
Create a namespace
wfm
for all WFM components.
kubectl create namespace wfm
Step 3: Apply Image Pull secret
Run the following commands for applying ImagePullSecrets of WFM images.
kubectl apply -f registryCredits/ef-imagePullSecret-wfm.yaml
Step 4: Update FQDN
Wfm Components should be accessible by a fully qualified domain name. Assign the FQDN.
Replace <FQDN> with your FQDN for wfm-connector and run this command.
sed -i 's/devops[0-9]*.ef.com/<FQDN>/g' ConfigMaps/* Ingresses/nginx/* Ingresses/traefik/*
Step 5: Deploy WFM-Components
Apply ConfigMap
CODEkubectl apply -f ConfigMaps/
Create services for wfm
CODEkubectl apply -f Services/
Apply the Deployment manifest
CODEkubectl apply -f Deployments/
Before proceeding to the the next steps, wait for all the solution components to be up and ready.
CODEkubectl get pods -n wfm
Step 6 :Setup Ingress Routes
For RKE2-based Ingresses using Ingress-Nginx Controller
kubectl apply -f Ingresses/nginx/
Add label