Skip to main content
Skip table of contents

WFM-Reports Component Deployment on Kubernetes

This document illustrates the procedure and steps to deploy WFM-Reports Components on Kubernetes.

Before you begin, verify

Prepare for WFM-Reports Deployments

Step 1: Clone the WFM-Reports repository

CODE
git clone -b <branch Name> https://gitlab.expertflow.com/wfm/wfm-reports.git
CODE
cd wfm-reports/

Step 2: Create Namespaces

  1. Create a namespace wfm for all WFM components.

CODE
kubectl create namespace wfm

 

Step 3: Apply Image Pull secret

  1. Run the following commands for applying ImagePullSecrets of WFM images.

CODE
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.

CODE
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

  1. Change the directory

    CODE
    cd WFM-Reports/
  2. Apply ConfigMaps

    CODE
    kubectl apply -f ConfigMaps/ef-wfm-reports-configmap.yaml
  3. Create services for wfm-report

    CODE
    kubectl apply -f Services/ef-wfm-reports-service.yaml
  4. Apply the Deployment manifest 

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

    CODE
    kubectl get pods -n wfm 

Step 6 :Setup Ingress Routes

For RKE2-based Ingresses using Ingress-Nginx Controller

CODE
kubectl apply -f Ingresses/nginx/ef-wfm-reports-Ingress.yaml

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.