Hi, i’m trying to run longhorn on K3S cluster but get the following error when i deploy anything that uses a longhorn PVC (i used the deployment.yaml from the longhorn/examples)
Warning FailedAttachVolume 74s (x9 over 3m23s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-fd0caf73-b1e8-11e9-9ceb-22f1a8780bed" : volumeattachments.storage.k8s.io is forbidden: User "system:node:k3scluster" cannot create resource "volumeattachments" in API group "storage.k8s.io" at the cluster scope: can only get individual resources of this type
Something about permissions not right here? Searched for an answer but could not find any.
I’m just starting with kubernetes and do not know how to fix this.
Thanks in advance