This document illustrates the procedure and steps to deploy WFM-Reports 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 for WFM-Reports Deployments
Step 1: Clone the WFM-Reports repository
git clone -b <branch Name> https://gitlab.expertflow.com/wfm/wfm-reports.git
cd wfm-reports/
Step 2: Create Namespaces
-
Create a namespace
wfmfor 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 WFM-Reports/ef-imagePullSecret-wfm.yaml
Step 4: Update FQDN
Wfm-Reports Component should be accessible by a fully qualified domain name. Assign the FQDN.
Replace <FQDN> with your FQDN for wfm-reports and run this command.
sed -i 's/devops[0-9]*.ef.com/<FQDN>/g' WFM-Reports/ConfigMaps/* WFM-Reports/Ingresses/nginx/* WFM-Reports/Ingresses/traefik/*
Step 5: Deploy WFM-Report Component
-
Change the directory
cd WFM-Reports/ -
Apply ConfigMaps
kubectl apply -f ConfigMaps/ef-wfm-reports-configmap.yaml -
Create services for wfm-report
kubectl apply -f Services/ef-wfm-reports-service.yaml -
Apply the Deployment manifest
kubectl apply -f Deployments/ef-wfm-reports-deployment.yaml -
Before proceeding to the the next steps, wait for all the solution components to be up and ready.
kubectl get pods -n wfm
Step 6 :Setup Ingress Routes
For RKE2-based Ingresses using Ingress-Nginx Controller
kubectl apply -f Ingresses/nginx/ef-wfm-reports-Ingress.yaml