This repository has been archived by the owner on Dec 8, 2023. It is now read-only.
Auto mount hard drive #823
Unanswered
noranraskin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After playing around a bit with my fresh bare metal install of k3os, I realised the default path for PVs is
/var/lib/rancher/k3s/storage
.I wan't to save all the persistent data on an extra ssd. So I mounted a partition to that directory and changed the owner and group of
storage
torancher
so that pods can actually write to the file system.However, upon a reboot all of these changes were gone. I then tried to mount the ssd and change the group+owner of
storage
in arun_cmd
inside theconfig.yaml
, but haven't had any success.Setting the drive to auto mount in
/etc/fstab
isn't too helpful either as/etc
is ephemeral.I'm just getting into kubernetes and k3os and would love for someone to point me in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions