https://rancher.com/ logo
Title
a

acoustic-whale-32362

03/23/2023, 12:25 AM
Hello, I don’t have nfs in storage class provisioner list.
h

hundreds-evening-84071

03/23/2023, 12:31 AM
NFS storage class has been deprecated for a while now
a

acoustic-whale-32362

03/23/2023, 12:31 AM
hm thanks. What do you suggest for on prem rke2 cluster?
h

hundreds-evening-84071

03/23/2023, 12:32 AM
a

acoustic-whale-32362

03/23/2023, 12:32 AM
I need storage class to enable rancher monitoring with pv
It looks like grafana needs few mounts and storage class to auto provision persistent data mounts.
h

hundreds-evening-84071

03/23/2023, 12:33 AM
you can also use longhorn - https://longhorn.io/
longhorn should be available in Apps. But, be sure to review requirements on their website for longhorn
a

acoustic-whale-32362

03/23/2023, 12:35 AM
longhorn uses local storage on rke2 worker nodes and replicates data on all nodes in cluster?
OK, thank you very much…I will try nfs-client for now for monitoring
longhorn looks like overkill
for my usecase
h

hundreds-evening-84071

03/23/2023, 12:36 AM
good luck!
a

acoustic-whale-32362

03/23/2023, 12:36 AM
👍 thanks again for quick reply
h

hundreds-evening-84071

03/23/2023, 12:37 AM
you are welcome 👍
a

acoustic-whale-32362

03/23/2023, 1:09 PM
I managed to setup nfs storage class and make monitoring chart use it. Grafana and prometheus. Thanks a lot. But I will probably go for lognhorn with production setups, as nfs is deprecated.
h

hundreds-evening-84071

03/23/2023, 1:10 PM
good to hear; glad it worked 👍
a

acoustic-whale-32362

03/23/2023, 10:50 PM
Hello @hundreds-evening-84071. What do you suggest for logging? I have rancher 2.7 and I see Grafana Loki was replaced with Banzai Cloud Logging Operator?
h

hundreds-evening-84071

03/23/2023, 11:17 PM
that's what I am using... it does the job. I just wanted something that would forward the logs to syslog server and that does it.
maybe this will help you, incase if you have not looked at this already? https://ranchermanager.docs.rancher.com/pages-for-subheaders/logging
a

acoustic-whale-32362

03/23/2023, 11:32 PM
Yes I saw this. I would like to test grafana loki as it looks great to have that integration
Check grafana metrics, and have logs also streaming in for further debugging right from grafana UI