Installing Helm Chart
By using a Helm chart, you can deploy all the services and pods at once, instead of deploying each service and package manually. For TIBCO Offer and Price Engine, Helm chart supports on the following cloud platforms:
-
Azure Kubernetes Service (AKS)
-
Amazon Elastic Kubernetes Service (EKS)
-
Google Kubernetes Engine (GKE)
- Helm Client version 3.5.0 to 3.9.x must be installed on your Kubernetes cluster.
- EMS server must be deployed on the same Kubernetes cluster (in the same subnet that has Kubernetes version 1.23.x) with all the required queues, topics, and bridges.
- Create database users by running the scripts present under the
$OPE_HOME/db/dbscripts
directory. Ensure that the database is in the same subnet for the cloud instance that you use. - Create Docker images as follows:
- Ensure that the <third-party libraries>link are present in the virtual machine that you are working on and then run the
$OPE_HOME/roles/copyLib.sh
script. - Run the
$OPE_HOME/docker/copy-required-files.sh
script. - Create Docker images for all the services. For supporting commands, see
$OPE_HOME/docker/Readme.txt
file. - Push the Docker images to the required Docker registry.
- Ensure that the <third-party libraries>link are present in the virtual machine that you are working on and then run the
- Procedure
-
Log in to the Kubernetes cluster.
-
Copy the
/ope_services
folder from the$OPE_HOME/helm
directory to the Kubernetes cluster. - Set the environment variables and Docker image names for all the required services in the
values.yaml
file that is present at the/ope_services
folder. - Run the helm chart from the location where the copied directories are present.
Example: helm install
ope ./ope_services
Note: Thevalues.yaml
file contains the required properties for starting authorization service, configurator service, and configurator UI services. Create required users from the authorization service and upload requiredapp_properties, metadata,
andconfig
files as per components from the configurator service. Then you can deploy all services. For more details, refer to theREADME.md
file from the helm directory. -
Modify and configure
values.yaml
file to deploy required TIBCO OPE services by selecting components to be deployed as true.
Mostly changes are related to database, EMS, and intercommunication of microservices. -
Choose your desired ingress controller by adding the value for
ingressClassName
field in thevalues.yaml
file. The default supported one isnginx
. You can configure all the services for ingress control inope_ingress.yaml
file present inside templates directory. -
Run the helm chart again.
$OPE_HOME/samples/helm/values.yaml
file for reference.