Chapter 6. Managing container storage interface (CSI) component placements
Each cluster consists of a number of dedicated nodes such as infra
and storage
nodes. However, a infra
node will not be able to use OpenShift Container Storage persistent volume claims (PVCs) on the node. So, if you want to use such nodes, you can set tolerations to bring up csi-plugins
on the nodes. For more information, see https://access.redhat.com/solutions/4827161.
Procedure
Create a
configmap
rook-ceph-operator-config
.$ oc create -f rook-ceph-operator-config.yaml configmap/rook-ceph-operator-config created
Display
configmap
.$ oc get configmap rook-ceph-operator-config -n openshift-storage -o yaml
Example output of
configmap
withkey
set tonodetype
andvalue
set toinfra
:apiVersion: v1 data: CSI_PLUGIN_TOLERATIONS: | - effect: NoSchedule key: nodetype operator: Equal value: infra - effect: NoSchedule key: node.ocs.openshift.io/storage operator: Exists kind: ConfigMap metadata: creationTimestamp: "2020-03-23T11:49:27Z" name: rook-ceph-operator-config namespace: openshift-storage resourceVersion: "114879" selfLink: /api/v1/namespaces/openshift-storage/configmaps/rook-ceph-operator-config uid: ac22e63a-8df1-4650-a57f-89bf7a2ce06a
-
Restart the
rook-ceph-operator
.
Verification step
Verify that the csi-cephfsplugin-
* and csi-rbdplugin-
* pods are running on the infra
nodes.