Skip to content

Latest commit

 

History

History

storageclass

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Configuring StorageClass

This example shows how to configure Kubernetes storageclass to provision BSU volumes with various configuration parameters. BSU CSI driver is compatiable with in-tree EBS plugin on StorageClass parameters. For the full list plugin parameters, please refer to Kubernetes documentation of StorageClass Parameter.

Usage

  1. Edit the StorageClass spec in example manifest and update storageclass parameters to desired value. In this example, a io1 BSU volume will be created and formatted to xfs filesystem.

  2. Deploy the example:

kubectl apply -f specs/
  1. Verify the volume is created:
kubectl describe pv
  1. Validate the pod successfully wrote data to the volume:
kubectl exec -it app cat /data/out.txt
  1. Cleanup resources:
kubectl delete -f specs/