The operator for IBM block storage CSI driver can be installed directly from GitHub from a command line terminal. Installing the CSI (Container Storage Interface) driver is part of the operator installation
process.
Procedure
Use the following steps to install the operator and driver, using
GitHub
through a command line terminal.
- Download the manifest from GitHub.
curl https://raw.githubusercontent.com/IBM/ibm-block-csi-operator/master/deploy/installer/generated/ibm-block-csi-operator.yaml > ibm-block-csi-operator.yaml
- (Optional): If required, update the image fields in the
ibm-block-csi-operator.yaml.
- Install the operator.
$ kubectl -n kube-system apply -f ibm-block-csi-operator.yaml
- Verify the operator running. (Make sure the Status is Running.)
$ kubectl get pod -l app.kubernetes.io/name=ibm-block-csi-operator -n kube-system
NAME READY STATUS RESTARTS AGE
ibm-block-csi-operator-5bb7996b86-xntss 1/1 Running 0 10m
- Install the IBM block storage CSI driver by creating an IBMBlockCSI custom resource.
- Download the manifest from GitHub.
curl https://raw.githubusercontent.com/IBM/ibm-block-csi-operator/master/deploy/crds/csi.ibm.com_v1_ibmblockcsi_cr.yaml > csi.ibm.com_v1_ibmblockcsi_cr.yaml
- (Optional): If required, update the image repository and/or tag fields in the
csi.ibm.com_v1_ibmblockcsi_cr.yaml.
- Install the csi.ibm.com_v1_ibmblockcsi_cr.yaml.
$ kubectl -n kube-system apply -f csi.ibm.com_v1_ibmblockcsi_cr.yaml