Deploy Genesys Web Services and Applications
Contents
Learn how to deploy Genesys Web Services and Applications.
Deploying Genesys Web Services and Applications in OpenShift
Login to OpenShift Cluster
Use the following command to log in to OpenShift cluster from the host where you will run deployment:
oc login --token <token> --server <url of api server>
Select your GWS Project
Use the following command to select the default GWS project that was created as a prerequisite:
oc project gws
Render Templates
To ensure that resources are created correctly, you can render the templates for debugging purposes within installing them. Use the following command to render the templates:
helm template --debug /gws-services-1.0.18.tgz -f values-gws-new.yaml -f gws-versions_ltst.yaml
Kubernetes descriptors are displayed. The values are generated from Helm templates, based on settings from values-gws-new.yaml and gws-versions_ltst.yaml. Ensure that no errors are displayed. This configuration will be applied to your Kubernetes cluster.
Deploy GWS
Use the following command to deploy GWS:
helm install gws-services./gws-services-1.0.18.tgz -f values-gws-new.yaml -f gws-versions_ltst.yaml
Validate OpenShift Deployment
Use the following command to check the installed Helm release:
helm list –n gws
The result should show gws-service deployment details similar to the following:
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION gws-services gws 1 2021-05-19 11:49:49.2243107 +0530 +0530 deployed gws-services-1.0.18 1.0
To check the Genesys Web Services and Applications project status, use the following command:
helm status gws-services
The result should display the details with STATUS: deployed:
NAME: gws-services LAST DEPLOYED: Wed May 19 11:49:49 2021 NAMESPACE: gws STATUS: deployed REVISION: 1 TEST SUITE: None
To check the GWS OpenShift objects created by Helm, use the following command:
oc get all -n gws