Breadcrumbs

WFM Deployment on Kubernetes

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

Before you begin, verify

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

  1. Create a namespace wfm for all WFM components.

kubectl create namespace wfm

 

Step 3: Apply Image Pull secret

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

  1. Apply ConfigMap

    kubectl apply -f ConfigMaps/
    
  2. Create services for wfm

    kubectl apply -f Services/
    
  3. Apply the Deployment manifest 

    kubectl apply -f Deployments/
    
  4. 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/

Add label