All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 14s
18 lines
639 B
Markdown
18 lines
639 B
Markdown
|
|
# Local Path Provisioner Install
|
|
|
|
1. `mkdir /var/lib/rancher/k3s/storage`
|
|
2. Edit fstab to mount your drive to `/var/lib/rancher/k3s/storage`
|
|
3. `systemctl daemon-reload`
|
|
4. `mount -a`
|
|
|
|
<https://github.com/rancher/local-path-provisioner/tree/master/deploy/chart/local-path-provisioner>
|
|
|
|
```bash
|
|
# Download the updated template from github
|
|
kubectl kustomize "github.com/rancher/local-path-provisioner/deploy?ref=v0.0.31" > active/kubernetes_local-path-provisioner/local-path-storage.yaml
|
|
|
|
# Apply customizations (ssd/hdd storage, read write many support)
|
|
kubectl kustomize active/kubernetes_local-path-provisioner | kubectl apply -f -
|
|
```
|