Start the Container Gateway in OpenShift

This topic explains how to deploy the Container Gateway and other components, such as a MySQL database, into an OpenShift environment. For your convenience, a sample script is provided that runs many of the commands needed to deploy the containers into OpenShift. 
gateway
This topic explains how to deploy the Container Gateway and other components, such as a MySQL database, into an OpenShift environment. For your convenience, a sample script is provided that runs many of the commands needed to deploy the containers into OpenShift. 
IMPORTANT:
The MySQL pod deployment should be used for internal testing only. Do not use it in a production environment.
Contents:
Step 1: Configure the Deployment Files
Download each of the deployment files below and configure them for your environment:
  • deploy.sh
  • container-gateway.env
  • container-gateway-secrets.yml
  • container-gateway.yml
To obtain these files, see Sample OpenShift Deployment Files.
(1) Review the sample commands in
deploy.sh
carefully, as there are placeholder values that will not work if they are not changed. In particular, pay attention to the license path and the values for
DOCKER_REGISTRY
CONTAINER_GATEWAY_PUBLIC_HOST
, and 
ACCEPT_LICENSE
. (2) You can view the logs to see the success of the commands in
deploy.sh
.
Step 2: Deploy the Container Gateway
To deploy the Container Gateway using the OpenShift CLI tool (
oc
):
  1. Log in to your OpenShift environment: 
    $ oc login
    <OPENSHIFT_ENVIRONMENT_URL>
  2. Run the
    deploy.sh
    script to create the Container Gateway deployment.
  3. Log in to the OpenShift console to verify that the pod(s) were created correctly. If your pod has been deployed successfully:
    • The pods are shown with the status "Running".
    • The container logs do not show errors.