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)

Before you begin
  1. Helm Client version 3.5.0 to 3.9.x must be installed on your Kubernetes cluster.
  2. 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.
  3. 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.
  4. Create Docker images as follows:
    1. 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.
    2. Run the $OPE_HOME/docker/copy-required-files.sh script.
    3. Create Docker images for all the services. For supporting commands, see $OPE_HOME/docker/Readme.txt file.
    4. Push the Docker images to the required Docker registry.
    Procedure
  1. Log in to the Kubernetes cluster.

  2. Copy the /ope_services folder from the $OPE_HOME/helm directory to the Kubernetes cluster.

  3. 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.
  4. Run the helm chart from the location where the copied directories are present.
    Example: helm install ope ./ope_services
    Note: The values.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 required app_properties, metadata, and config files as per components from the configurator service. Then you can deploy all services. For more details, refer to the README.md file from the helm directory.
  5. 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.

  6. Choose your desired ingress controller by adding the value for ingressClassName field in the values.yaml file. The default supported one is nginx. You can configure all the services for ingress control in ope_ingress.yaml file present inside templates directory.

  7. Run the helm chart again.

ResultA Helm chart is deployed with all the services present in the chart. See $OPE_HOME/samples/helm/values.yaml file for reference.
Note: If you want to enable SSL for TIBCO OPE services in helm chart, see 'Configuring SSL for TIBCO Offer and Price Engine' section in the TIBCO® Offer and Price Engine Security Guidelines.