Before You Begin

Before configuring the MapR Container Storage Interface (CSI) Storage Plugin, be sure to review the following notes about supported and unsupported features and parameters. See MapR Container Storage Interface (CSI) Storage Plugin Overview for an overview of the MapR Container Storage Interface (CSI) Storage Plugin.

MapR Parameters for Static and Dynamic Provisioning

In dynamic provisioning, you can specify MapR parameters for the MapR volume to be created. For a list of the MapR parameters that you can use, see volume create. Note these considerations for using the MapR parameters:
  • Volume attributes must be represented as a string (enclosed within quotations). Using an integer or boolean is not supported. In the following example, the aetype attribute will generate an error because the value (1) is not enclosed in quotations.
    namePrefix: "pv"
    mountPrefix: "/pv"
    type: "rw"
    advisoryquota: "100M"
    aetype: 1
  • The following MapR parameters are ignored because they are redundant and the CSI Driver configures these parameters automatically during volume creation:
    • mount
    • quota*
    • createparent
    • path
    • name

*Specifying resources: requests: storage in a PersistentVolumeClaim (PVC) (see Example: Statically Provisioning a MapR Volume Using MapR Container Storage Interface (CSI) Storage Plugin) makes it unnecessary to set the MapR quota parameter.

Kubernetes Access Modes

Kubernetes access modes control how a PersistentVolume (PV) is mounted on the host. Access modes can be specified on both PVs and PVCs. Only Volumes with a matching Access Mode will be bound to a PVC. MapR Container Storage Interface (CSI) Storage Plugin supports ROX (ReadOnlyMany), RWO (ReadWriteOnce) and RWX (ReadWriteMany) access modes for the PV and PVC spec. See Kubernetes CSI documentation for more information.

Reclaim Policy

The Kubernetes reclaimPolicy parameter controls what happens to a PersistentVolume if the corresponding PersistentVolumeClaim is deleted. The Recycle Reclaim Policy is not supported by Kubernetes CSI Drivers, so it cannot be used with MapR Data Fabric for Kubernetes. You can specify the reclaim policy normally when you configure a persistent volume.

The following table shows the supported values for the reclaim policy:
Reclaim Policy Value Description Support
Delete (default value) The PersistentVolume and the MapR volume are deleted when the user deletes the corresponding PersistentVolumeClaim. Supported
Retain The PersistentVolume and the MapR volume are not deleted when the user deletes the corresponding PersistentVolumeClaim. Supported

For more information about the reclaim policy, see Change the Reclaim Policy of a PersistentVolume.

Kubernetes Mount Options

The Kubernetes mountOptions parameter is not supported for use with the MapR Container Storage Interface (CSI) Storage Plugin.