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 restores backup data into a specific volume and attaching it to user-provided Persistent Volume Claims (PVCs) for usage of various workload applications.
The Volume Populator
process consists of the following steps:
KubeStash operator watches for
PVCs
.When the operator finds a
PVC
withspec.dataSourceRef
set and refers to a KubeStashSnapshot
object, it starts populating thisPVC
by creating a volume populatorJob
that mounts a temporaryPVC
.Then the populator Job restores the referred
Snapshot
into this temporary PVC.Once the restoration process is complete, the KubeStash operator deletes this populator
Job
and temporaryPVC
, and binds thePV
containing the restored data with the desiredPVC
.