TIBCO Product and Service Inventory as a Container on Kubernetes
TIBCO Product and Service Inventory can be deployed as a container application. To containerize the application, you must build and run the Docker images using the bundled Dockerfile. Kubernetes is used to deploy TIBCO PSI Inventory and also to orchestrate the containers. The deployment architecture and the detailed instructions are written in the Kubernetes context because Kubernetes is used to deploy TIBCO PSI. Deployment uses Kubernetes concepts such as Deployment, pod, kubectl, Kubernetes master, and service. For more information, see the
Kubernetes documentation.
Procedure
|
1.
|
Upload the properties with correct values in the database for common and psi applications. See thePostinstallation Tasks for more details.
|
|
2.
|
Run the copyLib script from the <PSI_HOME>/roles directory.
|
|
3.
|
Provide all the required properties for each service in <PSI_HOME>/roles/<service-name>/standalone/config/application.properties files.
|
|
4.
|
Create all the required docker images from <PSI_HOME>/docker directory by following the readme present under the same location.
|
|
5.
|
Copy the Kubernetes scripts from <PSI_HOME>/kubernetes directory to the Kubernetes cluster and modify them according to the required changes.
|
|
6.
|
Modify the location for images in image: tibco/authorization-service:2.1.0 script, where the docker images are pushed.
|
|
7.
|
Deploy the scripts using the following command from where the Kubernetes scripts are copied. Example:
kubectl apply -f kubernetes-deploy-run-authorization-service.yml |