Creating a Mashery Local Cluster

To create TML cluster in single zone, in the /var/jenkins_home/docker-deploy/gcp/k8s/manifest-single-zone folder, run the following command:
./create-tml-cluster.sh
Sample output:
storageclass "sql-storage-0" created
storageclass "log-storage-0" created
storageclass "nosql-storage-0" created
storageclass "cache-storage-0" created
service "cass-svc-0" created
configmap "nosql-property-map" created
statefulset "cass-set-0" created
 
cass-set-0-0   0/1       Pending   0          0s
 
cass-set-0-0   0/1       ContainerCreating   0          6s
 
 
cass-set-0-0   0/1       Running   0          38s
 
cass-set-0-0   1/1       Running   0          54s
cass-set-0-1   0/1       Pending   0          1s
 
cass-set-0-0   1/1       Running             0          1m
cass-set-0-1   0/1       ContainerCreating   0          7s
 
cass-set-0-0   1/1       Running   0          1m
cass-set-0-1   0/1       Running   0          34s
 
cass-set-0-0   1/1       Running   0          2m
cass-set-0-1   1/1       Running   0          1m
cass-set-0-2   0/1       Pending   0          1s
 
cass-set-0-0   1/1       Running             0          2m
cass-set-0-1   1/1       Running             0          1m
cass-set-0-2   0/1       ContainerCreating   0          7s
 
cass-set-0-0   1/1       Running   0          2m
cass-set-0-1   1/1       Running   0          1m
cass-set-0-2   0/1       Running   0          17s
 
cass-set-0-0   1/1       Running   0          3m
cass-set-0-1   1/1       Running   0          2m
cass-set-0-2   1/1       Running   0          1m
service "cm-svc-0" created
deployment "cm-deploy-0" created
 
cm-deploy-0-65b4dd9977-t66sf   0/2       ContainerCreating   0          0s
 
cm-deploy-0-65b4dd9977-t66sf   1/2       Running   0          54s
 
cm-deploy-0-65b4dd9977-t66sf   2/2       Running   0          1m
service "log-svc-0" created
configmap "log-property-map" created
statefulset "log-set-0" created
 
log-set-0-0                    0/1       Pending   0          1s
log-set-0-1                    0/1       Pending   0          1s
 
log-set-0-0                    0/1       ContainerCreating   0          6s
log-set-0-1                    0/1       ContainerCreating   0          6s
 
log-set-0-0                    1/1       Running             0          39s
log-set-0-1                    0/1       ContainerCreating   0          39s
 
log-set-0-0                    1/1       Running   0          44s
log-set-0-1                    1/1       Running   0          44s
service "mysql-svc-0" created
configmap "sql-property-map" created
statefulset "mysql-set-0" created
 
mysql-set-0-0                  0/1       Pending   0          0s
 
mysql-set-0-0                  0/1       ContainerCreating   0          6s
 
mysql-set-0-0                  0/1       ContainerCreating   0          1m
 
mysql-set-0-0                  1/1       Running   0          1m
service "cache-svc-0" created
configmap "cache-property-map" created
statefulset "cache-set-0" created
 
cache-set-0-0                  0/1       Pending   0          1s
cache-set-0-1                  0/1       Pending   0          1s
cache-set-0-2                  0/1       Pending   0          1s
 
cache-set-0-0                  0/1       ContainerCreating   0          6s
cache-set-0-1                  0/1       ContainerCreating   0          6s
cache-set-0-2                  0/1       ContainerCreating   0          6s
 
cache-set-0-0                  1/1       Running   0          40s
cache-set-0-1                  1/1       Running   0          40s
cache-set-0-2                  1/1       Running   0          40s
service "tm-svc" created
configmap "tm-property-map" created
deployment "tm-deploy-0" created
 
tm-deploy-0-6f6b78f98f-2bxnr   0/1       ContainerCreating   0          1s
tm-deploy-0-6f6b78f98f-lv4lr   0/1       ContainerCreating   0          1s
tm-deploy-0-6f6b78f98f-zz22b   0/1       ContainerCreating   0          1s
 
tm-deploy-0-6f6b78f98f-2bxnr   1/1       Running             0          23s
tm-deploy-0-6f6b78f98f-lv4lr   0/1       ContainerCreating   0          23s
tm-deploy-0-6f6b78f98f-zz22b   0/1       ContainerCreating   0          23s
 
tm-deploy-0-6f6b78f98f-2bxnr   1/1       Running   0          28s
tm-deploy-0-6f6b78f98f-lv4lr   1/1       Running   0          28s
tm-deploy-0-6f6b78f98f-zz22b   1/1       Running   0          28s
To verify the deployment in GCP Kubernetes cluster:
kubectl get pods
Sample ouput:
NAME                           READY     STATUS    RESTARTS   AGE
cache-set-0-0                  1/1       Running   0          5m
cache-set-0-1                  1/1       Running   0          5m
cache-set-0-2                  1/1       Running   0          5m
cass-set-0-0                   1/1       Running   0          11m
cass-set-0-1                   1/1       Running   0          10m
cass-set-0-2                   1/1       Running   0          9m
cm-deploy-0-65b4dd9977-t66sf   2/2       Running   0          8m
log-set-0-0                    1/1       Running   0          7m
log-set-0-1                    1/1       Running   0          7m
mysql-set-0-0                  1/1       Running   0          6m
tm-deploy-0-6f6b78f98f-2bxnr   1/1       Running   0          4m
tm-deploy-0-6f6b78f98f-lv4lr   1/1       Running   0          4m
tm-deploy-0-6f6b78f98f-zz22b   1/1       Running   0          4m