I'm attempting to free up space on my devices with...
# k3s
h
I'm attempting to free up space on my devices within my cluster. My plan is to migrate all my container files and local storage requirements into a NFS server within my environment. I am just trying to dry run my ideas here before implementation to see if there is anything that I could run into which could cause my systems to become unresponsive. 1. set my NFS within each device. 2. stop k3s on conductor & nodes. 3. rsync my data into the NFS from each server from /var/lib/rancher/k3s/data 4. update if applicable the k3s.yaml file the new default data root directory. Would there be any "got ya's" from attempting this?
c
No. Don't put /var/lib/rancher on NFS. It will perform poorly. Kine/etcd and contained are designed to run on traditional filesystems like ext3 or xfs, not on a shared network filesystem.
h
Thanks for the info, unfortunately I'm running out of space on my pi's any alternatives to free up some space outside of adding more drives
c
Its your hardware, but I don't think you're going to enjoy the results. I just boot mine off a 1tb nvme drive in a usb3 enclosure. Works great.
h
🤣 Well it was worth a shot. I'll have to reconsider how I'm storing and running my data locally then. Appreacite your help @creamy-pencil-82913
r
Uh, how about using a second storage class ?