For Advanced Users

Deploying TML Cluster for macOS

The information in this section is intented for advanced users who do not wish to use the Mashery Installer based deployment

Software Version Number
kubectl v1.10.2 curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.12.9/bin/darwin/amd64/kubectl

chmod +x kubectlmv kubectl

/usr/local/bin

jq brew install jq
For Google Cloud SDK, refer Quickstart for macOS
  • For tar ball,
    sudo tar xvf ~/Downloads/google-cloud-sdk-253.0.0-darwin-x86_64.tar.gz -C /usr/local
  • Configure Google Cloud SDK,
    sudo /usr/local/google-cloud-sdk/install.sh \
    --usage-reporting false \
    --path-update true \
    --command-completion true \
    --quiet
  • Configure gcloud auth
    sudo gcloud auth configure-docker --quiet
  • Activate gcloud service account
    sudo gcloud auth activate-service-account --key-file ~/Documents/PROJECT_SERVICE_KEY.JSON
    Note: "PROJECT_SERVICE_KEY.JSON" is service account key file.
  • Set gcloud project
    sudo gcloud config set project PROJECT_ID
    Note: "PROJECT_ID" is presented in "PROJECT_SERVICE_KEY.JSON".
Buiding and Downlaoding Deployment Package
To build and download the deployment package, refer TIBCO Mashery Local Installer. To extract the tar ball,
tar xvf docker-deploy.tgz

Static IPs

If you already have static IPs and plan to manually assign them to traffic manager service and config manager service, you need to edit the deployment files.

To create TML cluster in multiple zones:
  • In the /var/jenkins_home/docker-deploy/gcp/k8s/manifest-multi-zones folder, edit the following files:
    Old line New line
    tm-svc.yaml #loadBalancerIP: "" loadBalancerIP: "xxx.xxx.xxx.xxx"
    cm-svc-0.yaml #loadBalancerIP: "" loadBalancerIP: "yyy.yyy.yyy.yyy"
    cm-svc-1.yaml #loadBalancerIP: "" loadBalancerIP: "zzz.zzz.zzz.zzz"
Note: To update DNS record to associate host names with above static IPs, refer Configuring Domain Names with Static IP Addresses