Configuring the OpenShift provider instance

Configure the Red Hat®OpenShift provider instance to provide authentication information and to define templates for provisioning compute hosts in OpenShift.

Procedure

Follow these steps to configure the Red HatOpenShift configuration files, which can be found on the management host on which the HostFactory service runs at:

  • %HF_CONFDIR%\providers\openshiftinst\conf\ on Windows.
  • $HF_CONFDIR\providers/openshiftinst/conf/ on Linux®.

  1. The openshiftinstprov_config.json file is automatically configured with the IBM® Spectrum Symphony cluster is deployed. For more information, see the openshiftprov_config.json reference.
  2. Update the openshiftinstprov_templates.json file to define host templates that specify, among others, the type of pods that must be provisioned and the maximum number of pods. For more information, see the openshiftprov_templates.json reference.

What to do next

  1. Ensure that OpenShift is enabled as the cloud provider for your cluster:
    1. In the hostProviderPlugins.json file, make sure that openshift is enabled in the enabled parameter. See hostProviderPlugins.json reference .
    2. In the hostProviders.json file, make sure that openshiftinst is enabled in the enabled parameter. See hostProviders.json reference.
    3. In the hostRequestors.json file, specify openshiftinst as a provider instance for the symAinst requestor instance in the providers parameter. See hostRequestors.json reference.
  2. Enable and configure the symAinst requestor instance. See Configuring the symAinst requestor instance for dynamic provisioning.