Configuring Static and Dynamic Provisioning Using Container Storage Interface (CSI) Storage Plugin
About this task
This page summarizes the high-level steps for configuring the Container Storage Interface (CSI) Storage Plugin after installation to provide static or dynamic provisioning. To learn more about static and dynamic provisioning, see Static and Dynamic Volume Provisioning Using Container Storage Interface (CSI) Storage Plugin.
Static Provisioning
Procedure
-
Create the ticket secret and deploy the secret in the Pod only if the
volume is on a secure cluster.
See Configuring a Secret for more information.
- Configure a PersistentVolume in your Pod spec or as part of a separate configuration file and provide information about the volume.
- Configure a PersistentVolumeClaim in your Pod spec or as part of a separate configuration file.
-
Run the Pod spec using
kubectl
commands.See Overview of kubectl.
Dynamic Provisioning
Procedure
-
Create the REST and ticket secrets and deploy the secrets in the Pod only
if the volume is on a secure cluster.
See Configuring a Secret for more information.
- Create a storage class in your Pod spec or in a separate configuration file.
- Configure a PersistentVolumeClaim in your Pod spec or in a separate configuration file.
-
Run the Pod spec using
kubectl
commands.See Overview of kubectl.