Enabling users to connect to external SMB storage volumes

To enable users to connect to remote SMB storage volumes from IBM® Software Hub a cluster administrator must install the SMB CSI Driver for Kubernetes to enable the cluster to communicate with your remote SMB volumes.

Before you begin

This feature requires SMB Version 3.0 or later.
Best practice: You can run the commands in this task exactly as written if you set up environment variables. For instructions, see Setting up installation environment variables.

Ensure that you source the environment variables before you run the commands in this task.

About this task

Who needs to complete this task?
A cluster administrator must complete this task.
When do you need to complete this task?
Complete this task only if you want to enable IBM Software Hub users to connect to storage volumes on an SMB file share server.
Note: The External SMB option is always visible on the New storage volume page. However, if you do not complete this task, users cannot connect to SMB storage volumes from the New storage volume page or through the Volumes API.

Procedure

To enable users to connect to a remote SMB storage volume:

  1. Log in to Red Hat® OpenShift® Container Platform as a user with sufficient permissions to complete the task.
    ${OC_LOGIN}
  2. Install the SMB CSI Driver for Kubernetes (csi-smb-driver) on the cluster. For details, see the readme for the driver.

    The csi-smb-driver is provided by the Kubernetes CSI organization, which provides Kubernetes specific Constainer-Storage-Interface (CSI) components.