kube/local-path-storage
2022-08-25 11:22:50 +03:00
..
local-path-storage.yaml Initial commit 2022-08-25 11:22:50 +03:00
README.md Initial commit 2022-08-25 11:22:50 +03:00

Local path provisioner

Rancher's local-path-storage storage class enables dynamic provisioning of persistent volumes on Kubernetes worker.

curl https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml -O
kubectl apply -n local-path-storage -f local-path-storage.yaml

Known issues

  • No volume stats exported via kubelet_volume_stats_used_bytes metric
  • No capacity limit imposed. Not possible with ext4 filesystem, with XFS might be possible
  • No easy way to back up the volumes

Possible alternatives: