The module lifecycle stage: Generally available version

The module has requirements for installation

Deckhouse Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.

LocalPathProvisioner

Scope: Cluster
Version: v1alpha1

StorageClass for volumes in a directory on the local disks of the cluster nodes.

The module creates a StorageClass with the name of this object.

  • spec
    object
    • spec.nodeGroups
      array of strings

      Node groups whose nodes can hold the volumes of the StorageClass.

      If not set, the StorageClass does not restrict the nodes.

      Examples:

      nodeGroups: master
      
      nodeGroups: worker
      
    • spec.path
      string

      Required value

      Directory on the nodes where the volumes are created.

      An absolute path without quotes, backslashes, whitespace and control characters.

      Pattern: ^/[^"\\\s\p{Cc}]*$

      Example:

      path: /opt/local-path-provisioner
      
    • spec.reclaimPolicy
      string

      What happens to a PersistentVolume and its directory after the PersistentVolumeClaim is deleted.

      • Retain: The PersistentVolume stays Released, and the data stays in the directory.
      • Delete: The module removes the directory with the data and the PersistentVolume.

      A change of the value recreates the StorageClass; existing PersistentVolumes keep the policy they were created with.

      Default: Retain

      Allowed values: Retain, Delete