Skip to main content

Storage Classes

By default, this is disabled.

vCluster does not sync storage classes from the host cluster to the virtual cluster. While it's not strictly required when you're syncing PersistentVolume and PersistentVolumeClaim resources, syncing StorageClass resources may be required for informational purposes or ensuring that storage is handled consistently between the host and virtual clusters.

Sync StorageClasses from the host to virtual cluster

sync:
fromHost:
storageClasses:
enabled: true

Config reference

storageClasses required object pro

StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled.

enabled required string|boolean pro

Enabled defines if this option should be enabled.