Binding BusinessWorks Application to Monitoring Application on Kubernetes
You can bind TIBCO BusinessWorks Container edition application.
Prerequisites
Ensure that you have configured the database for application monitoring.
Ensure that you have created the
TIBCO BusinessWorks™ Container Edition base docker image. For more information about creating base docker image, see
Creating TIBCO BusinessWorks Container Edition base docker image in the
Application Development guide.
Ensure that you have created the
TIBCO BusinessWorks™ Container Edition application docker image. For more information about building application docker image, see
Building the application docker image in the
Sample guide.
Procedure
Tag the application docker image by running the following command:
docker tag <application_image_name>your_docker_container_registry/<your_project_name>/<application_image_name>
Push your application image to the Docker Container Registry.
For example: To push your application docker image on Google Cloud Registry, run the following command:
To configure monitoring application with external database, add the following two environment variables to the manifest file and port 80 with monitoring URL.
BW_APP_MONITORING_CONFIG
BW_JAVA_OPTS
The below image is of a sample manifest file:
To create the monitoring service and replication controller, run the following command:
kubectl create -f manifest.yml
To verify that the application has started successfully, run the following command:
kubectl logs pod-name
To get the external IP of running monitoring service, run the following command:
kubectl get svc
Access the monitoring dashboard in the browser by using the external IP.