Steps for Configuring the MapR Data Fabric for Kubernetes

This page summarizes the high-level steps for configuring the MapR Data Fabric for Kubernetes to provide static or dynamic provisioning. To learn more about static and dynamic provisioning, see Static and Dynamic Provisioning Using FlexVolume Driver.

Static Provisioning

  1. Install the MapR Data Fabric for Kubernetes.

    See Installing the MapR Data Fabric for Kubernetes FlexVolume Driver.

  2. In your Pod spec or as part of a separate configuration file, configure a PersistentVolume.

    See Example: Mounting a PersistentVolume for Static Provisioning Using the FlexVolume Driver and Persistent Volumes.

  3. Do one of the following:
  4. Run the Pod spec by using kubectl commands. See Overview of kubectl.

Dynamic Provisioning

  1. Install the MapR Data Fabric for Kubernetes.

    See Installing the MapR Data Fabric for Kubernetes FlexVolume Driver.

  2. In your Pod spec or in a separate configuration file, create a storage class.

    See Example: Mounting a PersistentVolume for Dynamic Provisioning Using the FlexVolume Driver and Storage Classes.

  3. In your Pod spec or in a separate configuration file, configure a PersistentVolumeClaim.

    See Example: Mounting a PersistentVolume for Dynamic Provisioning Using the FlexVolume Driver.

  4. Run the Pod spec by using kubectl commands. See Overview of kubectl.