Create a Kubernetes Deployment
Create a Kubernetes Deployment (a .yaml configuration file), which describes how to deploy the Docker image of the TIBCO BPM Enterprise application to the Kubernetes cluster. A sample deployment file is included in the TIBCO BPM Enterprise installation.
The following table describes the parameters in the deployment file.
Parameter | Description |
---|---|
name:
|
The name to be used to identify the TIBCO BPM Enterprise container. |
image:
|
The name of the Docker image of the
TIBCO BPM Enterprise application. (Default: |
livenessProbe:
|
Kubernetes livenessProbe is used to ensure that the container is healthy and responsive. This must be defined using an
httpGetAction , with:
|
readinessProbe:
|
Kubernetes readinessProbe is used to determine the container's readiness to accept work. This must be defined using an
httpGetAction , with:
|
ports:
|
Port numbers to be exposed:
|
env:
|
This section must contain the following environment variables, which are used to inject configuration data required by
TIBCO BPM Enterprise into the pod:
Use of the following environment variable is optional, but recommended:
For more information, see Configure Environment Variables. |
Configure Environment Variables
You can set the variable INSTALLATION_TYPE to Production
. This enables you to only deploy
artifacts that have been locked for production in TIBCO Business Studio - BPM Edition.
If you do not configure this variable, it is by default set to Development
. In this case, you
can deploy any type of project.
If set to Production
, the variable INSTALLATION_TYPE is configured as follows:
For Docker:
environment: - INSTALLATION_TYPE= Production
For Kubernetes:
- name: INSTALLATION_TYPE value: Production
For more general information about Docker deployment, see Deployment.