Ensure the OpenShift cluster set up is ready for deployment. Edit the reference deployment file
docker-deploy/onprem/openshift/manifest-single-zone.json
Specify valid value for "tml_cluster_mode". Following are the only two valid values.
tethered : In this mode,
TIBCO Cloud™ API Management - Local Edition gets the configuration data from
API Management - Local Edition cloud (You need to have MOM Key and Secret in this mode).
untethered : In this mode, you configure data through ML config manager UI.
Procedure
Navigate to the
/docker-deploy/onprem/openshift /manifest-single-zone/ folder.
Login the OpenShift server.
oc login <openshiftConsoleUrl> || export KUBECONFIG=<path to kubeconfig>
Create new project.
oc new-project <project name>
For example,
oc new-project ml5-openshift.
Update
k8s_deploy_namespace: <project name> in the
docker-deploy/onprem/openshift/manifest-single-zone.json file.
Ensure a service account is available in the namespace and mapped to the appropriate scc.
Get container registry username and the password.
Create a registry secret to being used by docker to pull images during deployment.