Deploying Multi-Pod Cluster
Procedure
-
To create a namespace for working with multicontainer
TIBCO Fulfillment Catalog deployment on Kubernetes, ensure that the following values are entered in
fc-namespace.json:
Command to create namespace:
$ kubectl create -f fc-namespace.json
-
Create the following entities in the specified order:
-
TIBCO Fulfillment Catalog supports Oracle and PostgreSQL running as on-premise software as well as running on cloud. In both cases, after setting up the database, the database details are used in step 5.
Option Description Deployment of containerized PostgreSQL Database For more details, see Deploying Containerized PostgreSQL Database. Deployment of on-premise PostgreSQL Database For more details, see Deploying On-premise PostgreSQL Database. Deployment of containerized Oracle Database For more details, see Deploying Containerized Oracle Database. Deployment of on-premise Oracle Database For more details, see Deploying On-premise Oracle Database -
TIBCO Fulfillment Catalog integrates with on-premise Enterprise Message Service as well as cloud Enterprise Message Service.
Option Description Deployment of containerized Enterprise Message Service For more details, see Deploying Containerized Enterprise Message Service. Deployment of on-premise Enterprise Message Service For more details, see Deploying On-premise Enterprise Message Service. -
To create a configuration map, ensure that the following values are entered in
fc-properties.properties:
- MQ_MDM_DB_TYPE = POSTGRES/ ORACLE
- MQ_MDM_DB_HOST = Database host / fc db Kubernetes service
- MQ_MDM_DB_PORT = Database port
- MQ_MDM_DB_NAME = Database service name as configured in tnsnames
- MQ_MDM_DB_SCHEMA = Database schema name
- MQ_MDM_DB_MIN_CONN_COUNT=20
- MQ_MDM_DB_MAX_CONN_COUNT=250
- MQ_MDM_DB_IGN_MIN_CONN_COUNT=1
- MQ_MDM_DB_IGN_MAX_CONN_COUNT=10
- EMS_SERVER_URL=tcp://host:port, if Enterprise Message Service is running on an on-premise setup. In this case, the host value is the hostname/IP address on which the Enterprise Message Service is running. If the Enterprise Message Service is containerized then the host value is Enterprise Message Service service name/IP address.
- FC_SERVICE_HOST=IP address of service where TIBCO Fulfillment Catalog is deployed
- FC_SERVICE_PORT=Port on which TIBCO Fulfillment Catalog is running
- OPD_APP_DATA_VOLUME=heavy/light
Run the following command to create a config map:$kubectl create cm fc-config -n tibco-fc-410 --from-env-file=<path to fc-properties.properties>
-
To create secrets for a database and Enterprise Message Service, ensure that the following values are entered in
fc-secret.json
:
- MQ_MDM_DB_USER=<base64 encoded database username>
- MQ_MDM_DB_PASSWORD=<base64 encoded database password>
- MQ_MDM_DB_ADMIN_USER=<base64 encoded database admin username>
- MQ_MDM_DB_ADMIN_USER_PWD=<base64 encoded database admin password>
- EMS_USER_NAME=<base 64 encoded ems user name>
- EMS_PASSWORD=<base 64 encoded ems password>
- To deploy Apache Ignite, ensure that the following values are entered in ignite.json:
-
When deploying with
TIBCO Fulfillment Catalog, perform the following steps:
-
In the namespace
tibco-fc-410, give the permissions in the
viewClusterRole to the service account located in the namespace
tibco-fc-410 and named
default. You must create rolebinding to access the
TIBCO Fulfillment Catalog instance in the cluster to create a Wildfly cluster.
$kubectl create rolebinding default-viewer --clusterrole=view --serviceaccount=tibco-fc-410:default --namespace=tibco-fc-410
-
Ensure that the following values are entered in the
fc.json:
- Kind: Deployment
- App in matchLabels: fc (this value must be the same as the value of the app in selector in fc-service.json)
- Tier in matchLabels: instance (this value must be the same as the value of the tier in selector in fc-service.json)
- Image: Docker registry url of image with the latest tag
- Name in imagePullSecrets: name of the registry credentials created to pull images
$kubectl create -f fc.json
-
Run the following command to create
TIBCO Fulfillment Catalog service:
$kubectl create -f fc-service.json
-
Run the following command to create the configurator service kubectl create
-f configurator-service.json
kubectl create -f configurator-service.json
-
In the namespace
tibco-fc-410, give the permissions in the
viewClusterRole to the service account located in the namespace
tibco-fc-410 and named
default. You must create rolebinding to access the
TIBCO Fulfillment Catalog instance in the cluster to create a Wildfly cluster.
-
When deploying with Offer and Pricing Designer (OPD), perform the following steps:
-
Ensure that the following values are entered in the
opd.json:
- Kind: Deployment
- App in matchLabels: fc (this value must be the same as the value of the app in selector in opd-service.json)
- Tier in matchLabels: opd (this value must be the same as the value of the tier in selector in opd-service.json)
- Image: Docker registry url of image with the latest tag
- Name in imagePullSecrets: name of the registry credentials created to pull images
Run the following command to create TIBCO Offer and Pricing Designer:$kubectl create -f opd.json
The existing topology of TIBCO Fulfillment Catalog deployment is that it supports only a single pod of OPD. If OPD pod is scaled up, OPD features do not work in an expected way. -
Ensure that the following values are entered in the
opd-service.json:
Run the following command to create TIBCO Fulfillment Catalog-Offer and Pricing Designer service:
$kubectl create -f opd-service.json
-
Ensure that the following values are entered in the
opd.json:
Copyright © Cloud Software Group, Inc. All rights reserved.
