Important YAML Parameters
The YAML files provided are sample files designed to provide an example of a working Kubernetes network. You must update these files to meet the needs of your environment.
Parameter | Description |
---|---|
spec: image | Defines the name of the Docker image that is loaded. The default image name is mftis:8.3.0. |
spec: ports | Defines the ports that are used. In the service (_svc) YAML files, the ports are defined in two places.
Note: It is critical that the
TIBCO MFT Internet Server and
TIBCO MFT Command Center ports are different. Otherwise
TIBCO MFT Internet Server requests may be incorrectly forwarded to the
TIBCO MFT Command Center and vice versa. Ports should be the same across all
TIBCO MFT Internet Server containers. But the ports used by
TIBCO MFT Internet Server cannot be used by
TIBCO MFT Command Center.
|
spec: replicas | Defines how many instances are started. |
spec:env | Defines environment variables that are set by Kubernetes. These environment variables provide information for
TIBCO MFT Internet Server to connect to the database and define persistent storage that is used for log files. The following three environment parameters are supported: (These parameters only need to be updated if the persistent storage directory is changed.)
Note:
If the following 5 variables are defined, the COM_TIBCO_MFT_CE_DBCFG variable is ignored. COM_TIBCO_MFT_CE_DB_TYPE; COM_TIBCO_MFT_CE_DB_URL; COM_TIBCO_MFT_CE_DB_USER; COM_TIBCO_MFT_CE_DB_PWD; COM_TIBCO_MFT_CE_DB_DRIVER Use the clouddbconfig utility to generate these values. Or on the Server Detail Menu, enter 7 for the option Display Cloud Database Environment variables. These environment variables should be set in the Kubernetes YAML config file. See step 1 in Prepare the Kubernetes Environment. |
spec: volumeMounts | Defines the persistent storage directory that is mounted. |
spec: volumes | Defines the information required to mount an NFS share. |
External Ports
If you are using auto scaling, update file mftis-hpa.yaml to define the scaling values. The scaling values in the default file are very low to facilitate testing this feature.
The following list provides the external ports defined in the YAML files. If you want to use different ports, then you must update the ports in the YAML files.