Customizing Local Edition Manifest
Cluster Parameters' Descriptions
Parameter Name | Parameter Value | Note |
---|---|---|
tml_cluster_name |
Name of the TIBCO Cloud™ API Management - Local Edition cluster. Example: "API Management - Local Edition Openshift Cluster" |
|
tml_cluster_mode |
tethered untethered |
In "tethered" mode, admin must specify "mom_key" and "mom_secret" in "/var/jenkins_home/docker-deploy/properties/tml_cluster_properties.json" |
tml_image_registry_host |
us.gcr.io |
MUST be consistent with "configure_GCP" on "Prepush". |
tml_image_tag |
TML docker image tag |
MUST customize to match the docker build to be deployed: i.e. the "5.2.0" is TML release; the last "1" is the build number in Jenkins job "build_docker". |
tml_cm_count |
No of CM containers |
|
tml_tm_count |
No of Traffic managers |
|
tml_cache_count |
No of cache containers |
|
tml_sql_count |
No of log containers |
|
tml_log_count |
No of log containers |
|
tml_nosql_count |
No of NoSql containers |
"k8s_storage_type" : "pd-standard" , "k8s_storage_provisioner" : "kubernetes.io/gce-pd" , "k8s_deploy_namespace" : "ml5-openshift" , "k8s_storage_account_type" : "Standard_LRS" , "tml_sql_storage_size" : "10Gi" , "tml_log_storage_size" : "10Gi" , "tml_nosql_storage_size" : "10Gi" , "tml_cache_storage_size" : "10Gi" ,
"tml_tm_http_enabled" : "true" , "tml_tm_http_port" : 80 , "tml_tm_https_enabled" : "true" , "tml_tm_https_port" : 443 , "tml_tm_oauth_enabled" : "true" , "tml_tm_oauth_port" : 8083 , "tml_api_http_enabled" : "true" , "tml_api_http_port" : 7080 , "tml_api_https_enabled" : "true" , "tml_api_https_port" : 7443 , "tml_cm_http_enabled" : "true" , "tml_cm_http_port" : 8080 , "tml_cm_https_enabled" : "true" , "tml_cm_https_port" : 8443 ,
Example: Generate deployment scripts for single-region deployment
In the /var/jenkins_home/docker-deploy/gcp/openshift/ folder of TML Installer, run the following command to generate deployment scripts
./compose.sh manifest-single-zone.json
TMG_CLUSTER_NAME: Local Edition Openshift Cluster
TMG_CLUSTER_MODE: tethered
in "tethered" mode, admin must specify "api_key" and "api_secret" in "tml_sql_properties.json" and "tml_log_properties.json"
TMG_CLUSTER_TAG: 6922993653aa7f38744d8a3e50daccf3
TMG_ZONE_NAME: 0: eastus
TMG_ZONE_COUNT: 1
TMG_RELEASE_VERSION: 5.5.0
Modify docker-deploy/azure/openshift/manifest-single-zone/nosql-pod-0.yaml and update "timeoutSeconds: 15" in readinessProbe section as below
readinessProbe: exec: command: - /bin/bash - -c - /usr/local/bin/nosql-ready-probe.sh initialDelaySeconds: 15 periodSeconds: 5 timeoutSeconds: 15