When using the Red Hat® OpenShift® Container Platform, the operator for IBM block storage CSI driver can be installed directly from OpenShift web console, through the OperatorHub. Installing the CSI (Container Storage Interface) driver is part of the operator installation
process.
Before you begin
Note: These instructions should only be used for Red Hat OpenShift Container Platform with x86 architecture. If you are using OpenShift Container Platform with IBM Z® or PowerPC®, or if you are not using the OpenShift Container Platform, follow the instructions detailed in Installing the driver using CLIs.
|
About this task
The Red Hat OpenShift Container Platform uses the following
SecurityContextConstraints for the following
serviceAccounts:
|
Note: This data is for informational purposes only.
|
| serviceAccount |
SecurityContextConstraint |
| ibm-block-csi-operator |
restricted |
| ibm-block-csi-controller-sa |
anyuid |
| ibm-block-csi-node-sa |
privileged |
Procedure
- From Red Hat OpenShift Container Platform , click
Create Project. In the Create Project dialog box, fill
in a Project name (also referred to as namespace). Click Create
to save.
- From
. Select the namespace from Projects:
<namespace>, defined in step 1.
- Search for IBM block storage CSI driver.
- Select the Operator for IBM block storage CSI driver and click
Install.
The Operator Subscription form
appears.
- Set the Installation Mode to the project namespace
selected above, in step 2, under A specific namespace on the cluster.
- (Optional): Set the Approval Strategy to
Automatic.
- Click Subscribe.
- From , check the status of the Operator for IBM block storage CSI driver.
Wait until the
Status is
Up to date and then
InstallSucceeded.
|
Note: While waiting for the Status to change from Up to
date to InstallSucceeded, you can check the pod progress and readiness
status from
.
|
- Once the operator installation progress has completed, click on the installed Operator for IBM block storage CSI driver.
- Click Create Instance to create the IBM® block storage CSI driver
(IBMBlockCSI).
A yaml file opens in the web console. This
can be left as-is, or edited as
needed.
- Update the yaml file to include your user-defined namespace
- Click Create.
Wait until the
Status is Running.