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 vs. Dynamic Provisioning.

Static Provisioning

  1. Install the MapR Data Fabric for Kubernetes.

    See Installing the MapR Data Fabric for Kubernetes.

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

    See Example: Mounting a PersistentVolume for Static Provisioning 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.

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

    See Example: Mounting a PersistentVolume for Dynamic Provisioning 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.

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