oVirt Container Storage Interface Driver
Describes the oVirt Container Storage Interface Driver (CSI) included with the Oracle Linux Virtualization Manager provider.
The oVirt CSI driver is installed into an Oracle Linux Virtualization Manager cluster by default, and automatically creates the required Kubernetes Secret, ConfigMap, and CsiDriver objects. The oVirt CSI driver lets you create persistent storage for Kubernetes applications using PersistentVolumes, which are backed by Oracle Linux Virtualization Manager storage disks.
To create an application that uses persistent storage, create a StorageClass, and a PersistentVolumeClaim, then set the application to use the PersistentVolumeClaim. When you start the application, a PersistentVolume is created on an Oracle Linux Virtualization Manager storage disk. Ensure you set the following in a StorageClass:
-
provisioner: csi.ovirt.org
-
storageDomainName
: Set this to the name of the Oracle Linux Virtualization Manager storage domain. This is where PersistentVolumes are created. -
thinProvisioning
: Set this to eithertrue
orfalse
. -
fsType
: Set the file system type, for exampleext4
. The driver formats the volume if no file system exists on the disk.
An example that uses this driver is in the Oracle CNE upstream documentation. For more information on creating Kubernetes storage objects, see the Kubernetes upstream documentation.
The default driver configuration is suitable for most deployments, however configuration options are available that can be set in a cluster configuration file. For information on the driver options, see the configuration file options in Oracle Linux Virtualization Manager Provider Options.
For more information on the oVirtCSI driver, see the Oracle CNE upstream documentation.