Skip to main content
Skip table of contents

Kubernetes Deployment Guide for SAP connector

Before you begin, verify

Prepare for SAP-connector Deployments

Step 1: Clone the SAP-connector repository

CODE
git clone --branch Tag_1.0.0 --depth 1 https://gitlab.expertflow.com/cti/sap-connector-for-efcx.git

Copy

CODE
cd  sap-connector-for-efcx

Copy

Step 2: Create Namespaces

  1. Create a namespace expertflow .

CODE
kubectl create namespace expertflow

Copy

 

Step 3: Apply Image Pull secret

  1. Run the following commands for applying ImagePullSecrets of SAP-connector images.

CODE
kubectl apply -f ef-imagePullSecret-expertflow.yaml

Copy

 

Step 4: Update FQDN

SAP-Connector 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' kubernetes/ConfigMaps/*  kubernetes/Ingresses/nginx/sap-connector-Ingress.yaml

Copy

Update Config Map

  1. Open the ConfigMap

    CODE
    nano kubernetes/ConfigMaps/sap-connector-configmap.yaml 

    Copy

    Opens image in full screenOpen

Config.png
  1. Change the values as follows:

    1. AGENTDESK: e.g. https://<FQDN>.com

  2. Exit the editor by pressing the ctrl+X key and then entering Shift+Y

Step 5: Deploy SAP-Connector Change the directory

  1. Change the directory

CODE
cd kubernetes/

Copy

  1. Apply ConfigMaps

    CODE
    kubectl apply -f ConfigMaps/sap-connector-configmap.yaml

    Copy

  2. Create services for SAP-connector

    CODE
    kubectl apply -f Services/sap-connector-service.yaml

    Copy

  3. Apply the Deployment manifest 

    CODE
    kubectl apply -f Deployments/sap-connector-deployment.yaml

    Copy

  4. Before proceeding to the the next steps, wait for all the solution components to be up and ready.

    CODE
    kubectl get pods -n expertflow

    Copy

Step 6 :Setup Ingress Routes

For RKE2-based Ingresses using Ingress-Nginx Controller

CODE
kubectl apply -f Ingresses/nginx/sap-connector-Ingress.yaml

Copy

 

Step 7: Update the latest Image

Open the Deployments folder, change the image value.

CODE
kubectl delete -f Deployments/sap-connector-deployment.yaml 
kubectl apply -f Deployments/sap-connector-deployment.yaml

JavaScript errors detected

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

If this problem persists, please contact our support.