Mashery Local Cluster Configuration

The on-premises deployment will create Virtual Box instances for each Kubernetes node.

The k8s cluster creation script creates one Kubernetes Master Node VM and the given number of worker VMs where Mashery Local containers will be deployed.

The Kubernetes master VM needs at least 2 GB of memory.

A Kubernetes worker Node VM needs at least 6 GB of memory for even the smallest deployment containing a single instance of each ML component.

So if you plan to create a cluster of 1 Kubernetes master VM and one Kubernetes worker VM, plan for minimum 8GB of memory for the cluster to work properly.

Edit the reference deployment file docker-deploy/onprem/k8s/manifest-single-zone.json.:
"tml_cluster_name": "Tibco Mashery Gateway Reference Cluster",

"tml_cluster_mode": "untethered",

"tml_zones": ["local"],

Mashery Local Component configuration

The following settings can be customized:
  • tml_image_tag: Docker image tag in the form of v5.2.0.<build no>. For example: v5.2.0.10

  • tml_image_registry_host: The Docker registry where Mashery Local images were pushed.

  • tml_image_repo: Mashery Local image repo. Default is tml.

Note:
Variable Prefix Description
tml_cm Mashery Local Cluster Manager Component
tml_tm Mashery Local Traffic Manager Component
tml_cache Mashery Local Cache Component
tml_sql Mashery Local SQL Component
tml_log Mashery Local Log Component
tml_nosql Number of Cassandra Component
Example
"tml_image_tag": "v5.2.0.144",
"tml_image_registry_host" : "mashbuilder-1.na.tibco.com",
"tml_image_repo": "tml",
"tml_cm_count": 1,
"tml_tm_count": 1,
"tml_cache_count": 1,
"tml_sql_count": 1,
"tml_log_count": 1,
"tml_nosql_count": 1,

"k8s_storage_type": "gp2",
"k8s_storage_provisioner": "kubernetes.io/no-provisioner",
"k8s_deploy_namespace": "default",
"tml_sql_storage_size": "2Gi",
"tml_log_storage_size": "2Gi",
"tml_nosql_storage_size": "2Gi",
"tml_cache_storage_size": "2Gi",

"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,

"cassandra_max_heap": "512M",
"cassandra_replication_factor": 1