Line 44: | Line 44: | ||
{{NoteFormat|This script must be run with Docker capable privileges and you must login to your registry before pushing.}} | {{NoteFormat|This script must be run with Docker capable privileges and you must login to your registry before pushing.}} | ||
+ | {| | ||
+ | | valign="top" | | ||
+ | '''Variable''' | ||
+ | | valign="top" | | ||
+ | '''Value''' | ||
+ | | valign="top" | | ||
+ | '''Description''' | ||
+ | | valign="top" | | ||
+ | REGISTRY | ||
+ | | valign="top" | | ||
+ | | valign="top" | | ||
+ | Corporate docker registry, which is accessible from all Kubernetes nodes. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | GWS_DOMAIN | ||
+ | | valign="top" | | ||
+ | "onpremiselab.com" | ||
+ | | valign="top" | | ||
+ | Domain associated with this contact center. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | LOCATION | ||
+ | | valign="top" | | ||
+ | /USW2 | ||
+ | | valign="top" | | ||
+ | Location of Configuration Server'''Note:''' The GWS Cluster Application object (typically named CloudCluster) in the Configuration Database must be configured with a specified location for each connection to Genesys servers, like Configuration Server, Stat Server, T-Server, and so on. This setting defines which server instance is visible by the GWS node based on its position in the GWS Cluster. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | CS_USERNAME | ||
+ | | valign="top" | | ||
+ | default | ||
+ | | valign="top" | | ||
+ | Username to connect to Configuration Server. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | CS_PASSWORD | ||
+ | | valign="top" | | ||
+ | password | ||
+ | | valign="top" | | ||
+ | Password to connect to Configuration Server. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | CS_APPNAME | ||
+ | | valign="top" | | ||
+ | Cloud | ||
+ | | valign="top" | | ||
+ | Application name to connect to Configuration Server. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | CS_ADDRESS | ||
+ | | valign="top" | | ||
+ | 127.0.0.1 | ||
+ | | valign="top" | | ||
+ | Address of primary Configuration Server. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | CS_PORT | ||
+ | | valign="top" | | ||
+ | 8888 | ||
+ | | valign="top" | | ||
+ | Port of primary Configuration Server. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | CS_BACKUP_ADDRESS | ||
+ | | valign="top" | | ||
+ | 127.0.0.1 | ||
+ | | valign="top" | | ||
+ | Address of backup Configuration Server. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | CS_BACKUP_PORT | ||
+ | | valign="top" | | ||
+ | 8888 | ||
+ | | valign="top" | | ||
+ | Port of backup Configuration Server. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | CS_TENANT | ||
+ | | valign="top" | | ||
+ | Environment | ||
+ | | valign="top" | | ||
+ | Configuration Server's tenant name. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | GWS_REDIRECT_URI | ||
+ | | valign="top" | | ||
+ | [http://onpremiselab.com/ http://onpremiselab.com ] | ||
+ | | valign="top" | | ||
+ | Specifies an array by using double quotes and comma to separate values with no whitespace between. Used as part of OAuth authentication flow. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | ingressTlsEnable | ||
+ | | valign="top" | | ||
+ | false | ||
+ | | valign="top" | | ||
+ | Enables Ingress secured endpoint configuration for Web Service and Applications. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | POST_DEPLOY_UPDATE | ||
+ | | valign="top" | | ||
+ | true | ||
+ | | valign="top" | | ||
+ | Enable post deploy procedure, which creates default Genesys environment, contact center and OAuth client. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | DEPLOY_POSTGRES | ||
+ | | valign="top" | | ||
+ | false | ||
+ | | valign="top" | | ||
+ | Enable PostgreSQL deployment procedure in same namespace as Web Services and Applications.'''Note:''' For Lab deployments only. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | POSTGRES_ADDR | ||
+ | | valign="top" | | ||
+ | postgres | ||
+ | | valign="top" | | ||
+ | Address of PostgreSQL installation'''Note''' : If DEPLOY_POSTGRES set to true, default value should be kept. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | POSTGRES_DB | ||
+ | | valign="top" | | ||
+ | gws_environment | ||
+ | | valign="top" | | ||
+ | PostgreSQL database name'''Note''' : If DEPLOY_POSTGRES set to true, default value should be kept. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | POSTGRES_USER | ||
+ | | valign="top" | | ||
+ | gws_env_master | ||
+ | | valign="top" | | ||
+ | PostgreSQL user, which can be used to connect to database'''Note''' : If DEPLOY_POSTGRES set to true, default value should be kept. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | POSTGRES_PASS | ||
+ | | valign="top" | | ||
+ | gws_env_password | ||
+ | | valign="top" | | ||
+ | PostgreSQL user password'''Note''' : If DEPLOY_POSTGRES set to true, default value should be kept. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | DEPLOY_REDIS | ||
+ | | valign="top" | | ||
+ | false | ||
+ | | valign="top" | | ||
+ | Enable Redis cluster deployment procedure in same namespace as Web Services and Applications.'''Note:''' For Lab deployments only. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | REDIS_ADDR | ||
+ | | valign="top" | | ||
+ | redis-cluster:6379 | ||
+ | | valign="top" | | ||
+ | Address of Redis cluster installation'''Note''' : If DEPLOY_REDIS set to true, default value should be kept. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | DEPLOY_ELASTICSEARCH | ||
+ | | valign="top" | | ||
+ | false | ||
+ | | valign="top" | | ||
+ | Enable ElasticSearch cluster deployment procedure in same namespace as Web Services and Applications.'''Note:''' For Lab deployments only. | ||
+ | |- | ||
+ | | valign="top" | | ||
+ | ELASTICSEARCH | ||
+ | | valign="top" | | ||
+ | elasticsearch:9200 | ||
+ | | valign="top" | | ||
+ | Address of ElasticSearch cluster installation'''Note''' : If DEPLOY_ELASTICSEARCH set to true, default value should be kept. | ||
+ | |} | ||
[[Category:V:HTCC:9.0.0DRAFT]] | [[Category:V:HTCC:9.0.0DRAFT]] |
Revision as of 05:25, February 5, 2020
Contents
Deployment of Web Services and Applications in Kuberbetes
Important: This content is restricted and not viewable without a login supplied by Genesys. The information contained in this documentation is not considered final and is managed under the terms and conditions found in the Pre-release Agreement. This documentation provides the most up-to-date reference information available for this pre-release version and is restricted for use by those who have signed the Pre-release Agreement with Genesys to acquire an early version of the software. |
Prerequisites
Hardware Requirements
The solution can be deployed at a Kubernetes cluster with a minimal size of 3 nodes with an overall amount of 64 GB RAM. Recommended hardware requirements for each Kubernetes node:
- Nodes: 3 nodes (Virtual Machines)
- RAM: Approximately 22 GB for each node (64 GB in total)
- CPU: 15 cores for each node (45 cores in total)
- HDD: 100 GB for each node
Software Requirements
- OS: CentOS-7
Kubernetes cluster:
- Rancher Kubernetes Deployment
- Client-side utilities installed at deployment host:
- Kubectl tool
- Helm
Workspace Web Requirements
- Browser:
- Google Chrome 75+
- Mozilla Firefox 68+
- Firefox ESR 60.9
- Microsoft Internet Explorer 11
- Microsoft Edge
Configuring Web Services Applications
To configure Web services and applications, refer to Configuring Web Services and Applications.
Deploying GWS
Implementation Steps
Unpack installation package (Example: IP_HTCCDev_9000197b1_ENU_dockerlinux.zip file) and navigate to "ip" folder which should contain following files: gws-microservices.tgz exported microservices in tar.gz format (e.g. gws-platform-configuration_9.0.000.42.tar.gz) Unpack gws-microservices.tgz archive to /opt/genesys/gws directory.
mkdir -p /opt/genesys/gws
tar xvf gws-microservices.tgz -C /opt/genesys/gws
Populate the Docker images (presented in *.tar.gz format) from installation package to your corporate docker registry.
for i in *.tar.gz; do /opt/genesys/gws/kubernetes/bin/push-containers-to-local-registry.sh $i %corporate_registry_address% --push; done
Variable |
Value |
Description |
REGISTRY |
Corporate docker registry, which is accessible from all Kubernetes nodes. | |
GWS_DOMAIN |
"onpremiselab.com" |
Domain associated with this contact center. | |||
LOCATION |
/USW2 |
Location of Configuration ServerNote: The GWS Cluster Application object (typically named CloudCluster) in the Configuration Database must be configured with a specified location for each connection to Genesys servers, like Configuration Server, Stat Server, T-Server, and so on. This setting defines which server instance is visible by the GWS node based on its position in the GWS Cluster. | |||
CS_USERNAME |
default |
Username to connect to Configuration Server. | |||
CS_PASSWORD |
password |
Password to connect to Configuration Server. | |||
CS_APPNAME |
Cloud |
Application name to connect to Configuration Server. | |||
CS_ADDRESS |
127.0.0.1 |
Address of primary Configuration Server. | |||
CS_PORT |
8888 |
Port of primary Configuration Server. | |||
CS_BACKUP_ADDRESS |
127.0.0.1 |
Address of backup Configuration Server. | |||
CS_BACKUP_PORT |
8888 |
Port of backup Configuration Server. | |||
CS_TENANT |
Environment |
Configuration Server's tenant name. | |||
GWS_REDIRECT_URI |
Specifies an array by using double quotes and comma to separate values with no whitespace between. Used as part of OAuth authentication flow. | ||||
ingressTlsEnable |
false |
Enables Ingress secured endpoint configuration for Web Service and Applications. | |||
POST_DEPLOY_UPDATE |
true |
Enable post deploy procedure, which creates default Genesys environment, contact center and OAuth client. | |||
DEPLOY_POSTGRES |
false |
Enable PostgreSQL deployment procedure in same namespace as Web Services and Applications.Note: For Lab deployments only. | |||
POSTGRES_ADDR |
postgres |
Address of PostgreSQL installationNote : If DEPLOY_POSTGRES set to true, default value should be kept. | |||
POSTGRES_DB |
gws_environment |
PostgreSQL database nameNote : If DEPLOY_POSTGRES set to true, default value should be kept. | |||
POSTGRES_USER |
gws_env_master |
PostgreSQL user, which can be used to connect to databaseNote : If DEPLOY_POSTGRES set to true, default value should be kept. | |||
POSTGRES_PASS |
gws_env_password |
PostgreSQL user passwordNote : If DEPLOY_POSTGRES set to true, default value should be kept. | |||
DEPLOY_REDIS |
false |
Enable Redis cluster deployment procedure in same namespace as Web Services and Applications.Note: For Lab deployments only. | |||
REDIS_ADDR |
redis-cluster:6379 |
Address of Redis cluster installationNote : If DEPLOY_REDIS set to true, default value should be kept. | |||
DEPLOY_ELASTICSEARCH |
false |
Enable ElasticSearch cluster deployment procedure in same namespace as Web Services and Applications.Note: For Lab deployments only. | |||
ELASTICSEARCH |
elasticsearch:9200 |
Address of ElasticSearch cluster installationNote : If DEPLOY_ELASTICSEARCH set to true, default value should be kept. |