Install Local Path Provisioner
masterInstall the Local Path Provisioner to enable dynamic provisioning of hostPath or local based persistent volumes. By default, the provisioner is installed in the local-path-storage namespace. In the default setup, the directory /opt/local-path-provisioner is used across all nodes for storing persistent volume data.
Requirements:
- Kubernetes v1.12+
Installation via kubectl (Stable):
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.36/deploy/local-path-storage.yamlInstallation via kustomize (Stable):
kustomize build "github.com/rancher/local-path-provisioner/deploy?ref=v0.0.36" | kubectl apply -f -kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.36/deploy/local-path-storage.yaml