This message was deleted.
# rke2
a
This message was deleted.
c
This was my really cheap way of looking at what was in use in my little play cluster:
This is the mount points for /run and it looks like containerd wizardry I want to stay away from 😄
Note this is just a little test VM setup from my home not real numbers just getting an idea for hardware considerations. Hence my very tiny /run which if more was needed it would have to page to disc I'm guessing.
s
If you looked at the mountpoint you’d see that /run is tmpfs and /var/run is a symlink to /run
c
Thank you totally missed that
Darn can't edit the original but that puts an X by /var/run/*
s
There’s a lot going on in /var/lib/rancher - this is where your containers live while they run and until they are removed, also where (at least by default) etcd snapshots are stored, rke2 container images if you run an air-gapped install. In my case containers take up 90-98% of the space.
c
ok that's what my quick investigation looked like so def a good candidate to get it some extra space 👍
s
If it’s a VM it’s easy to add more later, but yeah always try to aim for something sensible to begin with 🙂
On a random worker node I see 99% is used by containers. /var/log/pods is ~100-200MB in my case at the moment, obviously depends on what you’re running, how much they log and such.
.. not 99% of available space, but 99% of used space.
👍 1
If you get into PVs with i.e. Longhorn then space mgmt is a whole other level of wtf.
c
I'm leaving that as a headache for another day 😄 for now it's just looking at a decent initial baseline for some baremetal nodes
s
ah baremetal, yeah you’ll want to get it semi right from the start, unless you can easily add space 🙂
c
thankfully for me its like a proof of concept type of deal and I'll pass it off to the real experts 🦜
but wanna make sure I document well and do my due diligence
s
In /var/lib/kubelet I see 1-2GB being used and it appears to be related to PVs which looks odd now that I’m diving into it
Gotta talk to a dev about that 😣
👍 1
128 Views