Creating a Local Edition Cluster

Follow this procedure to create a TIBCO Cloud™ API Management - Local Edition cluster.

Navigate to the /docker-deploy/azure/openshift/manifest-single-zone/ folder and execute the following commands in sequence.
docker cp <tml-installer container id >:/var/jenkins_home/docker-deploy
Note:
  • Cluster deployment requires removing the anyuid security context constraint from the service account if already present.
  • To remove anyuid context run the following:
    oc adm policy remove-scc-from-user anyuid <service_account>
  1. Login into the OpenShift server and run the following command, which will prompt you for a user name and password:
    oc login <openshiftConsoleUrl> 
  2. Create a new project:
    oc new-project <project name>
    For example::
    oc new-project ml5-openshift
  3. Create a registry secret to be used by Docker to pull images during deployment:
    oc create secret docker-registry \
        --docker-server=tmlContainerRegistry.azurecr.io \
        --docker-username=<registry username> \
        --docker-password=<registry password> \
        tmgc-registry-key
  4. Run the following command to create the Local Edition cluster:
    ./create-tml-cluster.sh
  5. Run the following command to verify the deployment in the Azure OpenShift cluster:
    oc get pods

    Example output:

    NAME                           READY     STATUS    RESTARTS   AGE
     
    cache-set-0-0                  1/1       Running   0          21h
     
    cass-set-0-0                   1/1       Running   0          21h
     
    cm-deploy-0-fdc68b486-z6m4k    1/1       Running   0          21h
     
    log-set-0-0                    1/1       Running   0          21h
     
    mysql-set-0-0                  1/1       Running   0          21h
     
    tm-deploy-0-596d986875-lk5sf   1/1       Running   0          21h