Creating storage classes
In Virtuozzo Hybrid Infrastructure, storage classes map to compute storage policies defined in the admin panel. Creating a storage class is required for all storage operations in a Kubernetes cluster.
To create a storage class
Сlick + Create on the Kubernetes dashboard and specify a YAML file that defines this object. For example:
apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: mysc provisioner: cinder.csi.openstack.org parameters: type: default
This manifest describes the storage class mysc
with the storage policy default
. The storage policy must exist in the compute cluster and be specified in the storage quotas to the current project.