Backing OpenShift Container Platform applications with Fusion Data Foundation

Configure OpenShift Container Platform applications to use Fusion Data Foundation.

About this task

You cannot directly install Fusion Data Foundation during the OpenShift Container Platform installation. However, you can install Fusion Data Foundation on an existing OpenShift Container Platform by using the Operator Hub and then configure the OpenShift Container Platform applications to be backed by Fusion Data Foundation.

Before you begin

Ensure the following:
  • OpenShift Container Platform is installed and you have administrative access to OpenShift Web Console.
  • Fusion Data Foundation is installed and running in the openshift-storage namespace.

Procedure

  1. From the OpenShift Web Console, create a new deployment in one of the following ways.
    • Go to Workloads > Deployments.
      From the Deployments page, you can do one of the following:
      • Select any existing deployment and click Action menu > Add Storage.
      • Create a new deployment and then add storage.
        1. Click Create Deployment to create a new deployment.
        2. Edit the YAML based on your requirement to create a deployment.
        3. Click Create.
        4. Select Action menu > Add Storage.
    • Go to Workloads > Deployment Configs.
      From the Deployment Configs page, you can do one of the following:
      • Select any existing deployment and click Action menu > Add Storage.
      • Create a new deployment and then add storage.
        1. Click Create Deployment Config to create a new deployment.
        2. Edit the YAML based on your requirement to create a deployment.
        3. Click Create.
        4. Select Action menu > Add Storage.
  2. In the Add Storage page, you can choose one of the following options:
    • Click the Use existing claim option and select a suitable PVC from the drop-down list.
    • Click the Create new claim option.
      1. Select the appropriate CephFS or RBD storage class from the Storage Class drop-down list.
      2. Provide a name for the Persistent Volume Claim.
      3. Select ReadWriteOnce (RWO) or ReadWriteMany (RWX) access mode.
        Note: ReadOnlyMany (ROX) is deactivated as it is not supported.
      4. Select the size of the desired storage capacity.
        Note: You can expand the block PVs but cannot reduce the storage capacity after the creation of Persistent Volume Claim.
  3. Optional: If required, specify the mount path and subpath for the mount path volume inside the container.
  4. Click Save.

What to do next

  1. Depending on your configuration, perform one of the following:
    • Go to Workloads > Deployments.
    • Click Workloads > Deployment Configs.
  2. Set the Project as required.
  3. Click the deployment for which you added storage to display the deployment details.
  4. From Volumes verify that your deployment has a Type that matches the assigned Persistent Volume Claim.
  5. Click the Persistent Volume Claim name and verify the storage class name in the Persistent Volume Claim Overview page.