Local Path Provisioner provides a way for the Kubernetes users to utilize the local storage on each node.
How does it work?
For each custom resource LocalPathProvisioner, a corresponding
StorageClass is created.
The allowed topology for
StorageClass is calculated based on the list of
nodeGroup names from the CR.
The topology is used for scheduling Pods.
When a Pod orders a disk:
HostPathPV is created
Provisionercreates a local disk folder on the desired node along the path consisting of the
pathcustom resource parameter, the PV name and the PVC name.
Example of a path:
- The disk size limit is not supported for the local path provisioned volumes.