IBM Cloud Docs
Enabling the IBM Cloud File Storage for VPC add-on

Enabling the IBM Cloud File Storage for VPC add-on

Virtual Private Cloud

IBM Cloud File Storage for VPC is persistent, fast, and flexible network-attached, NFS-based File Storage for VPC that you can add to your apps by using Kubernetes persistent volumes (PVs). You can choose between predefined storage tiers with GB sizes and IOPS that meet the requirements of your workloads. To find out if File Storage for VPC is the correct storage option for you, see Choosing a storage solution. For pricing information, see Pricing.

The File Storage for VPC cluster add-on is available in Beta.

Prerequisites

  1. Update the container-service plug-in to the most recent version. You can update the plug-in by running the ibmcloud plugin update container-service command.

  2. Get a list of the add-on versions and decide which version to install for your cluster version.

    ibmcloud oc cluster addon versions --addon vpc-file-csi-driver
    

    Example output

    OK
    Name                  Version         Supported Kubernetes Range   Supported Openshift Range   
    vpc-file-csi-driver   1.0 (default)   >=1.21.0                     >=4.7.0 
    
  3. Enable the add-on. The add-on might take a few minutes to become ready.

    ibmcloud oc cluster addon enable vpc-file-csi-driver --version VERSION --cluster CLUSTERID
    
  4. Verify that the add-on is enabled.

    ibmcloud oc cluster addon ls --cluster <cluster_name_or_ID>
    

    Example output

    Name                   Version   Health State   Health Status   
    vpc-file-csi-driver    1.0.0     normal         Addon Ready