Chapter 6. Adding OpenShift Container Platform as a Container Provider

At this point, you should now be ready to add your OpenShift cluster to Red Hat CloudForms as a container provider. To do so, prepare the token you retrieved in Chapter 4, Retrieving the OpenShift Container Platform Management Token and follow the procedure below:

  1. Navigate to ComputeContainersProviders.
  2. Click 1847 (Configuration), then click 1862 (Add a New Containers Provider).
  3. Enter a Name for the provider.
  4. From the Type list, select OpenShift Container Platform.
  5. Enter the appropriate Zone for the provider. By default, the zone is set to default.
  6. In the Default tab of the Endpoints section, enter the fully qualified domain name of the provider in the Hostname (or IPv4 or IPv6 address) field.
  7. Enter the Port of the provider. The default port is 8443.
  8. In the Token and Confirm Token fields, enter token obtained earlier in Chapter 4, Retrieving the OpenShift Container Platform Management Token.
  9. Click Validate to confirm that the Red Hat CloudForms can connect to the OpenShift Container Platform provider using the provided token.
  10. Next, click the Hawkular tab. From there, enter the HAWKULARHOST (from Section 3.2.1, “Deploying the Metrics Components”) in the Hostname (or IPv4 or IPv6 address) field.
  11. Enter the Port of the HAWKULARHOST. The default port is 443.
  12. Click Add.