Skip to main content

Storage

vcluster Persistent Volume Provisioning
vcluster - Persistent Volume Provisioning

Since the vcluster's syncer synchronizes pods to the underlying host cluster to schedule them, vcluster users can (by default, this can be configured in advanced options) use the storage classes of the underlying host cluster to create persistent volume claims and to mount persistent volumes.

vcluster provides a variety of flags to adjust this behavior, including:

--enable-storage-classes If enabled, the virtual cluster will sync storage classes (make sure rbac.clusterRole.create is true in the options)
--fake-persistent-volumes If enabled, the virtual cluster will create fake persistent volumes instead of copying the actual physical persistent volumes config (default true) (if false make sure rbac.clusterRole.create is true in the options)