-
Notifications
You must be signed in to change notification settings - Fork 7
Running an Application with Shared Nothing Store
-
For shared nothing persistence, create a Storage Class of GCP persistent disk in the Kubernetes cluster. The
StorageClassis configured in themanifest.yamlfile. You can use thisStorageClassto provision persistent volumes for the cache and inference agents. For more information, see "Storage Classes" in Kubernetes Documentation. -
For this deployment, the sample YAML files are available at BE_HOME->cloud->kubernetes->cloud_name->cache->shared-nothing.
-
Your TIBCO BusinessEvents application container image must be uploaded to respective cloud Container Registry.
-
Create Kubernetes object specification (
.yaml) files based on your deployment requirement.For details about describing a Kubernetes object in a YAML file, see Kubernetes documentation.
-
For AWS and PKS cluster deploy the files
kubectl create -f manifest.yaml -
For Azure cluster with
azure file storageclassdeploy the fileskubectl create -f manifest.yaml -
For OpenShift and minikube deploy the files
kubectl create -f persistent-volume.yaml -
For example, create the following Kubernetes objects by using the sample YAML files mentioned in Sample Kubernetes YAML Files for Applications with Shared Nothing Persistence.
kubectl create -f becacheagent.yaml kubectl create -f bediscovery-service.yaml kubectl create -f beinferenceagent.yaml kubectl create -f befdservice.yaml
-
(Optional) If required, you can check logs of TIBCO BusinessEvents pod.
Syntax:
kubectl logs <pod>For example, use the
kubectl getcommand to get the list of pods and then use thekubectl logscommand to view logs ofbecacheagent.kubectl get pods kubectl logs becacheagent-86d75d5fbc-z9gqt -
Get the external IP of your application, which you can use to connect to the cluster.
Syntax
kubectl get services <external_service_name>For example,
kubectl get services befdservice
- See Testing
Parent topic:Running an Application