Configuring the IBM Cloud provider instance

Configure the IBM Cloud provider instance to provide account information and to define host templates that map your cluster's resource demands to IBM Cloud hosts.

Procedure

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

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

  1. Update the ibmcloudinstprov_config.json file to provide account information that enables your cluster to connect to IBM Cloud. For more information, see the ibmcloudprov_config.json reference.
  2. Update the ibmcloudinstprov_templates.json file to define host templates that specify, among others, the type of host that must be provisioning and the maximum number of cloud hosts.

    If you use a base OS image, you can configure the template file to provision virtual machines (VMs) or bare metal servers from the cloud. For more information, see the ibmcloudprov_templates.json reference.

What to do next

  1. Ensure that IBM Cloud is enabled as the cloud provider for your cluster:
    1. In the hostProviderPlugins.json file, make sure that IBM Cloud is enabled in the enabled parameter. See hostProviders.json reference .
    2. In the hostProviders.json file, make sure that ibmcloudinst is enabled in the enabled parameter. See hostProviders.json reference.
    3. In the hostRequestors.json file, specify ibmcloudinst 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.