You are looking at the documentation of a prior release. To read the documentation of the latest release, please
visit here.
Populate Volume Using KubeStash
This guide will give you an overview of how volume populator process works in KubeStash.
How Volume Populator Process Works?
The following diagram shows how KubeStash populates a Persistent Volume Claim with data sourced from a KubeStash Snapshot.
The Volume Populator process consists of the following steps:
KubeStash operator watches for
PVCs.When the operator finds a
PVCwithspec.dataSourceRefset and refers to a KubeStashSnapshotobject, it creates a volume populatorJobthat mounts a temporaryPVC.Then the populator Job restores the referred
Snapshotinto the temporary PVC.Once the restoration process is complete, the KubeStash operator deletes this populator
Joband temporaryPVC, and binds thePVcontaining the restored data with the desiredPVC.






