TML config manager and dev portal URL in Kubernetes

TML config manager and dev portal URL in Kubernetes

book

Article ID: KB0075283

calendar_today

Updated On:

Products Versions
TIBCO Cloud API Management - Local Edition 5.3.0 onwards

Description


How to retrieve the Configuration manager, Dev Portal and Traffic manager URL using the Kubernetes setup.
Documentation refers the following URL for Configuration Manager, 
https://<admin-configuration-url>:8443/admin

But incase of Kubernetes the port number is decided internally by their orchestration.

Issue/Introduction

TML config manager and dev portal URL in Kubernetes

Resolution

The URL for Configuration manager, Dev portal is displayed at the end when the mashery local cluster is created  using Kubernetes by running the script create-tml-cluster.sh.

Alternatively, the below commands can be used to retrieve the required information.

1)Config Manager URL
echo "https://"$(kubectl describe node node-1 | grep InternalIP | cut -d ':' -f 2 | sed -e 's/^[ \t]*//')":"$(kubectl describe svc cm-svc-0 | grep NodePort | grep cm-https-port | grep -Eo '[0-9]{4,5}')"/admin"

2)Traffic manager URL
echo "http://"$(kubectl describe node node-1 | grep InternalIP | cut -d ':' -f 2 | sed -e 's/^[ \t]*//')":"$(kubectl describe svc tm-svc | grep -m 1 NodePort | grep -Eo '[0-9]{4,5}')

3)Dev Portal URL
echo "https://"$(kubectl describe node node-1 | grep InternalIP | cut -d ':' -f 2 | sed -e 's/^[ \t]*//')":"$(kubectl describe svc cm-svc-0 | grep NodePort | grep cm-https-port | grep -Eo '[0-9]{4,5}')


where node-1 is the node where all the tml components are installed.

Additional Information

https://docs.tibco.com/pub/mash-local/5.3.1/doc/html/GUID-562B1C96-CF01-4CC1-8A18-B327A7109F02.html