Deploying the MDM machine learning container on OpenShift
Complete this procedure to deploy the InfoSphere® MDM machine learning container on Red Hat® OpenShift® Container Platform.
Before you begin
The following additional YAML files are required for the MDM machine learning deployment:
- configmap.yml
- service.yml
- deploymentconfig.yml
- hpa.yml
Tip: If you do not have these files already, see the topic YAML files and scripts for deploying InfoSphere MDM on OpenShift or Kubernetes to download an archive file containing sample YAML files and
scripts. The machine learning files are in a folder named
com.ibm.mdm.ml.
About this task
Before creating these OpenShift resources, you must update the YAML files to provide details corresponding to your deployment.
Important: When using Machine Learning containers in a production environment, especially if you are using an HPA configuration in Kubernetes or OpenShift, be sure to follow these steps:
- Start a single ML service instance (one Kubernetes pod configuration) first and wait until it is ready. As part of starting up for the first time, the container creates a number of required database tables in Cassandra.
- After the first instance is ready, enable the HPA configuration to start further service instances for high availability and performance load balancing.