Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 3.78 KB

README.driver.md

File metadata and controls

75 lines (49 loc) · 3.78 KB

Static Provisioning

In static provisioning, the backend storage volumes and PVs are created by the administrator. Static provisioning can be used to provision a directory or fileset with existing data.

For static provisioning of existing directories perform the following steps:

  • Generate static pv yaml file using helper script

    tools/generate_pv_yaml.sh --filesystem gpfs0 --size 10 \
    --linkpath /ibm/gpfs0/pvfileset/static-pv --pvname static-pv
    
  • For static provisioning, refer following sample pvc and pod files for sanity test

    driver/examples/static/static_pvc.yaml
    driver/examples/static/static_pod.yaml
    

Dynamic Provisioning

Dynamic provisioning is used to dynamically provision the storage backend volume based on the storageClass.

Storageclass

Storageclass defines what type of backend volume should be created by dynamic provisioning. IBM Storage Scale CSI driver supports creation of directory based (also known as lightweight volumes) and fileset based (independent as well as dependent) volumes. Following parameters are supported by IBM Storage Scale CSI driver storageClass:

  • volBackendFs: Filesystem on which the volume should be created. This is a mandatory parameter.
  • clusterId: Cluster ID on which the volume should be created.
  • volDirBasePath: Base directory path relative to the filesystem mount point under which directory based volumes should be created. If specified, the storageClass is used for directory based (lightweight) volume creation.
  • uid: UID with which the volume should be created. Optional
  • gid: GID with which the volume should be created. Optional
  • filesetType: Type of fileset. Valid values are "independent" or "dependent". Default: independent
  • parentFileset: Specifies the parent fileset under which dependent fileset should be created.
  • inodeLimit: Inode limit for fileset based volumes. If not specified, Inode limit will be calculated using formule volumesize/filesystem block size.

For dynamic provisioning, refer following sample storageClass, pvc and pod files for sanity test

Example:

driver/examples/dynamic/fileset/storageclassfileset.yaml
driver/examples/dynamic/fileset/pvcfileset.yaml
driver/examples/dynamic/fileset/podfileset.yaml

Links

IBM Storage Scale Documentation Welcome Page The IBM Documentation contains all official IBM Storage Scale information and guidance.

IBM Storage Scale FAQ Main starting page for all IBM Storage Scale compatibility information.

IBM Block CSI driver IBM Block CSI driver supporting multiple IBM storage systems.

Installing kubeadm Main Kubernetes site detailing how to install kubeadm and create a cluster.

OpenShift Container Platform 4.x Tested Integrations Red Hat's test matrix for OpenShift 4.x.

IBM Storage Enabler for Containers Welcome Page Flex Volume driver released in late 2018 with a HELM update in early 2019, providing compatibility with IBM Storage Scale for file storage and multiple IBM storage systems for block storage. Future development efforts have shifted to CSI.

IBM Storage Scale Users Group A group of both IBM and non-IBM users, interested in IBM Storage Scale

IBM Storage Scale Users Group Mailing List and Slack Channel Join everyone and let the team know about your experience with the CSI driver