Difference between revisions of "GWS/Current/GWSPEGuide/DeployIngress"
(Published) |
|||
Line 5: | Line 5: | ||
|ComingSoon=No | |ComingSoon=No | ||
|Section={{Section | |Section={{Section | ||
+ | |alignment=Vertical | ||
+ | |structuredtext={{NoteFormat|If you are deploying Web Services and Applications in a single namespace with other private edition services, then you do not need to deploy GWS ingress.|3}} | ||
+ | |Status=No | ||
+ | }}{{Section | ||
|sectionHeading=Prerequisites | |sectionHeading=Prerequisites | ||
|anchor=prerequisites | |anchor=prerequisites | ||
|alignment=Vertical | |alignment=Vertical | ||
− | |structuredtext=Before you deploy GWS Ingress, you must first {{Link-SomewhereInThisVersion|manual=GWSPEGuide|topic=Deploy}}. | + | |structuredtext=Before you deploy GWS Ingress, you must first {{Link-SomewhereInThisVersion|manual=GWSPEGuide|topic=Deploy}} and {{Link-SomewhereInThisVersion|manual=GWSPEGuide|topic=ConfigureIngress}}. |
|Status=No | |Status=No | ||
}}{{Section | }}{{Section | ||
Line 19: | Line 23: | ||
oc project gws | oc project gws | ||
Run the following command to deploy GWS ingress: | Run the following command to deploy GWS ingress: | ||
− | helm upgrade --install gws-ingress | + | helm upgrade --install gws-ingress <helm_directory>/gws-ingress --version=<version> -n gws -f ./override.gws-ingress.values.yaml -f ./versions.yaml |
|Status=No | |Status=No | ||
}}{{Section | }}{{Section | ||
− | |sectionHeading= | + | |sectionHeading=Create routes in OpenShift |
|anchor=https | |anchor=https | ||
|alignment=Vertical | |alignment=Vertical | ||
− | |structuredtext=Follow the instructions | + | |structuredtext=Follow the instructions to configure external access to GWS ingress in OpenShift. |
− | |||
− | |||
Genesys recommends using the following hostname format: <code>gws.<cluster-subdomain></code>. For example, the VCE cluster (<nowiki>https://console-openshift-console.apps</nowiki>.<yourclusterdomain>.com/) should have the hostname '''gws.<yourclusterdomain>.com''' | Genesys recommends using the following hostname format: <code>gws.<cluster-subdomain></code>. For example, the VCE cluster (<nowiki>https://console-openshift-console.apps</nowiki>.<yourclusterdomain>.com/) should have the hostname '''gws.<yourclusterdomain>.com''' | ||
oc create route edge --service=gws-service-proxy --hostname=<hostname> | oc create route edge --service=gws-service-proxy --hostname=<hostname> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Status=No | |Status=No | ||
}}{{Section | }}{{Section | ||
Line 153: | Line 79: | ||
kubectl get all -n gws | kubectl get all -n gws | ||
The result should show all the created pods, services, ConfigMaps, and so on. | The result should show all the created pods, services, ConfigMaps, and so on. | ||
− | |||
− | |||
|Status=No | |Status=No | ||
}}{{Section | }}{{Section |
Revision as of 20:18, February 1, 2022
Contents
Learn how to deploy GWS Ingress.
Prerequisites
Before you deploy GWS Ingress, you must first Deploy GWS Services and Configure GWS Ingress.
Deploy
To deploy GWS Ingress, you need the GWS Ingress Helm package and override file. Copy values.yaml and the Helm package (gws-ingress-<version>.tgz) to the installation location.
For OpenShift, select the gws project you created in Prepare your environment:
oc project gws
Run the following command to deploy GWS ingress:
helm upgrade --install gws-ingress <helm_directory>/gws-ingress --version=<version> -n gws -f ./override.gws-ingress.values.yaml -f ./versions.yaml
Create routes in OpenShift
Follow the instructions to configure external access to GWS ingress in OpenShift.
Genesys recommends using the following hostname format: gws.<cluster-subdomain>
. For example, the VCE cluster (https://console-openshift-console.apps.<yourclusterdomain>.com/) should have the hostname gws.<yourclusterdomain>.com
oc create route edge --service=gws-service-proxy --hostname=<hostname>
Validate the deployment
First, check that the pod is running:
kubectl get pod
The result should show that gws-service-proxy is running. For example:
gws-service-proxy-d5997957f-m4kcg 1/1 Running 0 4d13hCheck the service:
kubectl get svc
gws-service-proxy ClusterIP 10.202.55.20 <none> 80/TCP,81/TCP,85/TCP,86/TCP 4d13h
Check the gws-ingress status:
helm status gws-ingress -n gws
The result should show the namespace details with a status of deployed:
NAME: gws-ingress
LAST DEPLOYED: Fri Sep 17 11:54:31 2021
NAMESPACE: gws
STATUS: deployed
REVISION: 1
TEST SUITE: None
Check the installed Helm release:
helm list –n gws
The result should show the gws-services and gws-ingress deployment details. For example:
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
gws-ingress gws 1 2021-09-17 11:54:31.339091 -0300 ADT deployed gws-ingress-0.2.7 1.0
gws-services gws 1 2021-09-17 11:43:50.0692273 -0300 ADT deployed gws-services-1.0.55 1.0
Check the GWS Kubernetes objects created by Helm:
kubectl get all -n gws
The result should show all the created pods, services, ConfigMaps, and so on.