Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | 5.6 and later |
How can I quickly spin up a simple BusinessEvents application in a local Kubernetes environment for basic testing and troubleshooting?
$ curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
$ sudo install minikube-linux-amd64 /usr/local/bin/minikube
3. Obtain the be-tools from github:
$ mkdir ~/tmp
$ cd ~/tmp
$ git clone https://github.com/TIBCOSoftware/be-tools.git
4. Download a copy of the installation kit for your BE version (e.g. TIB_businessevents-enterprise_5.6.1_linux26gl25_x86_64.zip), and place it in an accessible directory (e.g. ~/installers/).
$ minikube start --cpus=4 --memory=8g
6. Build and load the Fraud Detection example:
$ cd ~/tmp
$ mkdir beapp
$ cp /opt/tibco/be/5.6/examples/standard/FraudDetection/FraudDetection/fd.cdd ~/tmp/beapp/
$ cp /opt/tibco/be/5.6/examples/standard/FraudDetection/fd.ear ~/tmp/beapp/
$ cd ~/tmp/be-tools/cloud/docker/
$ ./build_image.sh -i app -a ~/tmp/beapp -s ~/installers/ -t fd
$ minikube image load fd:latest
$ kubectl apply -f ../kubernetes/minikube/inmemory/befdservice.yaml
$ nano ../kubernetes/minikube/inmemory/beinferenceagent.yaml
Set the following in beinferenceagent.yaml under the 'containers' section:
image: fd:latest
imagePullPolicy: Never
Then save the changes (CTRL+X then Y)
$ kubectl apply -f ../kubernetes/minikube/inmemory/beinferenceagent.yaml