# Local path storage k3s

**URL:** <https://forums.suse.com/t/local-path-storage-k3s/17811>\
**Category:** General\
**Created:** [June 24, 2020, 12:07pm UTC](https://forums.suse.com/t/local-path-storage-k3s/17811 "2020-06-24T12:07:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antonyab](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Antonyab](https://forums.suse.com/u/Antonyab)\
**Post date:** [June 24, 2020, 12:07pm UTC](https://forums.suse.com/t/local-path-storage-k3s/17811/1 "2020-06-24T12:07:27Z")

</div>

Hello,

I used the following link in order to use persistent volume with local path storage :

> **[rancher/local-path-provisioner](https://github.com/rancher/local-path-provisioner)**
>
> Dynamically provisioning persistent local storage with Kubernetes - rancher/local-path-provisioner

It worked and the local volume persistent storage is created locally on the nodes.

I tried create a new pvc after several days and I detected that the local path storage pod is showing an error that is repeating each 2 seconds :

**E0624 12:05:54.771144 1 leaderelection.go:331] error retrieving resource lock local-path-storage/rancher.io-local-path: endpoints “rancher.io-local-path” is forbidden: User “system:serviceaccount:local-path-storage:local-path-provisioner-service-account” cannot get resource “endpoints” in API group “” in the namespace "local-path-storage"**

If I try to bind the pvc that I created with a pod, the local persistent volume is not created.

Anyone can help me fix this issue ?

Thank you in advance.

Regards,  
Antony
