Steps for Configuring the Data Fabric for Kubernetes FlexVolume Driver
This page summarizes the high-level steps for configuring the Data Fabric for Kubernetes FlexVolume Driver to provide static or dynamic provisioning. To learn more about static and dynamic provisioning, see Static and Dynamic Provisioning Using FlexVolume Driver.
Static Provisioning
- Install the Data Fabric for Kubernetes.
See Installing the Data Fabric for Kubernetes FlexVolume Driver.
- 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.
- Do one of the following:
- Annotate the Pod spec to provide information about the Data Fabric volume.
See Example: Statically Provisioning a Data Fabric Volume Using the FlexVolume Plug-in.
- In your Pod spec or as part of a separate configuration file, configure a PersistentVolumeClaim.
- Annotate the Pod spec to provide information about the Data Fabric volume.
- Run the Pod spec by using
kubectl
commands. See Overview of kubectl.
Dynamic Provisioning
- Install the Data Fabric for Kubernetes.
See Installing the Data Fabric for Kubernetes FlexVolume Driver.
- 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.
- 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.
- Run the Pod spec by using
kubectl
commands. See Overview of kubectl.