Skip to content

Local path provisioner

Local path volume provisioner is a dynamic volume provisionner.

It automatically allocate a persistent volume for every persistent volume claim.

Volumes are stored on the a persistent partition on the talos node.

Installation

Uservolume

You first have to check if the talos node has a uservolume named local-path-provisioner :

talosctl --nodes 192.168.0.2 --endpoints 192.168.0.2 get volumestatus

NODE          NAMESPACE   TYPE           ID                                  VERSION   TYPE        PHASE   LOCATION         SIZE
[...]
192.168.0.2   runtime     VolumeStatus   u-local-path-provisioner            2         partition   ready   /dev/nvme0n1p5   1.0 TB

If not, reinstall talos with patch 02-volumes.yaml (you must reinstall it, just applying the patch won't reformat the node).

Local Path Provisioner

You can install local-path-provisioner using kustomize :

cd cluster/system/local-path-provisioner/

kubectl apply -k .

Source

Local Storage - talos docs