Creating and Deploying a new App Build
To create and deploy a new application, perform the given procedure.
Note: By default, the TIBCO BusinessWorks Container Edition apps are configured with 1 CPU and 4 GB of memory.
Before you begin Ensure to provision a TIBCO BusinessWorks Container Edition version capability and select its appropriate plug-ins. For more information, see Provisioning TIBCO BusinessWorks Container Edition Capability and Plug-ins.
Note:
- Create an application EAR build with version 2.9.0 of TIBCO BusinessWorks Container Edition. TIBCO BusinessWorks Container Edition 2.9.0 and above is supported. For more information to download TIBCO BusinessWorks Container Edition, see Downloading TIBCO Control Center Tools.
- The application must be configured as Container for Deployment Target before exporting the EAR from TIBCO Business Studio for BusinessWorks.
- Ensure that the TIBCO BusinessWorks Container Edition version is provisioned on the data plane before deploying an application.
- The application properties must be tokenized to configure them on data plane deployment. For more information, see Tokenizing Application Properties.
- Procedure
- From the Upload Files window, in the Select Application files to Upload, drag your
.earfile onto the box or click browse to upload to find and open your.earfile, and then click Next. - In the Select Versions window, specify the values for the following fields:
Application Name: The default name of the application.
BWCE Version: The TIBCO BusinessWorks Container Edition version.
Base Image: The base images supported by the TIBCO BusinessWorks Container Edition versions.
App Build Name: The name of the app builds created from the application. By default, it takes the application name.
NameSpace: The target namespace where the application is deployed. If you want to use a namespace different from the default data plane namespace, see Deploying App Outside Data Plane Namespace.
Application Tags: The tags to categorize the application.
Service Mesh: Toogle the Service Mesh button to enable Service Mesh. This option is visible only when the Service Mesh capability is provisioned.
Plugin Version: This displays the plug-ins that are required by the application.
In the Resource Configuration window, select the Auto Scaling Configuration button to auto scale an application and specify the values for the following fields:
Minimum Replica: The minimum number of replicas for the deployment. Hover over the number of instances. When the arrows display, change the required number of replicas.
Maximum Replica: The maximum number of replicas for the deployment. Hover over the number of instances. When the arrows display, change the required number of replicas.
Target CPU Utilization (%): The threshold for CPU Utilization of the application. By default, this variable is set to 70%. When the CPU utilization by an app running in a container exceeds the threshold that you specified, it automatically scales up or down the number of replicas. You can change the threshold values according to your app requirement.
Target Memory Utilization (%) The threshold for memory utilization. By default, this variable is set to 70%. When the Memory utilization by an app running in a container exceeds the threshold that you specified, it automatically scales up or down the number of replicas. You can change the threshold values according to your app requirement.
These options are available only when the Auto Scaling Configuration button is enabled.
On the Resource Allocation tab, specify the values for the following fields:
CPU Requests: The minimum guaranteed amount of CPU reserved for a container.
CPU Limits: The maximum guaranteed amount of CPU used by a container.
Memory Requests: The minimum guaranteed amount of memory reserved for a container.
Memory Limits: The maximum guaranteed amount of memory used by a container.
Note: Memory Requests and Memory Limits allows only Integers with suffix such as Ei, Pi, Ti, Gi, Mi, Ki For Example: 1Gi
Select the I have read and accepted the TIBCO End User Agreement (EUA) checkbox and click Next.
Result After the app build is created and the TIBCO BusinessWorks Container Edition application is deployed on the data plane, click the respective boxes to View Apps Details, or View App Builds, or View Deployed Apps.