Generating Deployment Scripts

From the /var/jenkins_home/docker-deploy/gcp/k8s/ folder, run one of the following commands:

  • For single zone:

    ./compose.sh manifest-single-zone.json

  • For multiple zones:

    ./compose.sh manifest-multiple-zones.json

This generates the following folder, containing deployment scripts and configuration:

  • For single zone:

    /var/jenkins_home/docker-deploy/gcp/k8s/manifest-single-zone

  • For multiple zones:

    /var/jenkins_home/docker-deploy/gcp/k8s/manifest-multiple-zones

Example output for a single zone:

TMG_CLUSTER_NAME: tml-reference-cluster-single-zone
TMG_CLUSTER_MODE: tethered
in "tethered" mode, admin must specify "api_key" and "api_secret" in "tml_sql_properties.json" and "tml_log_properties.json"
K8S_GCP_ZONES us-central1-a
TMG_ZONE_NAME 0: us-central1-a
K8S_GCP_DEFAULT_ZONE us-central1-a
TMG_ZONE_COUNT: 1
TMG_RELEASE_VERSION: 5.3.0