Sample Kubernetes Resource Files for Shared All Storage
TIBCO BusinessEvents® provides sample YAML files at BE_HOME\cloud\kubernetes\sa to create Kubernetes resources for deploying TIBCO BusinessEvents cluster for the shared all storage.
File Name | Resource | Resource Type | Description |
---|---|---|---|
db-configmap.yaml | ConfigMap | ConfigMap | Setup the environment variables for the database connection. These environment variables are used by deployment instances (bediscovery.yaml, becache.yaml, and beinference.yaml) for connecting to the database. |
bediscovery.yaml | Discovery node | Deployment | Setup the container (containers) with the docker image (image) of the application. Provide a label (labels) to the deployment which the discovery node service can use as selector. Specify only one replica (replicas) of the discovery node. Provide database connection values for the global variables, that are used in the application, using the ConfigMap environment variables. |
bediscovery-service.yaml | Discovery node service | Service (Internal) | Setup the service to connect to the discovery node. Specify the label of the discovery node as the value of selector. Other nodes in the cluster use this service to connect to the discovery node. Specify the protocol and port to connect to this service. |
becache.yaml | Cache agent node | Deployment | Setup the container (containers) with the docker image (image) of the application. Specify replicas value and start as many cache agent as specified in the value. Connect to the discovery node service using the discovery protocol and port specified in the discovery node service. Provide database connection values for the global variables, that are used in the application, using the ConfigMap environment variables. |
beinference.yaml | Inference agent node | Deployment | Setup the container (containers) with the docker image (image) of the application. Provide a label (labels) to the deployment which the inference agent service can use as selector. Specify at least one replica (replicas) of the inference agent node. Connect to the discovery node service using the discovery protocol and port specified in the discovery node service. Provide database connection values for the global variables, that are used in the application, using the ConfigMap environment variables. |
befdservice.yaml | Inference agent service | Service (LoadBalancer/External) | Setup the service to externally connect to the inference agent. Setup the label of the inference agent as the value of the selector variable for connection. Specify the protocol and port to connect to this service externally. |
Copyright © TIBCO Software Inc. All rights reserved.