https://rancher.com/ logo
Title
s

stale-painting-80203

11/21/2022, 9:48 PM
Question: I have harvester installed on a server which also creates longhorn persistent storage on that server. If I now create a bunch of VMs for a downstream rancher cluster and the application I deploy on that cluster needs persistent storage. Is there a way to point the cluster to the longhorn storage created by Harvester?
In other words how do I create a default storage class which will use the existing longhorn storage available on Harvester?
g

great-bear-19718

11/22/2022, 1:11 AM
the harvester csi does that..
s

stale-painting-80203

11/22/2022, 1:17 AM
Thanks @great-bear-19718. I will give it try.
If I already have a RKE2 cluster using custom nodes running on Harvester is there anyway to install the CSI driver? I tried installing from app store but it fails on creating a daemon set.
helm install --namespace=kube-system --timeout=10m0s --values=/home/shell/helm/values-harvester-csi-driver-100.0.3-up0.1.14.yaml --version=100.0.3+up0.1.14 --wait=true harvester-csi-driver /home/shell/helm/harvester-csi-driver-100.0.3-up0.1.14.tgz
creating 7 resource(s)
beginning wait for 7 resources with timeout of 10m0s
DaemonSet is not ready: kube-system/harvester-csi-driver. 0 out of 2 expected pods are ready
DaemonSet is not ready: kube-system/harvester-csi-driver. 0 out of 2 expected pods are ready
DaemonSet is not ready: kube-system/harvester-csi-driver. 0 out of 2 expected pods are ready